Gentoo Archives: gentoo-commits

From: Anna Vyalkova <cyber+gentoo@×××××.in>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-util/reuse/
Date: Fri, 02 Dec 2022 08:51:39
Message-Id: 1669970372.043288755a9a4ce54465a36ff8351a473c039de7.cybertailor@gentoo
1 commit: 043288755a9a4ce54465a36ff8351a473c039de7
2 Author: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
3 AuthorDate: Fri Dec 2 07:49:20 2022 +0000
4 Commit: Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
5 CommitDate: Fri Dec 2 08:39:32 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=04328875
7
8 dev-util/reuse: add 1.1.0
9
10 Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in>
11
12 dev-util/reuse/Manifest | 1 +
13 dev-util/reuse/reuse-1.1.0.ebuild | 54 +++++++++++++++++++++++++++++++++++++++
14 2 files changed, 55 insertions(+)
15
16 diff --git a/dev-util/reuse/Manifest b/dev-util/reuse/Manifest
17 index ab5056674..9c07e87c6 100644
18 --- a/dev-util/reuse/Manifest
19 +++ b/dev-util/reuse/Manifest
20 @@ -1 +1,2 @@
21 DIST reuse-1.0.0.tar.gz 253938 BLAKE2B 72eabecfb866b3a2b1828b307fc0620bb9b362223b23408accde250f625a1d15794c3678fe8d24c7cd9dbf667b2ae453d4215e98be15075a0e6542b72607d970 SHA512 5d0b0fc57a983f544cbc40aaca813dce540712f9bfb7ef3065abb2fbd7a30f65216f50dbf2369e36198794cd944285498c5a2a7c4affcacefb12a01b6c7d7571
22 +DIST reuse-1.1.0.tar.gz 217044 BLAKE2B dede8067cb705278b7aadb3d333cc15d03f2156fa38c096a1a51c4411f286e81d174019de9a1243c08a55ea0b1ab30bced7b4529a07874fd9497e7bc370a1bfd SHA512 1c17f723bb369ce895731fa53ba5db5e4af8298a714eda02e9f8a1d4d3f34431fefb47c52b52abc7160f99683db9fc4cdfb7c730287f5cced75b631a2a7901b4
23
24 diff --git a/dev-util/reuse/reuse-1.1.0.ebuild b/dev-util/reuse/reuse-1.1.0.ebuild
25 new file mode 100644
26 index 000000000..23948b5c7
27 --- /dev/null
28 +++ b/dev-util/reuse/reuse-1.1.0.ebuild
29 @@ -0,0 +1,54 @@
30 +# Copyright 2022 Gentoo Authors
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=8
34 +
35 +PYTHON_COMPAT=( python3_{9..11} )
36 +DISTUTILS_USE_PEP517=poetry
37 +inherit distutils-r1
38 +
39 +DESCRIPTION="A tool for compliance with the REUSE recommendations"
40 +HOMEPAGE="
41 + https://reuse.software/
42 + https://pypi.org/project/reuse/
43 + https://github.com/fsfe/reuse-tool
44 +"
45 +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
46 +
47 +LICENSE="Apache-2.0 CC0-1.0 CC-BY-SA-4.0 GPL-3+"
48 +SLOT="0"
49 +KEYWORDS="~amd64"
50 +
51 +RDEPEND="
52 + dev-python/boolean-py[${PYTHON_USEDEP}]
53 + dev-python/binaryornot[${PYTHON_USEDEP}]
54 + dev-python/jinja[${PYTHON_USEDEP}]
55 + dev-python/license-expression[${PYTHON_USEDEP}]
56 + dev-python/python-debian[${PYTHON_USEDEP}]
57 + dev-python/setuptools[${PYTHON_USEDEP}]
58 +"
59 +BDEPEND="
60 + dev-python/setuptools[${PYTHON_USEDEP}]
61 + sys-devel/gettext
62 + test? (
63 + dev-vcs/git
64 + dev-vcs/mercurial
65 + )
66 +"
67 +
68 +DOCS=( AUTHORS.rst CHANGELOG.md README.md )
69 +
70 +distutils_enable_tests pytest
71 +
72 +# [Errno 2] No such file or directory: '../README.md'
73 +#distutils_enable_sphinx docs \
74 + #dev-python/recommonmark \
75 + #dev-python/sphinx-autodoc-typehints \
76 + #dev-python/sphinx_rtd_theme \
77 + #dev-python/sphinxcontrib-apidoc
78 +
79 +src_install() {
80 + distutils-r1_src_install
81 + find "${ED}"/usr/lib -name '*.md' -delete || die
82 + find "${ED}"/usr/lib -name '*.rst' -delete || die
83 +}