From 7f39132ab3dd3cb51fa99aabd48800725855dfbb Mon Sep 17 00:00:00 2001 From: Crucible Date: Wed, 21 Oct 2026 03:06:05 -0500 Subject: Publish srcux candidate 0000000769-20261021-030226 --- dev-python/python-pkcs11/Manifest | 4 +- .../python-pkcs11/python-pkcs11-0.10.1.ebuild | 61 ++++++++++++++++++++++ .../python-pkcs11/python-pkcs11-0.9.5.ebuild | 61 ---------------------- 3 files changed, 63 insertions(+), 63 deletions(-) create mode 100644 dev-python/python-pkcs11/python-pkcs11-0.10.1.ebuild delete mode 100644 dev-python/python-pkcs11/python-pkcs11-0.9.5.ebuild (limited to 'dev-python/python-pkcs11') diff --git a/dev-python/python-pkcs11/Manifest b/dev-python/python-pkcs11/Manifest index 1dad23e73363..feb72ee9575f 100644 --- a/dev-python/python-pkcs11/Manifest +++ b/dev-python/python-pkcs11/Manifest @@ -1,4 +1,4 @@ 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 +DIST python_pkcs11-0.10.1.tar.gz 207635 BLAKE2B d71676a964e011ddf7a1dfc2db4e417844765f19e12534e03c6c5974095ef18fc4d8728b43c7cb6b7321ddb9d49679ad051c908f39e30998921267beb842e7f8 SHA512 23f99aa8d463c0998c6dbc9cae43953f7b5d0d8fd554099a475385d478e50f78adbae64c5f5bb49411ca0be1913d7df849da05e5ed42e0c42da09a77dd633076 +DIST python_pkcs11-0.10.1.tar.gz.provenance 9689 BLAKE2B 9f1c39f89f8741f50e509861e8c9346e32fc09430c1ef1a06e2cdcdb2bed18af0e282b0bbb4f327c25e036f487cf258a89aef146b44413518e509d1c13bf54df SHA512 339a9281a3fe9ba9c6eb88b13ec40b9041abdd2fac10bfe41e389b8cab83ba61983251ac3ce1971e5ed6bdb5cf2b5500c5b991da674a3b4fdae696b50e17dc96 diff --git a/dev-python/python-pkcs11/python-pkcs11-0.10.1.ebuild b/dev-python/python-pkcs11/python-pkcs11-0.10.1.ebuild new file mode 100644 index 000000000000..8dc002629cc9 --- /dev/null +++ b/dev-python/python-pkcs11/python-pkcs11-0.10.1.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.5.ebuild b/dev-python/python-pkcs11/python-pkcs11-0.9.5.ebuild deleted file mode 100644 index 8dc002629cc9..000000000000 --- a/dev-python/python-pkcs11/python-pkcs11-0.9.5.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