diff options
Diffstat (limited to 'dev-python/tuf')
-rw-r--r-- | dev-python/tuf/Manifest | 3 | ||||
-rw-r--r-- | dev-python/tuf/metadata.xml | 12 | ||||
-rw-r--r-- | dev-python/tuf/tuf-5.0.0.ebuild | 32 |
3 files changed, 47 insertions, 0 deletions
diff --git a/dev-python/tuf/Manifest b/dev-python/tuf/Manifest new file mode 100644 index 000000000000..4c0f88f8b953 --- /dev/null +++ b/dev-python/tuf/Manifest @@ -0,0 +1,3 @@ +DIST tuf-5.0.0.tar.gz 266998 BLAKE2B 6fcf909955f7c2515ede1922c9534ca439cc68d07af81ba53d8811f74fd4510655cc17395f1e0e5df0e3ea752e74862e8d1397b9b3a272565e793c70af9de352 SHA512 c8ae86480320fb33e6d92292da0e687a3d7c90c2bcc234518d934671a954a0970e158cc48ab95be51e6eb21eb63a769c47be9a7880b446d5b0eba9f34570c07d +EBUILD tuf-5.0.0.ebuild 640 BLAKE2B 15ca253a62ba59d3270cc33b2e33adafdc6539f635af1b15c31a7a337bb8380de695b7e93f8696d89b8afa76e6f41dc06904b02d668767bd8bd6ac9499a0cb85 SHA512 77eb18b7386146a7dab68f5c5e847f9428ac02135efcb3d48070b2d0eb2203cb9889dd3acbcbde83bf86f68b7302b2c5c52e09903bb37c44bd83eec09f37eb87 +MISC metadata.xml 378 BLAKE2B 9cc1f69fb2af8d5b3c71642c9715808456086ff11c985e5cc41b00e1880f2b4124cbc9513542faa4e41b012b0ba855ad9d4fbe8037e3580df1aa20181631c3b6 SHA512 bde2ed909850cbd6069b18dd054660871a6d8320003068efbda57829b0e1b5ca0a2cecd363223b6cbf2a23b060fa873fd320fb2a897f18205c8db7a8d54ccd29 diff --git a/dev-python/tuf/metadata.xml b/dev-python/tuf/metadata.xml new file mode 100644 index 000000000000..016baed53722 --- /dev/null +++ b/dev-python/tuf/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">theupdateframework/python-tuf</remote-id> + <remote-id type="pypi">tuf</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-python/tuf/tuf-5.0.0.ebuild b/dev-python/tuf/tuf-5.0.0.ebuild new file mode 100644 index 000000000000..8ab675ef5cc3 --- /dev/null +++ b/dev-python/tuf/tuf-5.0.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 +} |