mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-18 19:43:24 -04:00
dev-util/reuse: add 2.0.0, drop 1.1.0
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
This commit is contained in:
50
dev-util/reuse/reuse-2.0.0.ebuild
Normal file
50
dev-util/reuse/reuse-2.0.0.ebuild
Normal file
@@ -0,0 +1,50 @@
|
||||
# Copyright 2022-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{10..11} )
|
||||
DISTUTILS_USE_PEP517=poetry
|
||||
inherit distutils-r1 pypi
|
||||
|
||||
DESCRIPTION="A tool for compliance with the REUSE recommendations"
|
||||
HOMEPAGE="
|
||||
https://reuse.software/
|
||||
https://pypi.org/project/reuse/
|
||||
https://github.com/fsfe/reuse-tool
|
||||
"
|
||||
|
||||
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}]
|
||||
"
|
||||
BDEPEND="
|
||||
sys-devel/gettext
|
||||
test? (
|
||||
dev-vcs/git
|
||||
dev-vcs/mercurial
|
||||
)
|
||||
"
|
||||
|
||||
DOCS=( AUTHORS.rst CHANGELOG.md README.md )
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
# [Errno 2] No such file or directory: '../README.md'
|
||||
#distutils_enable_sphinx docs \
|
||||
#dev-python/furo \
|
||||
#dev-python/recommonmark \
|
||||
#dev-python/sphinx-autodoc-typehints \
|
||||
#dev-python/sphinxcontrib-apidoc
|
||||
|
||||
python_test() {
|
||||
cd "${T}" || die
|
||||
epytest "${S}"/tests
|
||||
}
|
||||
Reference in New Issue
Block a user