From 23850c0a8390d403a1fe131e47265df579818dd5 Mon Sep 17 00:00:00 2001 From: root Date: Tue, 8 Sep 2026 03:04:52 -0500 Subject: Adding metadata --- dev-python/python-pkcs11/Manifest | 4 +- .../python-pkcs11/python-pkcs11-0.10.0.ebuild | 61 ++++++++++++++++++++++ .../python-pkcs11/python-pkcs11-0.9.4.ebuild | 61 ---------------------- 3 files changed, 63 insertions(+), 63 deletions(-) create mode 100644 dev-python/python-pkcs11/python-pkcs11-0.10.0.ebuild delete mode 100644 dev-python/python-pkcs11/python-pkcs11-0.9.4.ebuild (limited to 'dev-python/python-pkcs11') diff --git a/dev-python/python-pkcs11/Manifest b/dev-python/python-pkcs11/Manifest index cb048868916a..1dad23e73363 100644 --- a/dev-python/python-pkcs11/Manifest +++ b/dev-python/python-pkcs11/Manifest @@ -1,4 +1,4 @@ -DIST python_pkcs11-0.9.4.tar.gz 180658 BLAKE2B 1621c8453313ae652660277dcb027e84a96b48788c33cdb964e2e0e3120d52146638ad729137f7e782db0cfc491ede786002d23286fd57e882ca65a6e0b40419 SHA512 f902107d4f3935f279b44c39d1dc261834e614a3573111898ff6f97f93f34d9aa1a66522b722188e5343072ee830b34795b7a7541205a09d1ab48c018b705640 -DIST python_pkcs11-0.9.4.tar.gz.provenance 9559 BLAKE2B d3b1d9a3cfade54d6dfd53d51b190447b090131035d952a92f59f951a2209e69981a910485b150ebf8c70319d1bb229fb9ae2594501118280339ac66255aa2d1 SHA512 1e13ef9fc9486c51888519435194761208fdbbfe2cefdec2fa1da49c9acfc2022079300c777efdddb3937a8734bb9334ae7a9331f4f23de07b4e7f3d40fefec9 +DIST python_pkcs11-0.10.0.tar.gz 207600 BLAKE2B e2011a9acb95b0db9e13e3e4493a4fa0591f04784763316ed54502305b5834122fb28ccac893781b2485ca474dade56ca2045b239746114fb24c2204f9ae10fd SHA512 3e60a087696ba6f2c09c4ffaf647421d0fc32cb5de2fce926a1788c9f91fa89867fad352ac00c4975c9fe06e3be557777b0224ebecd631eeea8c778a9bc7db6e +DIST python_pkcs11-0.10.0.tar.gz.provenance 9613 BLAKE2B d3a329b6a51a1fb502086830e34763c76a65a37fd6f2ffccb9ec6dbdfef1e03e445880d1fec504487e1ae0cddab353acad03c1602a64abb9b8b4aadc3214fe9c SHA512 7992d02968333a52cfb92a7c2a3ef7d21ddd4def15235287068d52d9f55d615cfd631d48c4af08a8383cb98aa47ebecfee77e8d0c8f96ffa72968af685dc1beb DIST python_pkcs11-0.9.5.tar.gz 194453 BLAKE2B 6f66073c81530e04254a70625a03070c483f222824fdea3dbfb5e8fc9799b3d475e67be5dde83f596d7ca0e658313b148bf3768111dbd8eee87e0549605b2ae1 SHA512 be9dc6b274cff71c2e2290768181c2cb91de7089ed27619144914ea44067f6746c1094b755b7a719f260a1e4c5f799c1844ebb3f5912c1fbcba77efa73f6eb73 DIST python_pkcs11-0.9.5.tar.gz.provenance 9689 BLAKE2B 9945987fa757769bd75036420a4add670be7b0b9ac5f826338de5726a425e385b493a898ba58890310a34dbc052d1ba595da89d6416cc8dcb2161c595ba1733f SHA512 f37d60b1e6f2f51a3c5e34598ed3738aa6cea5da380719ddcc314422fb5a7ef7ce33c670e5edee19f987684767a02b61ac05e9d0b33871aad023be868f90640a diff --git a/dev-python/python-pkcs11/python-pkcs11-0.10.0.ebuild b/dev-python/python-pkcs11/python-pkcs11-0.10.0.ebuild new file mode 100644 index 000000000000..8dc002629cc9 --- /dev/null +++ b/dev-python/python-pkcs11/python-pkcs11-0.10.0.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +DISTUTILS_EXT=1 +PYPI_VERIFY_REPO=https://github.com/pyauth/python-pkcs11 +PYTHON_COMPAT=( python3_{13..14} ) + +inherit distutils-r1 edo pypi + +DESCRIPTION="PKCS#11/Cryptoki support for Python" +HOMEPAGE=" + https://github.com/pyauth/python-pkcs11/ + https://pypi.org/project/python-pkcs11/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + dev-python/asn1crypto[${PYTHON_USEDEP}] +" +DEPEND="${RDEPEND}" +BDEPEND=" + dev-python/cython[${PYTHON_USEDEP}] + dev-python/setuptools-scm[${PYTHON_USEDEP}] + test? ( + dev-libs/openssl + dev-libs/softhsm + dev-python/cryptography[${PYTHON_USEDEP}] + dev-python/parameterized[${PYTHON_USEDEP}] + ) +" + +EPYTEST_PLUGINS=() +distutils_enable_tests pytest +distutils_enable_sphinx docs dev-python/sphinx-rtd-theme + +src_test() { + local -x PKCS11_MODULE="${BROOT}/usr/$(get_libdir)/softhsm/libsofthsm2.so" + local -x PKCS11_TOKEN_LABEL="TEST" + local -x PKCS11_TOKEN_PIN="1234" + local -x PKCS11_TOKEN_SO_PIN="5678" + + mkdir -p "${HOME}/.config/softhsm2" || die + cat > "${HOME}/.config/softhsm2/softhsm2.conf" <<- EOF || die "Failed to create config" + directories.tokendir = ${T} + objectstore.backend = file + EOF + + edo softhsm2-util --init-token --free \ + --label ${PKCS11_TOKEN_LABEL} \ + --pin ${PKCS11_TOKEN_PIN} \ + --so-pin ${PKCS11_TOKEN_SO_PIN} + + rm -r pkcs11 || die + distutils-r1_src_test +} diff --git a/dev-python/python-pkcs11/python-pkcs11-0.9.4.ebuild b/dev-python/python-pkcs11/python-pkcs11-0.9.4.ebuild deleted file mode 100644 index 8dc002629cc9..000000000000 --- a/dev-python/python-pkcs11/python-pkcs11-0.9.4.ebuild +++ /dev/null @@ -1,61 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -DISTUTILS_EXT=1 -PYPI_VERIFY_REPO=https://github.com/pyauth/python-pkcs11 -PYTHON_COMPAT=( python3_{13..14} ) - -inherit distutils-r1 edo pypi - -DESCRIPTION="PKCS#11/Cryptoki support for Python" -HOMEPAGE=" - https://github.com/pyauth/python-pkcs11/ - https://pypi.org/project/python-pkcs11/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64" - -RDEPEND=" - dev-python/asn1crypto[${PYTHON_USEDEP}] -" -DEPEND="${RDEPEND}" -BDEPEND=" - dev-python/cython[${PYTHON_USEDEP}] - dev-python/setuptools-scm[${PYTHON_USEDEP}] - test? ( - dev-libs/openssl - dev-libs/softhsm - dev-python/cryptography[${PYTHON_USEDEP}] - dev-python/parameterized[${PYTHON_USEDEP}] - ) -" - -EPYTEST_PLUGINS=() -distutils_enable_tests pytest -distutils_enable_sphinx docs dev-python/sphinx-rtd-theme - -src_test() { - local -x PKCS11_MODULE="${BROOT}/usr/$(get_libdir)/softhsm/libsofthsm2.so" - local -x PKCS11_TOKEN_LABEL="TEST" - local -x PKCS11_TOKEN_PIN="1234" - local -x PKCS11_TOKEN_SO_PIN="5678" - - mkdir -p "${HOME}/.config/softhsm2" || die - cat > "${HOME}/.config/softhsm2/softhsm2.conf" <<- EOF || die "Failed to create config" - directories.tokendir = ${T} - objectstore.backend = file - EOF - - edo softhsm2-util --init-token --free \ - --label ${PKCS11_TOKEN_LABEL} \ - --pin ${PKCS11_TOKEN_PIN} \ - --so-pin ${PKCS11_TOKEN_SO_PIN} - - rm -r pkcs11 || die - distutils-r1_src_test -} -- cgit v1.3