summaryrefslogtreecommitdiff
path: root/dev-python
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/securesystemslib/Manifest1
-rw-r--r--dev-python/securesystemslib/securesystemslib-1.3.0.ebuild41
2 files changed, 42 insertions, 0 deletions
diff --git a/dev-python/securesystemslib/Manifest b/dev-python/securesystemslib/Manifest
index e14eeba6826c..b508ab029f05 100644
--- a/dev-python/securesystemslib/Manifest
+++ b/dev-python/securesystemslib/Manifest
@@ -1 +1,2 @@
DIST securesystemslib-1.2.0.tar.gz 934472 BLAKE2B 573a8a422cb0b54f20caf35716c83051e70658e233a1334c983555aa26a9239ef86817fd80964bdd23e77408b403ee94b25e65359ccfa0aa54b854ed53d0e388 SHA512 eb1c0a3e2d304d26d1cf0f1a529810131a67a7f5bbed24233dd2495cea7b107beb7a0dd9ac85433b0526de0c39b346bbea5244b34b309e959ada5b9e7d272003
+DIST securesystemslib-1.3.0.tar.gz 934551 BLAKE2B c25af7fe36445fa9b8296d833edc5b51e8a33b71a05b987bd04f27955c54dff5a02a82cd1c45a1dd63cb4f39c84d933ad99941a3993142f576c64f17b93cdaa7 SHA512 26ebeabba4e1ef24c3ae7944b2e18a7534753f8073b6cb433b8d0c9c7d0e8df4df589984f508797bc6de7398b84e9889b50db98de311d06fb1a99b6b5ceb4488
diff --git a/dev-python/securesystemslib/securesystemslib-1.3.0.ebuild b/dev-python/securesystemslib/securesystemslib-1.3.0.ebuild
new file mode 100644
index 000000000000..be86ac975550
--- /dev/null
+++ b/dev-python/securesystemslib/securesystemslib-1.3.0.ebuild
@@ -0,0 +1,41 @@
+# Copyright 2024-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=hatchling
+PYTHON_COMPAT=( pypy3 pypy3_11 python3_{10..13} )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="Cryptographic routines for Secure Systems Lab projects at NYU"
+HOMEPAGE="
+ https://github.com/secure-systems-lab/securesystemslib/
+ https://pypi.org/project/securesystemslib/
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND="
+ >=dev-python/cryptography-40.0.0[${PYTHON_USEDEP}]
+"
+
+distutils_enable_tests pytest
+
+# TODO: unbundle https://github.com/pyca/ed25519 (wtf? not on PyPI?)
+
+python_test() {
+ local EPYTEST_DESELECT=(
+ # requires pyspx
+ tests/test_signer.py::TestSphincs::test_sphincs
+ )
+ local EPYTEST_IGNORE=(
+ # requires PyKCS11
+ tests/test_hsm_signer.py
+ )
+
+ local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+ epytest tests
+}