public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: dev-python/securesystemslib/
@ 2024-09-27 12:14 Michał Górny
  0 siblings, 0 replies; only message in thread
From: Michał Górny @ 2024-09-27 12:14 UTC (permalink / raw
  To: gentoo-commits

commit:     28f0a2215833a4b4ad418685239fff636e30c030
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Sep 27 10:57:02 2024 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Sep 27 12:14:04 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=28f0a221

dev-python/securesystemslib: New package, v1.1.0, for sigstore

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/securesystemslib/Manifest               |  1 +
 dev-python/securesystemslib/metadata.xml           | 12 ++++++
 .../securesystemslib/securesystemslib-1.1.0.ebuild | 45 ++++++++++++++++++++++
 3 files changed, 58 insertions(+)

diff --git a/dev-python/securesystemslib/Manifest b/dev-python/securesystemslib/Manifest
new file mode 100644
index 000000000000..06f8ac0d7082
--- /dev/null
+++ b/dev-python/securesystemslib/Manifest
@@ -0,0 +1 @@
+DIST securesystemslib-1.1.0.tar.gz 934688 BLAKE2B f9e997306e0f17d5f75b8a85c732950460ff7443fd301e845c721a6e49f74dc48f6d2b5b7e0def63b262a09e6901affe8b293124bd4f82e69157e8cd26cb134c SHA512 65ec41c08ad679884c327c291e27a8529e6a559f52eb154a4c1c13a558df7845cabc21e466e908029afcd57b6581b2f429c4ea87e34b664e52369ca6b0f63ba1

diff --git a/dev-python/securesystemslib/metadata.xml b/dev-python/securesystemslib/metadata.xml
new file mode 100644
index 000000000000..0681ed430fa2
--- /dev/null
+++ b/dev-python/securesystemslib/metadata.xml
@@ -0,0 +1,12 @@
+<?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>
+	</maintainer>
+	<stabilize-allarches/>
+	<upstream>
+		<remote-id type="github">secure-systems-lab/securesystemslib</remote-id>
+		<remote-id type="pypi">securesystemslib</remote-id>
+	</upstream>
+</pkgmetadata>

diff --git a/dev-python/securesystemslib/securesystemslib-1.1.0.ebuild b/dev-python/securesystemslib/securesystemslib-1.1.0.ebuild
new file mode 100644
index 000000000000..acad89793005
--- /dev/null
+++ b/dev-python/securesystemslib/securesystemslib-1.1.0.ebuild
@@ -0,0 +1,45 @@
+# 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}]
+"
+#BDEPEND="
+#	test? (
+#	)
+#"
+
+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
+}


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2024-09-27 12:14 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-27 12:14 [gentoo-commits] repo/gentoo:master commit in: dev-python/securesystemslib/ Michał Górny

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox