Gentoo Archives: gentoo-commits

From: Alon Bar-Lev <alonbl@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pyscard/
Date: Sun, 30 Dec 2018 17:33:06
Message-Id: 1546191153.5146ffa4f45a202a5551fa987bd57ba7770c959d.alonbl@gentoo
1 commit: 5146ffa4f45a202a5551fa987bd57ba7770c959d
2 Author: Alon Bar-Lev <alonbl <AT> gentoo <DOT> org>
3 AuthorDate: Sun Dec 30 17:32:15 2018 +0000
4 Commit: Alon Bar-Lev <alonbl <AT> gentoo <DOT> org>
5 CommitDate: Sun Dec 30 17:32:33 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5146ffa4
7
8 dev-python/pyscard: version bump
9
10 Closes: https://bugs.gentoo.org/show_bug.cgi?id=674054
11 Signed-off-by: Alon Bar-Lev <alonbl <AT> gentoo.org>
12 Package-Manager: Portage-2.3.51, Repoman-2.3.11
13
14 dev-python/pyscard/Manifest | 1 +
15 dev-python/pyscard/pyscard-1.9.7.ebuild | 34 +++++++++++++++++++++++++++++++++
16 2 files changed, 35 insertions(+)
17
18 diff --git a/dev-python/pyscard/Manifest b/dev-python/pyscard/Manifest
19 index cb40b4c442f..c26a5252ac0 100644
20 --- a/dev-python/pyscard/Manifest
21 +++ b/dev-python/pyscard/Manifest
22 @@ -1 +1,2 @@
23 DIST pyscard-1.9.5.tar.gz 146010 BLAKE2B 04569422bef66839ab1e8420b37741ebb5591732f1b88d75d8348465d3c7758febdc5722ac0329d5722d1609abe2aaa39ce507087fd551d760f9fd0f69b06d50 SHA512 a0c5cd4ccbe8437ffd37afcf95c71f7d1d6c3ae364063cf81907095625d2062da8e7335ebfd15d1f952e8a8d9395e990b351b1308ab07fa456a7ee10658db4f9
24 +DIST pyscard-1.9.7.tar.gz 144692 BLAKE2B 5a842b790e01ff5461c462d6fe2d7763a79725cd1bcb841c1aaa49f2b17decb251446adb908fa8b525b91f418a6df6a76ddf779a67b7e8547211993837aed2bd SHA512 339d6efd5fcaa361e30029e736d4e2e98e05acd701c39574b40960b4bcec4782ca9c1d6927cea0b3641c5e6a137d0b9fbd961b58422a4151cfbdfa067dcd4b4a
25
26 diff --git a/dev-python/pyscard/pyscard-1.9.7.ebuild b/dev-python/pyscard/pyscard-1.9.7.ebuild
27 new file mode 100644
28 index 00000000000..f0560bcd991
29 --- /dev/null
30 +++ b/dev-python/pyscard/pyscard-1.9.7.ebuild
31 @@ -0,0 +1,34 @@
32 +# Copyright 1999-2018 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=7
36 +
37 +PYTHON_COMPAT=( python{2_7,3_{4,5,6}} )
38 +
39 +inherit distutils-r1 eutils
40 +
41 +DESCRIPTION="Smart cards support in python"
42 +HOMEPAGE="https://pyscard.sourceforge.io/
43 + https://github.com/LudovicRousseau/pyscard
44 + https://pypi.org/project/pyscard/"
45 +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
46 +
47 +LICENSE="LGPL-2.1"
48 +SLOT="0"
49 +KEYWORDS="~amd64 ~arm ~x86"
50 +
51 +RDEPEND="${PYTHON_DEP}
52 + sys-apps/pcsc-lite"
53 +DEPEND="${RDEPEND}
54 + dev-python/setuptools[${PYTHON_USEDEP}]"
55 +BDEPEND="${PYTHON_DEP}
56 + dev-lang/swig"
57 +
58 +python_test() {
59 + esetup.py test
60 +}
61 +
62 +pkg_postinst() {
63 + optfeature "Gui support" dev-python/wxpython
64 + optfeature "Support of remote readers with Pyro" dev-python/pyro
65 +}