From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/securesystemslib/
Date: Fri, 27 Sep 2024 12:14:11 +0000 (UTC) [thread overview]
Message-ID: <1727439244.28f0a2215833a4b4ad418685239fff636e30c030.mgorny@gentoo> (raw)
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
+}
next reply other threads:[~2024-09-27 12:14 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-09-27 12:14 Michał Górny [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-12-04 7:46 [gentoo-commits] repo/gentoo:master commit in: dev-python/securesystemslib/ Michał Górny
2025-02-27 21:03 Michał Górny
2025-04-16 1:55 Michał Górny
2025-04-16 1:55 Michał Górny
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1727439244.28f0a2215833a4b4ad418685239fff636e30c030.mgorny@gentoo \
--to=mgorny@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox