summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/pyscard')
-rw-r--r--dev-python/pyscard/Manifest1
-rw-r--r--dev-python/pyscard/pyscard-1.9.5.ebuild34
2 files changed, 35 insertions, 0 deletions
diff --git a/dev-python/pyscard/Manifest b/dev-python/pyscard/Manifest
index 5df6b6b14fe0..6907590ab275 100644
--- a/dev-python/pyscard/Manifest
+++ b/dev-python/pyscard/Manifest
@@ -1 +1,2 @@
DIST pyscard-1.9.2.tar.gz 145287 SHA256 390b5f9393c04a2b3491a65c326fe045d2955a780ca675635ce2c74367d3fbba SHA512 8579dce6f31348581dbe5dfb6ebeceb35dd43ad6a903d02e00c55ab86353ae429501f0486a35b4916c26e6e380e07400dcd43d039ce18cbebe5061238c624e67 WHIRLPOOL 6d3dba315582e275cfccfa136c6475f1944a571f87405258f0bae86506b74b5b63134d6b3b4678a059692768035b31b0d83f8224d0efe8e31c6d1ba715735b42
+DIST pyscard-1.9.5.tar.gz 146010 SHA256 7eef027e1939b7595fc13c03616f262f90d118594fdb6f7620af46b54fa06835 SHA512 a0c5cd4ccbe8437ffd37afcf95c71f7d1d6c3ae364063cf81907095625d2062da8e7335ebfd15d1f952e8a8d9395e990b351b1308ab07fa456a7ee10658db4f9 WHIRLPOOL 265045289deb5facfa582461e395b1ab285f01ad747d6e90f3297ccc29586c5794837599b4212dd1c5ce1f990509f979b203bd4c523ae1062bb836e7cef9968b
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..4d8569d2425b
--- /dev/null
+++ b/dev-python/pyscard/pyscard-1.9.5.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2017 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="http://pyscard.sourceforge.net/ https://pypi.python.org/pypi/pyscard"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~arm"
+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
+}