commit: 4abb8c958f108f30f11b8cb64f8e969e28ee0d98
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue Oct 8 02:53:43 2024 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Oct 8 02:53:43 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4abb8c95
dev-python/tuf: Bump to 5.1.0
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/tuf/Manifest | 1 +
dev-python/tuf/tuf-5.1.0.ebuild | 32 ++++++++++++++++++++++++++++++++
2 files changed, 33 insertions(+)
diff --git a/dev-python/tuf/Manifest b/dev-python/tuf/Manifest
index bd1e3b173e1f..fc75e8fc16f5 100644
--- a/dev-python/tuf/Manifest
+++ b/dev-python/tuf/Manifest
@@ -1 +1,2 @@
DIST tuf-5.0.0.tar.gz 266998 BLAKE2B
6fcf909955f7c2515ede1922c9534ca439cc68d07af81ba53d8811f74fd4510655cc17395f1e0e5df0e3ea752e74862e8d1397b9b3a272565e793c70af9de352
SHA512
c8ae86480320fb33e6d92292da0e687a3d7c90c2bcc234518d934671a954a0970e158cc48ab95be51e6eb21eb63a769c47be9a7880b446d5b0eba9f34570c07d
+DIST tuf-5.1.0.tar.gz 269105 BLAKE2B
56462bce222685784a8e26395792e24c22b59b4216c0488437a169313a655b7b3280044643042f7828f0343a5c215900f824fe5a61fb8fa5c2ab866ccfe03827
SHA512
1559b6c6700e947941a70e1c57dd9b05893e5da9690e4b4c81b35e95fa11551a1ec7db4d11a7ee71ffb9f489f9f39e49a3ee7bbdeccacd265e061db59d584ff8
diff --git a/dev-python/tuf/tuf-5.1.0.ebuild b/dev-python/tuf/tuf-5.1.0.ebuild
new file mode 100644
index 000000000000..8ab675ef5cc3
--- /dev/null
+++ b/dev-python/tuf/tuf-5.1.0.ebuild
@@ -0,0 +1,32 @@
+# Copyright 2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=hatchling
+PYTHON_COMPAT=( python3_{10..13} )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="A secure updater framework for Python"
+HOMEPAGE="
+ https://github.com/theupdateframework/python-tuf/
+ https://pypi.org/project/tuf/
+"
+
+LICENSE="|| ( Apache-2.0 MIT )"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND="
+ >=dev-python/requests-2.19.1[${PYTHON_USEDEP}]
+ <dev-python/securesystemslib-2[${PYTHON_USEDEP}]
+"
+
+distutils_enable_tests unittest
+
+python_test() {
+ cd tests || die
+ local -x PYTHONPATH="..:${PYTHONPATH}"
+ eunittest
+}