commit: 178b8c2f33cd41995fba5932106d99274f382578
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Dec 4 07:34:26 2024 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Dec 4 07:34:26 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=178b8c2f
dev-python/securesystemslib: Bump to 1.2.0
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/securesystemslib/Manifest | 1 +
.../securesystemslib/securesystemslib-1.2.0.ebuild | 41 ++++++++++++++++++++++
2 files changed, 42 insertions(+)
diff --git a/dev-python/securesystemslib/Manifest
b/dev-python/securesystemslib/Manifest
index 06f8ac0d7082..9f8ccf8f10c8 100644
--- a/dev-python/securesystemslib/Manifest
+++ b/dev-python/securesystemslib/Manifest
@@ -1 +1,2 @@
DIST securesystemslib-1.1.0.tar.gz 934688 BLAKE2B
f9e997306e0f17d5f75b8a85c732950460ff7443fd301e845c721a6e49f74dc48f6d2b5b7e0def63b262a09e6901affe8b293124bd4f82e69157e8cd26cb134c
SHA512
65ec41c08ad679884c327c291e27a8529e6a559f52eb154a4c1c13a558df7845cabc21e466e908029afcd57b6581b2f429c4ea87e34b664e52369ca6b0f63ba1
+DIST securesystemslib-1.2.0.tar.gz 934472 BLAKE2B
573a8a422cb0b54f20caf35716c83051e70658e233a1334c983555aa26a9239ef86817fd80964bdd23e77408b403ee94b25e65359ccfa0aa54b854ed53d0e388
SHA512
eb1c0a3e2d304d26d1cf0f1a529810131a67a7f5bbed24233dd2495cea7b107beb7a0dd9ac85433b0526de0c39b346bbea5244b34b309e959ada5b9e7d272003
diff --git a/dev-python/securesystemslib/securesystemslib-1.2.0.ebuild
b/dev-python/securesystemslib/securesystemslib-1.2.0.ebuild
new file mode 100644
index 000000000000..2885b145a639
--- /dev/null
+++ b/dev-python/securesystemslib/securesystemslib-1.2.0.ebuild
@@ -0,0 +1,41 @@
+# Copyright 2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=hatchling
+PYTHON_COMPAT=( pypy3 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
+}