diff options
Diffstat (limited to 'dev-python/pyscard')
-rw-r--r-- | dev-python/pyscard/Manifest | 2 | ||||
-rw-r--r-- | dev-python/pyscard/pyscard-2.0.3.ebuild | 35 |
2 files changed, 37 insertions, 0 deletions
diff --git a/dev-python/pyscard/Manifest b/dev-python/pyscard/Manifest index a3d85bb5588a..cae76068fa30 100644 --- a/dev-python/pyscard/Manifest +++ b/dev-python/pyscard/Manifest @@ -1,3 +1,5 @@ DIST pyscard-2.0.2.tar.gz 149302 BLAKE2B bb1203aea42a0caca5212780f1312e51a4cf1a2b2842e3e33f25c17e57e3400d44c387620ec4a1dc9ca7a4ef5747900981971c87d1e37b6523a5990362645f5a SHA512 f6ab42a0aa037189f2fefe4001dde7f49125fdf63358352af956e58da9a51744a884ff1f7173b71e035a1a4a20825a906ee5d94f314b760333d1110c898a6644 +DIST pyscard-2.0.3.tar.gz 150092 BLAKE2B af7d58266044792987e6f9a2bc708ca043e32c4f87c8622b5662449254e7d6b630d5769479f3eaf59dc9a3a9fa294330953dea3383aee6c216f3d7dcfd26266a SHA512 2f5c762fe4a7d8d3292f335fda58f8f2f88729ea6d33a508e5f461692fef8d006ccc9b761a78750b8416dc5c1f7c6b06c069e3f6e7b19d91621226590bfef708 EBUILD pyscard-2.0.2.ebuild 710 BLAKE2B 4962e8f42cf403351c450c9a02df985d6bbd4ce7cdea2d86609966d76b9b3be1cb1da114971aeb2b054e5ea85003a354f0ef2dac2cbfd65a243eca09da94f6c0 SHA512 d0aa85b22a359a43b5e28db32a1c688b081197c8d928f4b271df2bab3d60dc2bba83a7461718a1c4c86f99a46ff81df7cbf94ff554705574f8a9018d009bc287 +EBUILD pyscard-2.0.3.ebuild 791 BLAKE2B 8a0bf46effbc1ab843f9a6a15e08efc04f6a595736bfe557ff5425ffd34e807ae0a70e99a2557d09698b5c47a4dfc1b30d521cea75db46551fc62e5ef9c77801 SHA512 06f220825147cdb6bdf8fc0f442c1d9d188b3f0e20a0e1c79c07291558559a1de745a9506931282112a96100ebae774541e08b3f117cccfc0aa53827b15fcc80 MISC metadata.xml 426 BLAKE2B a4819bd37d610cf785d4b0e5ba2a709c941000d5cea8e20c8d49e513e7167b55e8e149da9e318281dce7b4eb92cb61e355054c273e3758262c6c25a0757ffba3 SHA512 82e759791154362704f4d7a1a1c72d53710e405c21bf791d0ec609ddfee4b8c04e3490a3f33f8d0e6e295f3b8433520f328dd71bc91cde2926a89a76803fd63d diff --git a/dev-python/pyscard/pyscard-2.0.3.ebuild b/dev-python/pyscard/pyscard-2.0.3.ebuild new file mode 100644 index 000000000000..2eefa09fd4bc --- /dev/null +++ b/dev-python/pyscard/pyscard-2.0.3.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8..10} ) + +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="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86" + +RDEPEND="sys-apps/pcsc-lite" +DEPEND="${RDEPEND}" +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 +} |