diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-04-09 00:31:01 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-04-09 00:31:01 +0100 |
commit | 85e9aa4b6ca3ad1da1147e6d728e350e11266456 (patch) | |
tree | b637dd642620d99909f84bd226fbf6baadf27ffe /dev-util/reuse/reuse-3.0.2.ebuild | |
parent | c510d9ec7aca9b092e381a7a4ff213757c7a9709 (diff) |
gentoo auto-resync : 09:04:2024 - 00:31:01
Diffstat (limited to 'dev-util/reuse/reuse-3.0.2.ebuild')
-rw-r--r-- | dev-util/reuse/reuse-3.0.2.ebuild | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/dev-util/reuse/reuse-3.0.2.ebuild b/dev-util/reuse/reuse-3.0.2.ebuild new file mode 100644 index 000000000000..bf0a250f90bb --- /dev/null +++ b/dev-util/reuse/reuse-3.0.2.ebuild @@ -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..12} ) +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/jinja-3.0.0[${PYTHON_USEDEP}] + >=dev-python/license-expression-1.0[${PYTHON_USEDEP}] + >=dev-python/python-debian-0.1.48[${PYTHON_USEDEP}]" + +BDEPEND="sys-devel/gettext + test? ( + dev-vcs/git + dev-vcs/mercurial + )" + +PATCHES=( "${FILESDIR}/reuse-2.1.0_docs.patch" ) + +DOCS=( AUTHORS.rst CHANGELOG.md CODE_OF_CONDUCT.md CONTRIBUTING.md README.md ) + +distutils_enable_tests pytest + +# dev-python/sphinx-autodoc-typehints will be dropped after 2.1.0 +distutils_enable_sphinx docs \ + ">=dev-python/furo-2023.3.27" \ + ">=dev-python/recommonmark-0.7.1" \ + ">=dev-python/sphinxcontrib-apidoc-0.3.0" \ + ">=dev-python/sphinx-autodoc-typehints-1.12.0" + +python_test() { + cd "${T}" || die + epytest "${S}"/tests +} |