diff options
Diffstat (limited to 'dev-python/pyscard')
-rw-r--r-- | dev-python/pyscard/Manifest | 3 | ||||
-rw-r--r-- | dev-python/pyscard/metadata.xml | 15 | ||||
-rw-r--r-- | dev-python/pyscard/pyscard-1.9.5.ebuild | 36 |
3 files changed, 54 insertions, 0 deletions
diff --git a/dev-python/pyscard/Manifest b/dev-python/pyscard/Manifest new file mode 100644 index 000000000000..6a57dc1424ee --- /dev/null +++ b/dev-python/pyscard/Manifest @@ -0,0 +1,3 @@ +DIST pyscard-1.9.5.tar.gz 146010 BLAKE2B 04569422bef66839ab1e8420b37741ebb5591732f1b88d75d8348465d3c7758febdc5722ac0329d5722d1609abe2aaa39ce507087fd551d760f9fd0f69b06d50 SHA512 a0c5cd4ccbe8437ffd37afcf95c71f7d1d6c3ae364063cf81907095625d2062da8e7335ebfd15d1f952e8a8d9395e990b351b1308ab07fa456a7ee10658db4f9 +EBUILD pyscard-1.9.5.ebuild 762 BLAKE2B 55b5b019da2feb67ea95d0d9738579295753511fe4da9afce038490c5ae5acb57442d78e88f340114372d2c39482b125a2fb5724eb46812476a9d424f0ad30fc SHA512 ce6a482073c4840426edc0a10a81c28100a80bb343a882809c4928af7f087bc87f294284f0a277b548727c96ec356af4820a0b5fa5b51353a3e12428fc1869d6 +MISC metadata.xml 418 BLAKE2B 7c2e1919ef8f47007374f1f7854380d5258fe75f257be89c7e1ee6303424ef5cb2c8bcd4d6f36cd0218e46b53d9af309276bff6e5fb49eb31e645e3a14c3b719 SHA512 88cd5d13d515f02d3c53e62900afbb7ee5307d2073696f4a53358e7f3cf658dc3fa79465b25477c4dcfc165f8a06021e1ce5dbeaacfd932d8efab922cc2b32c4 diff --git a/dev-python/pyscard/metadata.xml b/dev-python/pyscard/metadata.xml new file mode 100644 index 000000000000..95a5e2fc5f91 --- /dev/null +++ b/dev-python/pyscard/metadata.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>crypto@gentoo.org</email> + <name>Crypto</name> + </maintainer> + <maintainer type="project"> + <email>python@gentoo.org</email> + <name>Python</name> + </maintainer> + <upstream> + <remote-id type="sourceforge">pyscard</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-python/pyscard/pyscard-1.9.5.ebuild b/dev-python/pyscard/pyscard-1.9.5.ebuild new file mode 100644 index 000000000000..38dc29b9b670 --- /dev/null +++ b/dev-python/pyscard/pyscard-1.9.5.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python{2_7,3_{4,5,6}} ) + +inherit distutils-r1 eutils + +DESCRIPTION="Smart cards 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 ~x86" +IUSE="" + +RDEPEND="sys-apps/pcsc-lite" +DEPEND="${RDEPEND} + dev-python/setuptools[${PYTHON_USEDEP}] + dev-lang/swig" + +# Fails +RESTRICT=test + +python_test() { + esetup.py test +} + +pkg_postinst() { + optfeature "Gui support" dev-python/wxpython + optfeature "Support of remote readers with Pyro" dev-python/pyro +} |