commit:     043288755a9a4ce54465a36ff8351a473c039de7
Author:     Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
AuthorDate: Fri Dec  2 07:49:20 2022 +0000
Commit:     Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
CommitDate: Fri Dec  2 08:39:32 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=04328875

dev-util/reuse: add 1.1.0

Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in>

 dev-util/reuse/Manifest           |  1 +
 dev-util/reuse/reuse-1.1.0.ebuild | 54 +++++++++++++++++++++++++++++++++++++++
 2 files changed, 55 insertions(+)

diff --git a/dev-util/reuse/Manifest b/dev-util/reuse/Manifest
index ab5056674..9c07e87c6 100644
--- a/dev-util/reuse/Manifest
+++ b/dev-util/reuse/Manifest
@@ -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

diff --git a/dev-util/reuse/reuse-1.1.0.ebuild 
b/dev-util/reuse/reuse-1.1.0.ebuild
new file mode 100644
index 000000000..23948b5c7
--- /dev/null
+++ b/dev-util/reuse/reuse-1.1.0.ebuild
@@ -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
+}

Reply via email to