mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-19 12:03:02 -04:00
dev-util/reuse: add 1.1.0
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
This commit is contained in:
@@ -1 +1,2 @@
|
||||
DIST reuse-1.0.0.tar.gz 253938 BLAKE2B 72eabecfb866b3a2b1828b307fc0620bb9b362223b23408accde250f625a1d15794c3678fe8d24c7cd9dbf667b2ae453d4215e98be15075a0e6542b72607d970 SHA512 5d0b0fc57a983f544cbc40aaca813dce540712f9bfb7ef3065abb2fbd7a30f65216f50dbf2369e36198794cd944285498c5a2a7c4affcacefb12a01b6c7d7571
|
||||
DIST reuse-1.1.0.tar.gz 217044 BLAKE2B dede8067cb705278b7aadb3d333cc15d03f2156fa38c096a1a51c4411f286e81d174019de9a1243c08a55ea0b1ab30bced7b4529a07874fd9497e7bc370a1bfd SHA512 1c17f723bb369ce895731fa53ba5db5e4af8298a714eda02e9f8a1d4d3f34431fefb47c52b52abc7160f99683db9fc4cdfb7c730287f5cced75b631a2a7901b4
|
||||
|
||||
54
dev-util/reuse/reuse-1.1.0.ebuild
Normal file
54
dev-util/reuse/reuse-1.1.0.ebuild
Normal file
@@ -0,0 +1,54 @@
|
||||
# Copyright 2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{9..11} )
|
||||
DISTUTILS_USE_PEP517=poetry
|
||||
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/setuptools[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
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/recommonmark \
|
||||
#dev-python/sphinx-autodoc-typehints \
|
||||
#dev-python/sphinx_rtd_theme \
|
||||
#dev-python/sphinxcontrib-apidoc
|
||||
|
||||
src_install() {
|
||||
distutils-r1_src_install
|
||||
find "${ED}"/usr/lib -name '*.md' -delete || die
|
||||
find "${ED}"/usr/lib -name '*.rst' -delete || die
|
||||
}
|
||||
Reference in New Issue
Block a user