guru/dev-util/reuse/reuse-0.14.0.ebuild
Anna (cybertailor) Vyalkova 7a17cb0a72
dev-util/reuse: initial import
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
2022-02-07 16:03:25 +05:00

42 lines
1.1 KiB
Bash

# 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