Gentoo Archives: gentoo-commits

From: Arthur Zamarin <arthurzam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pyscard/
Date: Sun, 28 Aug 2022 20:15:58
Message-Id: 1661717743.31533f8acafdab2389c635afca070778ed4e0cec.arthurzam@gentoo
1 commit: 31533f8acafdab2389c635afca070778ed4e0cec
2 Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
3 AuthorDate: Sun Aug 28 19:35:36 2022 +0000
4 Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
5 CommitDate: Sun Aug 28 20:15:43 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=31533f8a
7
8 dev-python/pyscard: add 2.0.4
9
10 Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
11
12 dev-python/pyscard/Manifest | 1 +
13 dev-python/pyscard/pyscard-2.0.4.ebuild | 35 +++++++++++++++++++++++++++++++++
14 2 files changed, 36 insertions(+)
15
16 diff --git a/dev-python/pyscard/Manifest b/dev-python/pyscard/Manifest
17 index 91237a3e77b9..421c462fc1a8 100644
18 --- a/dev-python/pyscard/Manifest
19 +++ b/dev-python/pyscard/Manifest
20 @@ -1 +1,2 @@
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
24 diff --git a/dev-python/pyscard/pyscard-2.0.4.ebuild b/dev-python/pyscard/pyscard-2.0.4.ebuild
25 new file mode 100644
26 index 000000000000..d2eab4a194fb
27 --- /dev/null
28 +++ b/dev-python/pyscard/pyscard-2.0.4.ebuild
29 @@ -0,0 +1,35 @@
30 +# Copyright 1999-2022 Gentoo Authors
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=8
34 +
35 +DISTUTILS_USE_PEP517=setuptools
36 +PYTHON_COMPAT=( python3_{8..11} )
37 +
38 +inherit distutils-r1 optfeature
39 +
40 +DESCRIPTION="Smart card 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 ~arm64 ~ppc64 ~riscv ~x86"
49 +
50 +RDEPEND="sys-apps/pcsc-lite"
51 +DEPEND="${RDEPEND}"
52 +BDEPEND="dev-lang/swig"
53 +
54 +distutils_enable_tests unittest
55 +
56 +pkg_postinst() {
57 + optfeature "Gui support" dev-python/wxpython
58 + optfeature "Support of remote readers with Pyro" dev-python/Pyro4
59 +}
60 +
61 +python_test() {
62 + cd test || die
63 + eunittest
64 +}