diff options
author | Marek Szuba <marecki@gentoo.org> | 2023-08-23 13:39:54 +0100 |
---|---|---|
committer | Marek Szuba <marecki@gentoo.org> | 2023-08-23 22:05:49 +0100 |
commit | 51173374c68bf1a57c8b8a4bfb8481521e51aa79 (patch) | |
tree | 6300d6879c9aca8e584e4cdbfc1759551a17703a /dev-python/spdx-tools | |
parent | dev-python/uritools: new package, add 4.0.1 (diff) | |
download | gentoo-51173374c68bf1a57c8b8a4bfb8481521e51aa79.tar.gz gentoo-51173374c68bf1a57c8b8a4bfb8481521e51aa79.tar.bz2 gentoo-51173374c68bf1a57c8b8a4bfb8481521e51aa79.zip |
dev-python/spdx-tools: new package, add 0.7.1
New test dependency of app-admin/ansible-lint.
Adding this version first rather than the latest (0.8.0) because:
- this is the version required by ansible-lint, owing to breaking
changes introduced by the 0.8 branch;
- 0.8.0 has a new run-time dependency, dev-python/beartype, which
is known not to presently work with py3.12;
- the 0.8.0 test suite has a new, currently unpackaged dependency
pySHACL.
Signed-off-by: Marek Szuba <marecki@gentoo.org>
Diffstat (limited to 'dev-python/spdx-tools')
-rw-r--r-- | dev-python/spdx-tools/Manifest | 1 | ||||
-rw-r--r-- | dev-python/spdx-tools/metadata.xml | 13 | ||||
-rw-r--r-- | dev-python/spdx-tools/spdx-tools-0.7.1.ebuild | 31 |
3 files changed, 45 insertions, 0 deletions
diff --git a/dev-python/spdx-tools/Manifest b/dev-python/spdx-tools/Manifest new file mode 100644 index 000000000000..60e7b5205b4b --- /dev/null +++ b/dev-python/spdx-tools/Manifest @@ -0,0 +1 @@ +DIST spdx-tools-0.7.1.tar.gz 200475 BLAKE2B 72da69f77a4d25380acb5b4d026596a593bfc631876dbae1a26ecc83e5d9fe7ff76c2f9a5d532186cc703d9fc5fc38ab859b654abfcddcf1e8116e7d26b55407 SHA512 8ffda24d162f4939fe99574e3ee4a492c55678f983ba101206a634edac75d404d3a07964289678da7ecae5b76a6d78f805b451fc51f60b713685afbd3a736a54 diff --git a/dev-python/spdx-tools/metadata.xml b/dev-python/spdx-tools/metadata.xml new file mode 100644 index 000000000000..1e19b1d2fb9f --- /dev/null +++ b/dev-python/spdx-tools/metadata.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>marecki@gentoo.org</email> + <name>Marek Szuba</name> + </maintainer> + <stabilize-allarches/> + <upstream> + <remote-id type="pypi">spdx-tools</remote-id> + <remote-id type="github">spdx/tools-python</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-python/spdx-tools/spdx-tools-0.7.1.ebuild b/dev-python/spdx-tools/spdx-tools-0.7.1.ebuild new file mode 100644 index 000000000000..d46e32e6e36c --- /dev/null +++ b/dev-python/spdx-tools/spdx-tools-0.7.1.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYPI_NO_NORMALIZE=1 +PYTHON_COMPAT=( python3_{10..12} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Python library to parse, validate and create SPDX documents" +HOMEPAGE=" + https://github.com/spdx/tools-python/ + https://pypi.org/project/spdx-tools/ +" + +LICENSE="Apache-2.0" +SLOT="0/0.7" +KEYWORDS="~amd64 ~riscv" + +RDEPEND=" + dev-python/click[${PYTHON_USEDEP}] + dev-python/ply[${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] + dev-python/rdflib[${PYTHON_USEDEP}] + dev-python/uritools[${PYTHON_USEDEP}] + dev-python/xmltodict[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest |