dev-util/reuse: add 5.0.2

Signed-off-by: Jonas Stein <jstein@gentoo.org>
This commit is contained in:
Jonas Stein
2024-11-18 00:49:37 +01:00
parent 3b1b6b8279
commit 783d9b719c
2 changed files with 51 additions and 0 deletions
+1
View File
@@ -2,3 +2,4 @@ DIST reuse-2.1.0.gh.tar.gz 260786 BLAKE2B 371c1167e10449ecdbaf0a93dbfa7d50c700da
DIST reuse-3.0.1.gh.tar.gz 305441 BLAKE2B e2f0cc4b4aea3e2b09e4ee395ec545a6cd683a083d05498b56401782439882853673bfb3d589ef6c4986cd86fcab64b9cc5ae40e5ddc7f36478582ca458fff81 SHA512 eb3aeb98b6fe127001702cf2a2c067e298fba071582206174a3647ccbf38263fa71dc6e56558926e4adce628c541035e4bce2afaa9fddfd89cbdb20cfe57aef5
DIST reuse-3.0.2.gh.tar.gz 305529 BLAKE2B 96835aa6c47a951d7515236a632895e22ea93cad3602c4c37f45714ebe830b605315af479b7e5bbad764420ffc59997a163bbbe7a1b133bcd72f88af60b67c80 SHA512 cdf37980dddb116823fd0f0d47f6b6380e9da500cb3f33cf4fcfb75c367af7a7e3147848463f3d70c28dce72b8c0ad5d0b8284a69f7905050b0ba9ee7fff2f5c
DIST reuse-4.0.3.gh.tar.gz 360402 BLAKE2B a4e2a434c78b8cda81c58ee50d9d37df914f077eb050631eb654fd275fec0ea7dd3e4d431eaf73e359f8f868e73e4e59e9b1f757cddbe9bd3ff2ef9fd3f194e5 SHA512 2f9dca807a0f3eed9356c1fcbe9f7bc8fd9711ac3583811decf90bbb28818a0af64925fa31ee84e8c0e8241d64e9194209b03cb422bf1aeb6b160eca3289bec6
DIST reuse-5.0.2.gh.tar.gz 398518 BLAKE2B 11687ee3f396bde63248ce23311775ebddcc7424a0a3106a70d7cf4e00af391e65f0bf0d68310babb0ecc8522b8486a5c51f1b2953d54ed3863bd68a09ae23d5 SHA512 472048dcb16df330478727278de593e6e102fe224d7acd485666d3d2ceb49725426e008e1c116c41acea3c767de347cf5e4775c1471cb287c5d594860db75a5a
+50
View File
@@ -0,0 +1,50 @@
# Copyright 2022-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{10..13} )
DISTUTILS_USE_PEP517=poetry
inherit distutils-r1
DESCRIPTION="Manage license information according to the SPDX standard"
HOMEPAGE="https://reuse.software/
https://github.com/fsfe/reuse-tool"
MY_PN="${PN}-tool"
SRC_URI="https://github.com/fsfe/${MY_PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz"
S="${WORKDIR}/${MY_PN}-${PV}"
LICENSE="GPL-3+ CC-BY-SA-4.0 CC0-1.0 Apache-2.0"
SLOT="0"
KEYWORDS="~amd64"
RDEPEND=">=dev-python/binaryornot-0.4.4[${PYTHON_USEDEP}]
>=dev-python/boolean-py-3.8[${PYTHON_USEDEP}]
>=dev-python/jinja2-3.0.0[${PYTHON_USEDEP}]
>=dev-python/license-expression-1.0[${PYTHON_USEDEP}]
>=dev-python/python-debian-0.1.48[${PYTHON_USEDEP}]
>=dev-python/tomlkit-0.8[${PYTHON_USEDEP}]
>=dev-python/attrs-21.3[${PYTHON_USEDEP}]
>=dev-python/click-8.0.0[${PYTHON_USEDEP}]"
BDEPEND="sys-devel/gettext
test? (
dev-vcs/git
dev-vcs/mercurial
dev-python/freezegun[${PYTHON_USEDEP}]
)"
DOCS=( AUTHORS.rst CHANGELOG.md CODE_OF_CONDUCT.md CONTRIBUTING.md README.md )
distutils_enable_tests pytest
distutils_enable_sphinx docs \
">=dev-python/furo-2023.3.27" \
">=dev-python/recommonmark-0.7.1" \
">=dev-python/sphinxcontrib-apidoc-0.3.0"
python_test() {
cd "${T}" || die
epytest "${S}"/tests
}