summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2023-09-17 15:21:44 +0200
committerMichał Górny <mgorny@gentoo.org>2023-09-17 15:35:23 +0200
commitc167999d6c7d961f6630de63e6dcafba28c7e76c (patch)
tree5c8b1169ee81f700264da0b60e52a1501e6ef37a /dev-python
parentdev-python/uritools: Bump to 4.0.2 (diff)
downloadgentoo-c167999d6c7d961f6630de63e6dcafba28c7e76c.tar.gz
gentoo-c167999d6c7d961f6630de63e6dcafba28c7e76c.tar.bz2
gentoo-c167999d6c7d961f6630de63e6dcafba28c7e76c.zip
dev-python/spdx-tools: Bump to 0.8.1
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/spdx-tools/Manifest1
-rw-r--r--dev-python/spdx-tools/spdx-tools-0.8.1.ebuild39
2 files changed, 40 insertions, 0 deletions
diff --git a/dev-python/spdx-tools/Manifest b/dev-python/spdx-tools/Manifest
index 60e7b5205b4b..c28c4c223908 100644
--- a/dev-python/spdx-tools/Manifest
+++ b/dev-python/spdx-tools/Manifest
@@ -1 +1,2 @@
DIST spdx-tools-0.7.1.tar.gz 200475 BLAKE2B 72da69f77a4d25380acb5b4d026596a593bfc631876dbae1a26ecc83e5d9fe7ff76c2f9a5d532186cc703d9fc5fc38ab859b654abfcddcf1e8116e7d26b55407 SHA512 8ffda24d162f4939fe99574e3ee4a492c55678f983ba101206a634edac75d404d3a07964289678da7ecae5b76a6d78f805b451fc51f60b713685afbd3a736a54
+DIST spdx-tools-0.8.1.tar.gz 496884 BLAKE2B 9b2e2066b29c74e50287cd118af394510a8635f9347a52477ff499cdf72082e1f2708cd067475b94814ef5b7c3e0e2ff0cb3c22e9e2de1b788dee644ea0a0006 SHA512 70e1d2d491517a332704707510b34bb8146924f29b734951eca03d0b3f791cb482fdae342d4084680d0b969614ae6350a13c196bf747b80b6a75c9ec0a6792cd
diff --git a/dev-python/spdx-tools/spdx-tools-0.8.1.ebuild b/dev-python/spdx-tools/spdx-tools-0.8.1.ebuild
new file mode 100644
index 000000000000..57c3c21b0fb5
--- /dev/null
+++ b/dev-python/spdx-tools/spdx-tools-0.8.1.ebuild
@@ -0,0 +1,39 @@
+# 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..11} )
+
+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"
+KEYWORDS="~amd64"
+
+RDEPEND="
+ dev-python/beartype[${PYTHON_USEDEP}]
+ dev-python/click[${PYTHON_USEDEP}]
+ dev-python/license-expression[${PYTHON_USEDEP}]
+ dev-python/ply[${PYTHON_USEDEP}]
+ dev-python/pyyaml[${PYTHON_USEDEP}]
+ dev-python/rdflib[${PYTHON_USEDEP}]
+ dev-python/semantic-version[${PYTHON_USEDEP}]
+ dev-python/uritools[${PYTHON_USEDEP}]
+ dev-python/xmltodict[${PYTHON_USEDEP}]
+"
+
+distutils_enable_tests pytest
+
+EPYTEST_IGNORE=(
+ # requires pyshacl
+ tests/spdx3/validation/json_ld/test_shacl_validation.py
+)