summaryrefslogtreecommitdiff
path: root/dev-python/pyscard
diff options
context:
space:
mode:
authorroot <root@alpha.trunkmasters.com>2026-06-04 05:48:38 -0500
committerroot <root@alpha.trunkmasters.com>2026-06-04 05:48:38 -0500
commitbfd9c39e4712ebdb442d4ca0673061faed1e70e1 (patch)
tree0d7a74b4463ee387f9cf9368ceb1b757f694f72a /dev-python/pyscard
parentf716a9fe6455d39eef01e718aae68dae61c19704 (diff)
downloadbaldeagleos-repo-bfd9c39e4712ebdb442d4ca0673061faed1e70e1.tar.gz
baldeagleos-repo-bfd9c39e4712ebdb442d4ca0673061faed1e70e1.tar.xz
baldeagleos-repo-bfd9c39e4712ebdb442d4ca0673061faed1e70e1.zip
Revert "Adding metadata"
This reverts commit f716a9fe6455d39eef01e718aae68dae61c19704.
Diffstat (limited to 'dev-python/pyscard')
-rw-r--r--dev-python/pyscard/Manifest2
-rw-r--r--dev-python/pyscard/metadata.xml13
-rw-r--r--dev-python/pyscard/pyscard-2.3.1.ebuild45
3 files changed, 60 insertions, 0 deletions
diff --git a/dev-python/pyscard/Manifest b/dev-python/pyscard/Manifest
new file mode 100644
index 000000000000..7182eaa6ddbc
--- /dev/null
+++ b/dev-python/pyscard/Manifest
@@ -0,0 +1,2 @@
+DIST pyscard-2.3.1.tar.gz 160650 BLAKE2B dd367b4d459eb413a6ef6c22440f07e191548a4b9f2c7d60a5fa1dfedc76f6f86b5b7937f4a1b733e748d3e9312997eeb8fc56fca589993992a299b44a74959f SHA512 8871e676ecd7fb1c5bbdc95d7fe6a431c977e4753c2ca7512f39ff38f4a92f0b88c1e990f1b36848c0005b20097c2dd7a823bb418c7c8fea0e368e24316e95e6
+DIST pyscard-2.3.1.tar.gz.asc 833 BLAKE2B e34c450afb2e11be8dc413ad5a0644147066152f70bfaef616c6631c2c55c718b944f8635e89628ba6ea3e8e79e86db8d5a76c6ef9f53cdcf94cad34f84ecb73 SHA512 d9367c2519d43df7cd27a577040bb8ae6c238a3ebd8af2ced24b56bfd9adba98f7fd712278bc678063c6626779a9d0de825129aa7fb6eb134fb83044340ba9ad
diff --git a/dev-python/pyscard/metadata.xml b/dev-python/pyscard/metadata.xml
new file mode 100644
index 000000000000..3c9d1a39326e
--- /dev/null
+++ b/dev-python/pyscard/metadata.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>python@gentoo.org</email>
+ <name>Python</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="sourceforge">pyscard</remote-id>
+ <remote-id type="pypi">pyscard</remote-id>
+ <remote-id type="github">LudovicRousseau/pyscard</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-python/pyscard/pyscard-2.3.1.ebuild b/dev-python/pyscard/pyscard-2.3.1.ebuild
new file mode 100644
index 000000000000..3ce13df10e7c
--- /dev/null
+++ b/dev-python/pyscard/pyscard-2.3.1.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2026 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_{13..14} )
+VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/ludovicrousseau.asc
+
+inherit distutils-r1 optfeature verify-sig
+
+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
+ verify-sig? ( https://downloads.sourceforge.net/project/pyscard/pyscard/pyscard%20${PV}/${P}.tar.gz.asc )
+"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="amd64 arm arm64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc x86"
+
+DEPEND="
+ sys-apps/pcsc-lite
+"
+RDEPEND="
+ ${DEPEND}
+"
+BDEPEND="
+ dev-lang/swig
+ verify-sig? ( sec-keys/openpgp-keys-ludovicrousseau )
+"
+
+EPYTEST_PLUGINS=()
+distutils_enable_tests pytest
+
+pkg_postinst() {
+ optfeature "Gui support" dev-python/wxpython
+ optfeature "Support of remote readers with Pyro" dev-python/Pyro4
+}