Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pyscard/
Date: Wed, 28 Sep 2022 18:34:30
Message-Id: 1664389974.00350a4248ff99500e97f59887d5f3fa84530503.mgorny@gentoo
1 commit: 00350a4248ff99500e97f59887d5f3fa84530503
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Wed Sep 28 18:00:53 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Wed Sep 28 18:32:54 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=00350a42
7
8 dev-python/pyscard: Bump to 2.0.5
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/pyscard/Manifest | 1 +
13 dev-python/pyscard/pyscard-2.0.5.ebuild | 43 +++++++++++++++++++++++++++++++++
14 2 files changed, 44 insertions(+)
15
16 diff --git a/dev-python/pyscard/Manifest b/dev-python/pyscard/Manifest
17 index 421c462fc1a8..df04f304425b 100644
18 --- a/dev-python/pyscard/Manifest
19 +++ b/dev-python/pyscard/Manifest
20 @@ -1,2 +1,3 @@
21 DIST pyscard-2.0.3.tar.gz 150092 BLAKE2B af7d58266044792987e6f9a2bc708ca043e32c4f87c8622b5662449254e7d6b630d5769479f3eaf59dc9a3a9fa294330953dea3383aee6c216f3d7dcfd26266a SHA512 2f5c762fe4a7d8d3292f335fda58f8f2f88729ea6d33a508e5f461692fef8d006ccc9b761a78750b8416dc5c1f7c6b06c069e3f6e7b19d91621226590bfef708
22 DIST pyscard-2.0.4.tar.gz 150740 BLAKE2B 07849c265bfc764dd227bf041add7d24045f8f6669b596307d8a8644c847ee04a868b7df8e69139dc4d65f10b0406ef0083b833ed9e9dca5f11cb5d662d30801 SHA512 6eaae051f22079a73546c78f749dbeedaeee5f776e3f1718cf5ced3ed276d061e2210e2882f74bcaf75de9048fa8f512606a1b4ea0c0d4ecd0a5d6aeac482bc8
23 +DIST pyscard-2.0.5.tar.gz 150803 BLAKE2B c7d5ab17c3471b050a321c687e5faf33b5faad5a1afc60462b759280cff31bc55d86decdcb16dda9a4afe47848bc06f303c9697941dc212f01b28db6a8469a5e SHA512 bb2ef725e7dccefa640fe1568d1fee016bc5c639769d1b0d099067108e1369b8f7ccd3e48f985d657c5c7c33730eae891624f2c0ee2deaed491826b8c0eae2a5
24
25 diff --git a/dev-python/pyscard/pyscard-2.0.5.ebuild b/dev-python/pyscard/pyscard-2.0.5.ebuild
26 new file mode 100644
27 index 000000000000..acbc37af89b9
28 --- /dev/null
29 +++ b/dev-python/pyscard/pyscard-2.0.5.ebuild
30 @@ -0,0 +1,43 @@
31 +# Copyright 1999-2022 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=8
35 +
36 +DISTUTILS_USE_PEP517=setuptools
37 +PYTHON_COMPAT=( python3_{8..11} )
38 +
39 +inherit distutils-r1 optfeature
40 +
41 +DESCRIPTION="Smart card support in python"
42 +HOMEPAGE="
43 + https://pyscard.sourceforge.io/
44 + https://github.com/LudovicRousseau/pyscard/
45 + https://pypi.org/project/pyscard/
46 +"
47 +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
48 +
49 +LICENSE="LGPL-2.1"
50 +SLOT="0"
51 +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
52 +
53 +DEPEND="
54 + sys-apps/pcsc-lite
55 +"
56 +RDEPEND="
57 + ${DEPEND}
58 +"
59 +BDEPEND="
60 + dev-lang/swig
61 +"
62 +
63 +distutils_enable_tests unittest
64 +
65 +pkg_postinst() {
66 + optfeature "Gui support" dev-python/wxpython
67 + optfeature "Support of remote readers with Pyro" dev-python/Pyro4
68 +}
69 +
70 +python_test() {
71 + cd test || die
72 + eunittest
73 +}