diff --git a/dev-util/reuse/Manifest b/dev-util/reuse/Manifest new file mode 100644 index 0000000000..33925e9887 --- /dev/null +++ b/dev-util/reuse/Manifest @@ -0,0 +1 @@ +DIST reuse-0.14.0.tar.gz 200682 BLAKE2B 6645cc6fc643ef3c19008d20dad065c1f362bda4106e731cfd780552b4cae1ced769ac49ee58c0ca519058f6764d4fd10ca6a33a70050365ae3f074e3981d276 SHA512 d376030e0be75f7cd70846c74409fba5f8266827cb1cc944c2fbda413002a3279f2efaf4598be4372df4a6d50f29a5038366c9ef709867dac7a0815efe071117 diff --git a/dev-util/reuse/metadata.xml b/dev-util/reuse/metadata.xml new file mode 100644 index 0000000000..d7ba11c81d --- /dev/null +++ b/dev-util/reuse/metadata.xml @@ -0,0 +1,13 @@ + + + + + cyber+gentoo@sysrq.in + Anna + + + https://reuse.readthedocs.io/ + reuse + fsfe/reuse-tool + + diff --git a/dev-util/reuse/reuse-0.14.0.ebuild b/dev-util/reuse/reuse-0.14.0.ebuild new file mode 100644 index 0000000000..3b5431508b --- /dev/null +++ b/dev-util/reuse/reuse-0.14.0.ebuild @@ -0,0 +1,41 @@ +# Copyright 2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{9..10} ) +DISTUTILS_USE_SETUPTOOLS=rdepend +inherit distutils-r1 + +DESCRIPTION="A tool for compliance with the REUSE recommendations" +HOMEPAGE=" + https://reuse.software/ + https://pypi.org/project/reuse/ + https://github.com/fsfe/reuse-tool +" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="Apache-2.0 CC0-1.0 CC-BY-SA-4.0 GPL-3+" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + dev-python/boolean-py[${PYTHON_USEDEP}] + dev-python/binaryornot[${PYTHON_USEDEP}] + dev-python/jinja[${PYTHON_USEDEP}] + dev-python/license-expression[${PYTHON_USEDEP}] + dev-python/python-debian[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] +" +BDEPEND="dev-python/setuptools_scm[${PYTHON_USEDEP}]" + +DOCS=( AUTHORS.rst CHANGELOG.md CODE_OF_CONDUCT.md CONTRIBUTING.md README.md ) + +distutils_enable_tests pytest + +# [Errno 2] No such file or directory: '../README.md' +#distutils_enable_sphinx docs \ + #dev-python/recommonmark \ + #dev-python/sphinx-autodoc-typehints \ + #dev-python/sphinx_rtd_theme \ + #dev-python/sphinxcontrib-apidoc