1 |
commit: 89d6aab1bc9898343e024c26e316f55c082c2b8b |
2 |
Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com> |
3 |
AuthorDate: Mon Oct 4 22:21:51 2021 +0000 |
4 |
Commit: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com> |
5 |
CommitDate: Mon Oct 4 22:30:21 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=89d6aab1 |
7 |
|
8 |
dev-util/rpmlint: add 2.1.0 |
9 |
|
10 |
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com> |
11 |
|
12 |
dev-util/rpmlint/Manifest | 1 + |
13 |
dev-util/rpmlint/rpmlint-2.1.0.ebuild | 58 +++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 59 insertions(+) |
15 |
|
16 |
diff --git a/dev-util/rpmlint/Manifest b/dev-util/rpmlint/Manifest |
17 |
index 2b0e122ca..9a3ca3099 100644 |
18 |
--- a/dev-util/rpmlint/Manifest |
19 |
+++ b/dev-util/rpmlint/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST rpmlint-2.0.0.tar.gz 5670600 BLAKE2B 31ce8c8c630c967204d9fc5768a6689656e941d0498b53274e4a147ebd15eeafeed0fe14a0df258201c105a03216a6b32c0600008605778ea2c8306ec5d76e65 SHA512 f8f65ec90306bf59c0e31a8a3434477c38b8fb08aa2798b805afd57a506b00110797d514431e69dcb8dde5a54afad8606d8e1c973b8584c47cebed1420d6d61c |
22 |
+DIST rpmlint-2.1.0.tar.gz 5670384 BLAKE2B cb7947956324a0c9e10d2bdc1e5d9d2354c37b748c97c3bbe0426104898e7ddc96bcad84fe7f03952688256c0f20da43b19ab98969056063f647a60851c841a7 SHA512 75df896259b5c340c528357309b2e5e1ce574b7e5e55dff573a1a7808faa3617da799df37e7e65064952a16549225beb16c1e12ba22f2fe4976a69696ed66f46 |
23 |
|
24 |
diff --git a/dev-util/rpmlint/rpmlint-2.1.0.ebuild b/dev-util/rpmlint/rpmlint-2.1.0.ebuild |
25 |
new file mode 100644 |
26 |
index 000000000..6c41815f5 |
27 |
--- /dev/null |
28 |
+++ b/dev-util/rpmlint/rpmlint-2.1.0.ebuild |
29 |
@@ -0,0 +1,58 @@ |
30 |
+# Copyright 1999-2021 Gentoo Authors |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=8 |
34 |
+ |
35 |
+DISTUTILS_SINGLE_IMPL=1 |
36 |
+PYTHON_COMPAT=( python3_{8..9} ) |
37 |
+ |
38 |
+inherit distutils-r1 |
39 |
+ |
40 |
+DESCRIPTION="Tool for checking common errors in RPM packages" |
41 |
+HOMEPAGE="https://github.com/rpm-software-management/rpmlint" |
42 |
+SRC_URI="https://github.com/rpm-software-management/rpmlint/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" |
43 |
+ |
44 |
+LICENSE="GPL-2" |
45 |
+SLOT="0" |
46 |
+KEYWORDS="~amd64" |
47 |
+ |
48 |
+RDEPEND=" |
49 |
+ ${PYTHON_DEPS} |
50 |
+ app-arch/bzip2 |
51 |
+ app-arch/cpio |
52 |
+ app-arch/gzip |
53 |
+ app-arch/xz-utils |
54 |
+ app-arch/zstd |
55 |
+ sys-devel/binutils:* |
56 |
+ |
57 |
+ $(python_gen_cond_dep ' |
58 |
+ app-arch/rpm[python,${PYTHON_SINGLE_USEDEP}] |
59 |
+ dev-python/pybeam[${PYTHON_USEDEP}] |
60 |
+ dev-python/pyxdg[${PYTHON_USEDEP}] |
61 |
+ dev-python/toml[${PYTHON_USEDEP}] |
62 |
+ dev-python/zstd[${PYTHON_USEDEP}] |
63 |
+ ') |
64 |
+" |
65 |
+DEPEND=" |
66 |
+ ${RDEPEND} |
67 |
+ test? ( |
68 |
+ app-shells/dash |
69 |
+ dev-libs/appstream-glib |
70 |
+ dev-util/desktop-file-utils |
71 |
+ dev-util/devscripts |
72 |
+ || ( |
73 |
+ ( app-text/hunspell[l10n_cs,l10n_en] app-text/enchant[hunspell] ) |
74 |
+ ( app-text/aspell[l10n_cs,l10n_en] app-text/enchant[aspell] ) |
75 |
+ ) |
76 |
+ |
77 |
+ $(python_gen_cond_dep ' |
78 |
+ dev-python/pyenchant[${PYTHON_USEDEP}] |
79 |
+ dev-python/pytest-xdist[${PYTHON_USEDEP}] |
80 |
+ dev-python/python-magic[${PYTHON_USEDEP}] |
81 |
+ ') |
82 |
+ ) |
83 |
+" |
84 |
+ |
85 |
+PATCHES=( "${FILESDIR}/no-coverage.patch" ) |
86 |
+ |
87 |
+distutils_enable_tests pytest |