commit:     63a730a4910c7475bb24da8291c1136c00b2505a
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Jun  2 02:27:02 2024 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Jun  2 02:34:58 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=63a730a4

dev-python/pyscard: Bump to 2.0.10

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/pyscard/Manifest              |  1 +
 dev-python/pyscard/pyscard-2.0.10.ebuild | 46 ++++++++++++++++++++++++++++++++
 2 files changed, 47 insertions(+)

diff --git a/dev-python/pyscard/Manifest b/dev-python/pyscard/Manifest
index dd6b7a14c591..e3bb896ef89f 100644
--- a/dev-python/pyscard/Manifest
+++ b/dev-python/pyscard/Manifest
@@ -1 +1,2 @@
+DIST pyscard-2.0.10.tar.gz 153351 BLAKE2B 
fb600032321ac0bd372c7aa8fcdd82273af9edcfb51eb5d455296a2a685a291e442209d5c59d60b81cdd8cb3b0699f733e41528fe06ed827558146ba4085c97d
 SHA512 
231d5abc0ad31ae7f0e394f928045346323f1040b313394a3d235282feb79bfec0d124ebde84017178dfa1983beadfb245a33bfa6a75b4fab9e65c3090b9e9cb
 DIST pyscard-2.0.9.tar.gz 153513 BLAKE2B 
00a7676cb0d987b7a6cd0c2cdf061e4e4405c78a0289d0c46abe95461b19d61a964792f69fe2a2f268653d332e8c21f17d03a8f3b05456df8475b0c51370830c
 SHA512 
0503c29dfd288237eb17fae2a6387cdfce5e34a3aa6cdbdf58aef04ad91ab232d14d78b999fd1d4b7d7c8ad6282fa0d7983a65030f896f1e8098597f182b10cc

diff --git a/dev-python/pyscard/pyscard-2.0.10.ebuild 
b/dev-python/pyscard/pyscard-2.0.10.ebuild
new file mode 100644
index 000000000000..b141ab35e303
--- /dev/null
+++ b/dev-python/pyscard/pyscard-2.0.10.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_EXT=1
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..12} )
+
+inherit distutils-r1 optfeature
+
+DESCRIPTION="Smart card support in python"
+HOMEPAGE="
+       https://pyscard.sourceforge.io/
+       https://github.com/LudovicRousseau/pyscard/
+       https://pypi.org/project/pyscard/
+"
+SRC_URI="
+       
https://downloads.sourceforge.net/project/pyscard/pyscard/pyscard%20${PV}/${P}.tar.gz
+"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
+
+DEPEND="
+       sys-apps/pcsc-lite
+"
+RDEPEND="
+       ${DEPEND}
+"
+BDEPEND="
+       dev-lang/swig
+"
+
+distutils_enable_tests unittest
+
+pkg_postinst() {
+       optfeature "Gui support" dev-python/wxpython
+       optfeature "Support of remote readers with Pyro" dev-python/Pyro4
+}
+
+python_test() {
+       cd test || die
+       eunittest
+}

Reply via email to