summaryrefslogtreecommitdiff
path: root/dev-python/license-expression
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/license-expression')
-rw-r--r--dev-python/license-expression/Manifest3
-rw-r--r--dev-python/license-expression/license-expression-21.6.14.ebuild33
-rw-r--r--dev-python/license-expression/metadata.xml12
3 files changed, 48 insertions, 0 deletions
diff --git a/dev-python/license-expression/Manifest b/dev-python/license-expression/Manifest
new file mode 100644
index 000000000000..1bfbbdab4530
--- /dev/null
+++ b/dev-python/license-expression/Manifest
@@ -0,0 +1,3 @@
+DIST license-expression-21.6.14.gh.tar.gz 107788 BLAKE2B 18e123be256df2de289b00f292782fd5010333f692ba56caea448bf9a5102d2a11868a3c85787b5cd8129a9d3f9728e0776fa7658d00efe79c124a40f2263683 SHA512 12c4333a53f30c73f123434c9e50ee50163a3bad5831e756cc1350c14daa062b939e8382f4bcf2fef11020f8bec5185f71302f3c68ae88cd59b8da9a5f2964f4
+EBUILD license-expression-21.6.14.ebuild 729 BLAKE2B 1e54003125c3a54db550699c29d3d6dff4e566a946d9c779d852b070c817b97b9a1647f35529528d447f39ef8c2025c62ce8af0b46673a536c8d827754e12b7d SHA512 8e88a52228dc5061be4bfbb91e23e90cc68ffd927af241b03a1781b50bdb83f6e399c51f75bec9a0b7a51e34437fe180d15fdc99e019ecd24bf968bffda66e22
+MISC metadata.xml 387 BLAKE2B 52d862f7ede77b8ab90dbd9ed2949f1c4a2b289458cff0f2e7042bf43be07b7d7e63ff94f0a10aa1db41027b3441be721656def8d59ba54155d3226e4bd30b57 SHA512 7ba89c3d94ef921fad190a85655d032a7e3a0c5794d0957c3a30ff73c75b717e87517f5f2547408426479d646ac3d157f7e659d66a18d4081689b6b41136b268
diff --git a/dev-python/license-expression/license-expression-21.6.14.ebuild b/dev-python/license-expression/license-expression-21.6.14.ebuild
new file mode 100644
index 000000000000..96779c8f4a70
--- /dev/null
+++ b/dev-python/license-expression/license-expression-21.6.14.ebuild
@@ -0,0 +1,33 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( pypy3 python3_{8..10} )
+inherit distutils-r1
+
+DESCRIPTION="Parse, compare, simplify and normalize license expressions"
+HOMEPAGE="
+ https://pypi.org/project/license-expression/
+ https://github.com/nexB/license-expression/
+"
+SRC_URI="
+ https://github.com/nexB/license-expression/archive/v${PV}.tar.gz
+ -> ${P}.gh.tar.gz
+"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="
+ <dev-python/boolean-py-4.0.0[${PYTHON_USEDEP}]
+"
+BDEPEND="
+ >=dev-python/setuptools_scm-4[${PYTHON_USEDEP}]
+"
+
+distutils_enable_tests pytest
+
+export SETUPTOOLS_SCM_PRETEND_VERSION=${PV}
diff --git a/dev-python/license-expression/metadata.xml b/dev-python/license-expression/metadata.xml
new file mode 100644
index 000000000000..8bdb7d68016d
--- /dev/null
+++ b/dev-python/license-expression/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">nexB/license-expression</remote-id>
+ <remote-id type="pypi">license-expression</remote-id>
+ </upstream>
+</pkgmetadata>