1 |
commit: 624c6ea066f2002e92fcf3097274c71458d6f54d |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Dec 31 06:06:31 2020 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Dec 31 06:07:47 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=624c6ea0 |
7 |
|
8 |
dev-python/pyscard: bump to 2.0.0 |
9 |
|
10 |
Package-Manager: Portage-3.0.9, Repoman-3.0.2 |
11 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
12 |
|
13 |
dev-python/pyscard/Manifest | 1 + |
14 |
dev-python/pyscard/pyscard-2.0.0.ebuild | 31 +++++++++++++++++++++++++++++++ |
15 |
2 files changed, 32 insertions(+) |
16 |
|
17 |
diff --git a/dev-python/pyscard/Manifest b/dev-python/pyscard/Manifest |
18 |
index 979f7beaf58..24c2447ca82 100644 |
19 |
--- a/dev-python/pyscard/Manifest |
20 |
+++ b/dev-python/pyscard/Manifest |
21 |
@@ -1 +1,2 @@ |
22 |
DIST pyscard-1.9.9.tar.gz 145428 BLAKE2B c62d9c2f13d9f19df1b7399509efc9df2baf2da00a9dc0bd9a0b440dcef232beeb0f7da88b12e3fb8ecffeb28f268eaaa04c9d45dc3420a1071835afe7a36c95 SHA512 88c7314c10153f509eb9bf6318e62210c7182e51b531af752a402bf8d05cfa2658cc1a4e7b9385a474038ddfa5a1bfbf1f208fcd9abe02a60161ce7c757c67b2 |
23 |
+DIST pyscard-2.0.0.tar.gz 148326 BLAKE2B ea9e3fbe404dedd7e7290743da4dfe51196beaa7db7ce69ad47316c70afe044cbf3e32666d32786e0d68f225cc6d552b7bb5c79fc62132c6fbee502868d3a205 SHA512 cf2cda96cdbc8f1abc20f969355a9c07698c7c13d826482170f7114962cc683b3c9b8a39aa19b76b6ae1e6c6e8875407bb9fa04908a0b22c96d0b3cbd234fe0b |
24 |
|
25 |
diff --git a/dev-python/pyscard/pyscard-2.0.0.ebuild b/dev-python/pyscard/pyscard-2.0.0.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..2c0b3a74b91 |
28 |
--- /dev/null |
29 |
+++ b/dev-python/pyscard/pyscard-2.0.0.ebuild |
30 |
@@ -0,0 +1,31 @@ |
31 |
+# Copyright 1999-2020 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=7 |
35 |
+ |
36 |
+PYTHON_COMPAT=( python3_{6..9} ) |
37 |
+ |
38 |
+inherit distutils-r1 optfeature |
39 |
+ |
40 |
+DESCRIPTION="Smart cards support in python" |
41 |
+HOMEPAGE="https://pyscard.sourceforge.io/ |
42 |
+ https://github.com/LudovicRousseau/pyscard |
43 |
+ https://pypi.org/project/pyscard/" |
44 |
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" |
45 |
+ |
46 |
+LICENSE="LGPL-2.1" |
47 |
+SLOT="0" |
48 |
+KEYWORDS="~amd64 ~arm ~x86" |
49 |
+ |
50 |
+RDEPEND="sys-apps/pcsc-lite" |
51 |
+DEPEND="${RDEPEND}" |
52 |
+BDEPEND="dev-lang/swig" |
53 |
+ |
54 |
+python_test() { |
55 |
+ esetup.py test |
56 |
+} |
57 |
+ |
58 |
+pkg_postinst() { |
59 |
+ optfeature "Gui support" dev-python/wxpython |
60 |
+ optfeature "Support of remote readers with Pyro" dev-python/pyro |
61 |
+} |