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>
This commit is contained in:
Marek Szuba
2023-08-23 13:39:54 +01:00
parent f1a95689f5
commit 51173374c6
3 changed files with 45 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST spdx-tools-0.7.1.tar.gz 200475 BLAKE2B 72da69f77a4d25380acb5b4d026596a593bfc631876dbae1a26ecc83e5d9fe7ff76c2f9a5d532186cc703d9fc5fc38ab859b654abfcddcf1e8116e7d26b55407 SHA512 8ffda24d162f4939fe99574e3ee4a492c55678f983ba101206a634edac75d404d3a07964289678da7ecae5b76a6d78f805b451fc51f60b713685afbd3a736a54

View File

@@ -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>

View File

@@ -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