dev-util/reuse: initial import

Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
This commit is contained in:
Anna (cybertailor) Vyalkova
2022-02-07 15:58:53 +05:00
parent 459b172a2b
commit 7a17cb0a72
3 changed files with 55 additions and 0 deletions

1
dev-util/reuse/Manifest Normal file
View File

@@ -0,0 +1 @@
DIST reuse-0.14.0.tar.gz 200682 BLAKE2B 6645cc6fc643ef3c19008d20dad065c1f362bda4106e731cfd780552b4cae1ced769ac49ee58c0ca519058f6764d4fd10ca6a33a70050365ae3f074e3981d276 SHA512 d376030e0be75f7cd70846c74409fba5f8266827cb1cc944c2fbda413002a3279f2efaf4598be4372df4a6d50f29a5038366c9ef709867dac7a0815efe071117

View File

@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>cyber+gentoo@sysrq.in</email>
<name>Anna</name>
</maintainer>
<upstream>
<doc>https://reuse.readthedocs.io/</doc>
<remote-id type="pypi">reuse</remote-id>
<remote-id type="github">fsfe/reuse-tool</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -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