[gentoo-commits] repo/proj/guru:dev commit in: dev-util/rpmlint/files/, profiles/, dev-util/rpmlint/

2022-08-11 Thread Andrew Ammerlaan
commit: 14812b460e20227fa57448c8cac3adcd6a41ab05
Author: Andrew Ammerlaan  gentoo  org>
AuthorDate: Thu Aug 11 13:55:47 2022 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Thu Aug 11 13:55:47 2022 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=14812b46

dev-util/rpmlint: treeclean

Signed-off-by: Andrew Ammerlaan  gentoo.org>

 dev-util/rpmlint/Manifest|  1 -
 dev-util/rpmlint/files/no-coverage.patch |  8 -
 dev-util/rpmlint/metadata.xml| 20 ---
 dev-util/rpmlint/rpmlint-2.3.0.ebuild| 57 
 profiles/package.mask|  4 ---
 5 files changed, 90 deletions(-)

diff --git a/dev-util/rpmlint/Manifest b/dev-util/rpmlint/Manifest
deleted file mode 100644
index ad2b7bd9c..0
--- a/dev-util/rpmlint/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST rpmlint-2.3.0.tar.gz 5738210 BLAKE2B 
ae6e2f494009e5f7d2235d4a6e0bbc54bc992f890285d713b50e73131d2926e6db5f230a03c07cef6c314e33e418d8a8522721b0896a78cf4a3c6dbc6ea7e2ac
 SHA512 
8c10a58315695a5768a8f95de9bcae2cca264d48e1a672ff515a2696eee3664dc97c1653ef6e3e18e46f2286cb99430fb3eaa3b0dc6ac069a6b4b94d13584903

diff --git a/dev-util/rpmlint/files/no-coverage.patch 
b/dev-util/rpmlint/files/no-coverage.patch
deleted file mode 100644
index 86edc54ec..0
--- a/dev-util/rpmlint/files/no-coverage.patch
+++ /dev/null
@@ -1,8 +0,0 @@
 a/setup.cfg
-+++ b/setup.cfg
-@@ -10,4 +10,4 @@
- application-import-names = Testing
- 
- [tool:pytest]
--addopts = -vv --cov=rpmlint -n auto --flake8
-+addopts = -vv

diff --git a/dev-util/rpmlint/metadata.xml b/dev-util/rpmlint/metadata.xml
deleted file mode 100644
index f7b6c936b..0
--- a/dev-util/rpmlint/metadata.xml
+++ /dev/null
@@ -1,20 +0,0 @@
-
-http://www.gentoo.org/dtd/metadata.dtd;>
-
-   
-   co-maintainers welcome
-   lssndrbarbi...@gmail.com
-   Alessandro Barbieri
-   
-   
-   rpmlint is a tool for checking common errors in rpm packages. 
It can be
-   used to test individual packages and spec files before 
uploading or to
-   check an entire distribution. By default all applicable checks 
are
-   processed but specific checks can be performed by using command 
line
-   parameters.
-   
-   
-   
https://github.com/rpm-software-management/rpmlint/issues
-   rpm-software-management/rpmlint
-   
-

diff --git a/dev-util/rpmlint/rpmlint-2.3.0.ebuild 
b/dev-util/rpmlint/rpmlint-2.3.0.ebuild
deleted file mode 100644
index fd823edea..0
--- a/dev-util/rpmlint/rpmlint-2.3.0.ebuild
+++ /dev/null
@@ -1,57 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_SINGLE_IMPL=1
-DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{8..10} )
-
-inherit distutils-r1
-
-DESCRIPTION="Tool for checking common errors in RPM packages"
-HOMEPAGE="https://github.com/rpm-software-management/rpmlint;
-SRC_URI="https://github.com/rpm-software-management/rpmlint/archive/refs/tags/${PV}.tar.gz
 -> ${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64"
-
-RDEPEND="
-   ${PYTHON_DEPS}
-   app-arch/bzip2
-   app-arch/cpio
-   app-arch/gzip
-   app-arch/xz-utils
-   app-arch/zstd
-   sys-devel/binutils:*
-
-   $(python_gen_cond_dep '
-   app-arch/rpm[python,${PYTHON_SINGLE_USEDEP}]
-   dev-python/pybeam[${PYTHON_USEDEP}]
-   dev-python/pyxdg[${PYTHON_USEDEP}]
-   dev-python/toml[${PYTHON_USEDEP}]
-   dev-python/zstandard[${PYTHON_USEDEP}]
-   dev-python/pyenchant[${PYTHON_USEDEP}]
-   dev-python/python-magic[${PYTHON_USEDEP}]
-   ')
-"
-DEPEND="
-   ${RDEPEND}
-   test? (
-   app-shells/dash
-   dev-libs/appstream-glib
-   dev-util/desktop-file-utils
-   dev-util/devscripts
-   || (
-   ( app-text/hunspell[l10n_cs,l10n_en] 
app-text/enchant[hunspell] )
-   ( app-text/aspell[l10n_cs,l10n_en] 
app-text/enchant[aspell] )
-   )
-
-   $(python_gen_cond_dep 
'dev-python/pytest-xdist[${PYTHON_USEDEP}]')
-   )
-"
-
-PATCHES=( "${FILESDIR}/no-coverage.patch" )
-
-distutils_enable_tests pytest

diff --git a/profiles/package.mask b/profiles/package.mask
index 44544dfbb..5629afab9 100644
--- a/profiles/package.mask
+++ b/profiles/package.mask
@@ -48,10 +48,6 @@ app-emulation/dxvk-bin
 app-editors/imhex
 dev-vcs/mergestat
 
-# Andrew Ammerlaan  (2022-07-03)
-# unavailable dependency dev-util/distro-info
-dev-util/rpmlint
-
 # Alessandro Barbieri  (2022-06-26)
 # depends on non-existent dev-python/m2r
 # https://github.com/jaysonsantos/python-binary-memcached/issues/249



[gentoo-commits] repo/proj/guru:dev commit in: dev-util/rpmlint/

2022-05-30 Thread Alessandro Barbieri
commit: 7256907b14c84bb794225900334fabc17b280fc3
Author: Alessandro Barbieri  gmail  com>
AuthorDate: Mon May 30 17:05:40 2022 +
Commit: Alessandro Barbieri  gmail  com>
CommitDate: Mon May 30 17:05:40 2022 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=7256907b

dev-util/rpmlint: drop 2.2.0

Signed-off-by: Alessandro Barbieri  gmail.com>

 dev-util/rpmlint/Manifest |  1 -
 dev-util/rpmlint/rpmlint-2.2.0.ebuild | 59 ---
 2 files changed, 60 deletions(-)

diff --git a/dev-util/rpmlint/Manifest b/dev-util/rpmlint/Manifest
index cc2ac4c29..ad2b7bd9c 100644
--- a/dev-util/rpmlint/Manifest
+++ b/dev-util/rpmlint/Manifest
@@ -1,2 +1 @@
-DIST rpmlint-2.2.0.tar.gz 5736449 BLAKE2B 
765ca9b4e3f594b85e70fd85f0e7207c22e1d3b9503361afd3af095101f55aeed84ecb204bf0f8a64b8df4daf9e9fb94f536db80201a3078ec93fa4d38ef3909
 SHA512 
5e16747231e3f815b405db194e5d1768d19a2b378db674f57b1ebcba17d0f3320626e4c2b648e79cc18062139c2c84fd176cd1e0fd7b6585d50492a7f272
 DIST rpmlint-2.3.0.tar.gz 5738210 BLAKE2B 
ae6e2f494009e5f7d2235d4a6e0bbc54bc992f890285d713b50e73131d2926e6db5f230a03c07cef6c314e33e418d8a8522721b0896a78cf4a3c6dbc6ea7e2ac
 SHA512 
8c10a58315695a5768a8f95de9bcae2cca264d48e1a672ff515a2696eee3664dc97c1653ef6e3e18e46f2286cb99430fb3eaa3b0dc6ac069a6b4b94d13584903

diff --git a/dev-util/rpmlint/rpmlint-2.2.0.ebuild 
b/dev-util/rpmlint/rpmlint-2.2.0.ebuild
deleted file mode 100644
index bbdf5ec06..0
--- a/dev-util/rpmlint/rpmlint-2.2.0.ebuild
+++ /dev/null
@@ -1,59 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_SINGLE_IMPL=1
-DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{8..9} )
-
-inherit distutils-r1
-
-DESCRIPTION="Tool for checking common errors in RPM packages"
-HOMEPAGE="https://github.com/rpm-software-management/rpmlint;
-SRC_URI="https://github.com/rpm-software-management/rpmlint/archive/refs/tags/${PV}.tar.gz
 -> ${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64"
-
-RDEPEND="
-   ${PYTHON_DEPS}
-   app-arch/bzip2
-   app-arch/cpio
-   app-arch/gzip
-   app-arch/xz-utils
-   app-arch/zstd
-   sys-devel/binutils:*
-
-   $(python_gen_cond_dep '
-   app-arch/rpm[python,${PYTHON_SINGLE_USEDEP}]
-   dev-python/pybeam[${PYTHON_USEDEP}]
-   dev-python/pyxdg[${PYTHON_USEDEP}]
-   dev-python/toml[${PYTHON_USEDEP}]
-   dev-python/zstd[${PYTHON_USEDEP}]
-   ')
-"
-DEPEND="
-   ${RDEPEND}
-   test? (
-   app-shells/dash
-   dev-libs/appstream-glib
-   dev-util/desktop-file-utils
-   dev-util/devscripts
-   || (
-   ( app-text/hunspell[l10n_cs,l10n_en] 
app-text/enchant[hunspell] )
-   ( app-text/aspell[l10n_cs,l10n_en] 
app-text/enchant[aspell] )
-   )
-
-   $(python_gen_cond_dep '
-   dev-python/pyenchant[${PYTHON_USEDEP}]
-   dev-python/pytest-xdist[${PYTHON_USEDEP}]
-   dev-python/python-magic[${PYTHON_USEDEP}]
-   ')
-   )
-"
-
-PATCHES=( "${FILESDIR}/no-coverage.patch" )
-
-distutils_enable_tests pytest



[gentoo-commits] repo/proj/guru:dev commit in: dev-util/rpmlint/

2022-05-30 Thread Alessandro Barbieri
commit: 88d8e8e9aa88b60ad565d9b5934d85953a3e2f05
Author: Alessandro Barbieri  gmail  com>
AuthorDate: Mon May 30 17:06:07 2022 +
Commit: Alessandro Barbieri  gmail  com>
CommitDate: Mon May 30 17:06:07 2022 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=88d8e8e9

dev-util/rpmlint: enable py3.10

Signed-off-by: Alessandro Barbieri  gmail.com>

 dev-util/rpmlint/rpmlint-2.3.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-util/rpmlint/rpmlint-2.3.0.ebuild 
b/dev-util/rpmlint/rpmlint-2.3.0.ebuild
index 504b62e67..fd823edea 100644
--- a/dev-util/rpmlint/rpmlint-2.3.0.ebuild
+++ b/dev-util/rpmlint/rpmlint-2.3.0.ebuild
@@ -5,7 +5,7 @@ EAPI=8
 
 DISTUTILS_SINGLE_IMPL=1
 DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{8..9} )
+PYTHON_COMPAT=( python3_{8..10} )
 
 inherit distutils-r1
 



[gentoo-commits] repo/proj/guru:dev commit in: dev-util/rpmlint/

2022-05-25 Thread Alessandro Barbieri
commit: e05116cfc58f9f007b98e35e3a0db0ff3487dc54
Author: Alessandro Barbieri  gmail  com>
AuthorDate: Wed May 25 18:07:14 2022 +
Commit: Alessandro Barbieri  gmail  com>
CommitDate: Wed May 25 19:21:46 2022 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e05116cf

dev-util/rpmlint: add 2.3.0, drop 2.1.0

Signed-off-by: Alessandro Barbieri  gmail.com>

 dev-util/rpmlint/Manifest   |  2 +-
 .../rpmlint/{rpmlint-2.1.0.ebuild => rpmlint-2.3.0.ebuild}  | 13 ++---
 2 files changed, 7 insertions(+), 8 deletions(-)

diff --git a/dev-util/rpmlint/Manifest b/dev-util/rpmlint/Manifest
index cf7b07fdf..cc2ac4c29 100644
--- a/dev-util/rpmlint/Manifest
+++ b/dev-util/rpmlint/Manifest
@@ -1,2 +1,2 @@
-DIST rpmlint-2.1.0.tar.gz 5670384 BLAKE2B 
cb7947956324a0c9e10d2bdc1e5d9d2354c37b748c97c3bbe0426104898e7ddc96bcad84fe7f03952688256c0f20da43b19ab98969056063f647a60851c841a7
 SHA512 
75df896259b5c340c528357309b2e5e1ce574b7e5e55dff573a1a7808faa3617da799df37e7e65064952a16549225beb16c1e12ba22f2fe4976a69696ed66f46
 DIST rpmlint-2.2.0.tar.gz 5736449 BLAKE2B 
765ca9b4e3f594b85e70fd85f0e7207c22e1d3b9503361afd3af095101f55aeed84ecb204bf0f8a64b8df4daf9e9fb94f536db80201a3078ec93fa4d38ef3909
 SHA512 
5e16747231e3f815b405db194e5d1768d19a2b378db674f57b1ebcba17d0f3320626e4c2b648e79cc18062139c2c84fd176cd1e0fd7b6585d50492a7f272
+DIST rpmlint-2.3.0.tar.gz 5738210 BLAKE2B 
ae6e2f494009e5f7d2235d4a6e0bbc54bc992f890285d713b50e73131d2926e6db5f230a03c07cef6c314e33e418d8a8522721b0896a78cf4a3c6dbc6ea7e2ac
 SHA512 
8c10a58315695a5768a8f95de9bcae2cca264d48e1a672ff515a2696eee3664dc97c1653ef6e3e18e46f2286cb99430fb3eaa3b0dc6ac069a6b4b94d13584903

diff --git a/dev-util/rpmlint/rpmlint-2.1.0.ebuild 
b/dev-util/rpmlint/rpmlint-2.3.0.ebuild
similarity index 80%
rename from dev-util/rpmlint/rpmlint-2.1.0.ebuild
rename to dev-util/rpmlint/rpmlint-2.3.0.ebuild
index 6c41815f5..504b62e67 100644
--- a/dev-util/rpmlint/rpmlint-2.1.0.ebuild
+++ b/dev-util/rpmlint/rpmlint-2.3.0.ebuild
@@ -1,9 +1,10 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
 DISTUTILS_SINGLE_IMPL=1
+DISTUTILS_USE_PEP517=setuptools
 PYTHON_COMPAT=( python3_{8..9} )
 
 inherit distutils-r1
@@ -30,7 +31,9 @@ RDEPEND="
dev-python/pybeam[${PYTHON_USEDEP}]
dev-python/pyxdg[${PYTHON_USEDEP}]
dev-python/toml[${PYTHON_USEDEP}]
-   dev-python/zstd[${PYTHON_USEDEP}]
+   dev-python/zstandard[${PYTHON_USEDEP}]
+   dev-python/pyenchant[${PYTHON_USEDEP}]
+   dev-python/python-magic[${PYTHON_USEDEP}]
')
 "
 DEPEND="
@@ -45,11 +48,7 @@ DEPEND="
( app-text/aspell[l10n_cs,l10n_en] 
app-text/enchant[aspell] )
)
 
-   $(python_gen_cond_dep '
-   dev-python/pyenchant[${PYTHON_USEDEP}]
-   dev-python/pytest-xdist[${PYTHON_USEDEP}]
-   dev-python/python-magic[${PYTHON_USEDEP}]
-   ')
+   $(python_gen_cond_dep 
'dev-python/pytest-xdist[${PYTHON_USEDEP}]')
)
 "
 



[gentoo-commits] repo/proj/guru:dev commit in: dev-util/rpmlint/

2022-03-19 Thread Alessandro Barbieri
commit: 85a4b24bd243671f19cb147550a21e360e78522d
Author: Alessandro Barbieri  gmail  com>
AuthorDate: Sun Mar 20 01:22:41 2022 +
Commit: Alessandro Barbieri  gmail  com>
CommitDate: Sun Mar 20 01:30:57 2022 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=85a4b24b

dev-util/rpmlint: add 2.2.0, drop 2.0.0

Signed-off-by: Alessandro Barbieri  gmail.com>

 dev-util/rpmlint/Manifest|  2 +-
 .../{rpmlint-2.0.0.ebuild => rpmlint-2.2.0.ebuild}   | 16 
 2 files changed, 5 insertions(+), 13 deletions(-)

diff --git a/dev-util/rpmlint/Manifest b/dev-util/rpmlint/Manifest
index 9a3ca3099..cf7b07fdf 100644
--- a/dev-util/rpmlint/Manifest
+++ b/dev-util/rpmlint/Manifest
@@ -1,2 +1,2 @@
-DIST rpmlint-2.0.0.tar.gz 5670600 BLAKE2B 
31ce8c8c630c967204d9fc5768a6689656e941d0498b53274e4a147ebd15eeafeed0fe14a0df258201c105a03216a6b32c068605778ea2c8306ec5d76e65
 SHA512 
f8f65ec90306bf59c0e31a8a3434477c38b8fb08aa2798b805afd57a506b00110797d514431e69dcb8dde5a54afad8606d8e1c973b8584c47cebed1420d6d61c
 DIST rpmlint-2.1.0.tar.gz 5670384 BLAKE2B 
cb7947956324a0c9e10d2bdc1e5d9d2354c37b748c97c3bbe0426104898e7ddc96bcad84fe7f03952688256c0f20da43b19ab98969056063f647a60851c841a7
 SHA512 
75df896259b5c340c528357309b2e5e1ce574b7e5e55dff573a1a7808faa3617da799df37e7e65064952a16549225beb16c1e12ba22f2fe4976a69696ed66f46
+DIST rpmlint-2.2.0.tar.gz 5736449 BLAKE2B 
765ca9b4e3f594b85e70fd85f0e7207c22e1d3b9503361afd3af095101f55aeed84ecb204bf0f8a64b8df4daf9e9fb94f536db80201a3078ec93fa4d38ef3909
 SHA512 
5e16747231e3f815b405db194e5d1768d19a2b378db674f57b1ebcba17d0f3320626e4c2b648e79cc18062139c2c84fd176cd1e0fd7b6585d50492a7f272

diff --git a/dev-util/rpmlint/rpmlint-2.0.0.ebuild 
b/dev-util/rpmlint/rpmlint-2.2.0.ebuild
similarity index 76%
rename from dev-util/rpmlint/rpmlint-2.0.0.ebuild
rename to dev-util/rpmlint/rpmlint-2.2.0.ebuild
index 60fc536ec..bbdf5ec06 100644
--- a/dev-util/rpmlint/rpmlint-2.0.0.ebuild
+++ b/dev-util/rpmlint/rpmlint-2.2.0.ebuild
@@ -1,10 +1,11 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI="7"
+EAPI=8
 
 DISTUTILS_SINGLE_IMPL=1
-PYTHON_COMPAT=( python3_{8,9} )
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{8..9} )
 
 inherit distutils-r1
 
@@ -56,12 +57,3 @@ DEPEND="
 PATCHES=( "${FILESDIR}/no-coverage.patch" )
 
 distutils_enable_tests pytest
-
-python_test() {
-   pytest -vv \
-   --deselect 
test/test_speccheck.py::test_check_invalid_url[spec/SpecCheck2] \
-   --deselect 
test/test_lint.py::test_run_installed_and_no_files \
-   --deselect 
test/test_lint.py::test_run_installed[packages0] \
-   --deselect test/test_ldd_parser.py::test_dependencies \
-   || die
-}



[gentoo-commits] repo/proj/guru:dev commit in: dev-util/rpmlint/

2021-10-04 Thread Alessandro Barbieri
commit: 89d6aab1bc9898343e024c26e316f55c082c2b8b
Author: Alessandro Barbieri  gmail  com>
AuthorDate: Mon Oct  4 22:21:51 2021 +
Commit: Alessandro Barbieri  gmail  com>
CommitDate: Mon Oct  4 22:30:21 2021 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=89d6aab1

dev-util/rpmlint: add 2.1.0

Signed-off-by: Alessandro Barbieri  gmail.com>

 dev-util/rpmlint/Manifest |  1 +
 dev-util/rpmlint/rpmlint-2.1.0.ebuild | 58 +++
 2 files changed, 59 insertions(+)

diff --git a/dev-util/rpmlint/Manifest b/dev-util/rpmlint/Manifest
index 2b0e122ca..9a3ca3099 100644
--- a/dev-util/rpmlint/Manifest
+++ b/dev-util/rpmlint/Manifest
@@ -1 +1,2 @@
 DIST rpmlint-2.0.0.tar.gz 5670600 BLAKE2B 
31ce8c8c630c967204d9fc5768a6689656e941d0498b53274e4a147ebd15eeafeed0fe14a0df258201c105a03216a6b32c068605778ea2c8306ec5d76e65
 SHA512 
f8f65ec90306bf59c0e31a8a3434477c38b8fb08aa2798b805afd57a506b00110797d514431e69dcb8dde5a54afad8606d8e1c973b8584c47cebed1420d6d61c
+DIST rpmlint-2.1.0.tar.gz 5670384 BLAKE2B 
cb7947956324a0c9e10d2bdc1e5d9d2354c37b748c97c3bbe0426104898e7ddc96bcad84fe7f03952688256c0f20da43b19ab98969056063f647a60851c841a7
 SHA512 
75df896259b5c340c528357309b2e5e1ce574b7e5e55dff573a1a7808faa3617da799df37e7e65064952a16549225beb16c1e12ba22f2fe4976a69696ed66f46

diff --git a/dev-util/rpmlint/rpmlint-2.1.0.ebuild 
b/dev-util/rpmlint/rpmlint-2.1.0.ebuild
new file mode 100644
index 0..6c41815f5
--- /dev/null
+++ b/dev-util/rpmlint/rpmlint-2.1.0.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_SINGLE_IMPL=1
+PYTHON_COMPAT=( python3_{8..9} )
+
+inherit distutils-r1
+
+DESCRIPTION="Tool for checking common errors in RPM packages"
+HOMEPAGE="https://github.com/rpm-software-management/rpmlint;
+SRC_URI="https://github.com/rpm-software-management/rpmlint/archive/refs/tags/${PV}.tar.gz
 -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND="
+   ${PYTHON_DEPS}
+   app-arch/bzip2
+   app-arch/cpio
+   app-arch/gzip
+   app-arch/xz-utils
+   app-arch/zstd
+   sys-devel/binutils:*
+
+   $(python_gen_cond_dep '
+   app-arch/rpm[python,${PYTHON_SINGLE_USEDEP}]
+   dev-python/pybeam[${PYTHON_USEDEP}]
+   dev-python/pyxdg[${PYTHON_USEDEP}]
+   dev-python/toml[${PYTHON_USEDEP}]
+   dev-python/zstd[${PYTHON_USEDEP}]
+   ')
+"
+DEPEND="
+   ${RDEPEND}
+   test? (
+   app-shells/dash
+   dev-libs/appstream-glib
+   dev-util/desktop-file-utils
+   dev-util/devscripts
+   || (
+   ( app-text/hunspell[l10n_cs,l10n_en] 
app-text/enchant[hunspell] )
+   ( app-text/aspell[l10n_cs,l10n_en] 
app-text/enchant[aspell] )
+   )
+
+   $(python_gen_cond_dep '
+   dev-python/pyenchant[${PYTHON_USEDEP}]
+   dev-python/pytest-xdist[${PYTHON_USEDEP}]
+   dev-python/python-magic[${PYTHON_USEDEP}]
+   ')
+   )
+"
+
+PATCHES=( "${FILESDIR}/no-coverage.patch" )
+
+distutils_enable_tests pytest



[gentoo-commits] repo/proj/guru:dev commit in: dev-util/rpmlint/

2021-05-19 Thread Alessandro Barbieri
commit: 853f40ddaa12da3c13309e3421c825adf63200c3
Author: Alessandro Barbieri  gmail  com>
AuthorDate: Wed May 19 09:02:39 2021 +
Commit: Alessandro Barbieri  gmail  com>
CommitDate: Wed May 19 17:36:04 2021 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=853f40dd

dev-util/rpmlint: add 2.0.0, drop 1.11_p20210515

Signed-off-by: Alessandro Barbieri  gmail.com>

 dev-util/rpmlint/Manifest| 2 +-
 .../rpmlint/{rpmlint-1.11_p20210515.ebuild => rpmlint-2.0.0.ebuild}  | 5 ++---
 2 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/dev-util/rpmlint/Manifest b/dev-util/rpmlint/Manifest
index 5c9b4c880..2b0e122ca 100644
--- a/dev-util/rpmlint/Manifest
+++ b/dev-util/rpmlint/Manifest
@@ -1 +1 @@
-DIST rpmlint-1.11_p20210515.tar.gz 5670517 BLAKE2B 
b85727f45cf56a89d0b7a1394b72f627cde6704236851e548712c19389baced8dc86995fad0d5ee274e79e10cece553e4b2870b012d8063eef93d56c03f5ee5c
 SHA512 
c8b40b93cfeb16b96588536948c84b0bbfed18b9e63668b68d8b7574e7bc90c5a15a7efc2b612ea4d4db470b156f5e29abee7acb69f3edb86d20482e499b0140
+DIST rpmlint-2.0.0.tar.gz 5670600 BLAKE2B 
31ce8c8c630c967204d9fc5768a6689656e941d0498b53274e4a147ebd15eeafeed0fe14a0df258201c105a03216a6b32c068605778ea2c8306ec5d76e65
 SHA512 
f8f65ec90306bf59c0e31a8a3434477c38b8fb08aa2798b805afd57a506b00110797d514431e69dcb8dde5a54afad8606d8e1c973b8584c47cebed1420d6d61c

diff --git a/dev-util/rpmlint/rpmlint-1.11_p20210515.ebuild 
b/dev-util/rpmlint/rpmlint-2.0.0.ebuild
similarity index 93%
rename from dev-util/rpmlint/rpmlint-1.11_p20210515.ebuild
rename to dev-util/rpmlint/rpmlint-2.0.0.ebuild
index a8543c0f3..65521078b 100644
--- a/dev-util/rpmlint/rpmlint-1.11_p20210515.ebuild
+++ b/dev-util/rpmlint/rpmlint-2.0.0.ebuild
@@ -3,7 +3,6 @@
 
 EAPI="7"
 
-COMMIT="af4cbdcc93267c065fbb7c7248d203977343523f"
 DISTUTILS_SINGLE_IMPL=1
 PYTHON_COMPAT=( python3_{7,8,9} )
 
@@ -11,8 +10,8 @@ inherit distutils-r1
 
 DESCRIPTION="Tool for checking common errors in RPM packages"
 HOMEPAGE="https://github.com/rpm-software-management/rpmlint;
-SRC_URI="https://github.com/rpm-software-management/rpmlint/archive/${COMMIT}.tar.gz
 -> ${P}.tar.gz"
-S="${WORKDIR}/${PN}-${COMMIT}"
+SRC_URI="https://github.com/rpm-software-management/rpmlint/archive/refs/tags/${PV}.tar.gz
 -> ${P}.tar.gz"
+
 LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="~amd64"



[gentoo-commits] repo/proj/guru:dev commit in: dev-util/rpmlint/

2021-05-16 Thread Alessandro Barbieri
commit: 67f45c31cf87570ac16babf4b9ac8f5dbb201953
Author: Alessandro Barbieri  gmail  com>
AuthorDate: Sun May 16 15:11:20 2021 +
Commit: Alessandro Barbieri  gmail  com>
CommitDate: Sun May 16 15:12:18 2021 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=67f45c31

dev-util/rpmlint: improve metadata

Signed-off-by: Alessandro Barbieri  gmail.com>

 dev-util/rpmlint/metadata.xml | 4 
 1 file changed, 4 insertions(+)

diff --git a/dev-util/rpmlint/metadata.xml b/dev-util/rpmlint/metadata.xml
index 3bf9e7edc..1feaf581d 100644
--- a/dev-util/rpmlint/metadata.xml
+++ b/dev-util/rpmlint/metadata.xml
@@ -13,4 +13,8 @@
processed but specific checks can be performed by using command 
line
parameters.

+   
+   
https://github.com/rpm-software-management/rpmlint/issues
+   rpm-software-management/rpmlint
+   
 



[gentoo-commits] repo/proj/guru:dev commit in: dev-util/rpmlint/files/, dev-util/rpmlint/

2021-05-16 Thread Alessandro Barbieri
commit: 67ee634e31bea5f4d0b3e06e8e4d13d2b5db6ab5
Author: Alessandro Barbieri  gmail  com>
AuthorDate: Sun May 16 15:09:43 2021 +
Commit: Alessandro Barbieri  gmail  com>
CommitDate: Sun May 16 15:12:18 2021 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=67ee634e

dev-util/rpmlint: new package

Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Alessandro Barbieri  gmail.com>

 dev-util/rpmlint/Manifest  |  1 +
 dev-util/rpmlint/files/no-coverage.patch   |  8 +++
 dev-util/rpmlint/metadata.xml  | 16 ++
 dev-util/rpmlint/rpmlint-1.11_p20210515.ebuild | 68 ++
 4 files changed, 93 insertions(+)

diff --git a/dev-util/rpmlint/Manifest b/dev-util/rpmlint/Manifest
new file mode 100644
index 0..5c9b4c880
--- /dev/null
+++ b/dev-util/rpmlint/Manifest
@@ -0,0 +1 @@
+DIST rpmlint-1.11_p20210515.tar.gz 5670517 BLAKE2B 
b85727f45cf56a89d0b7a1394b72f627cde6704236851e548712c19389baced8dc86995fad0d5ee274e79e10cece553e4b2870b012d8063eef93d56c03f5ee5c
 SHA512 
c8b40b93cfeb16b96588536948c84b0bbfed18b9e63668b68d8b7574e7bc90c5a15a7efc2b612ea4d4db470b156f5e29abee7acb69f3edb86d20482e499b0140

diff --git a/dev-util/rpmlint/files/no-coverage.patch 
b/dev-util/rpmlint/files/no-coverage.patch
new file mode 100644
index 0..86edc54ec
--- /dev/null
+++ b/dev-util/rpmlint/files/no-coverage.patch
@@ -0,0 +1,8 @@
+--- a/setup.cfg
 b/setup.cfg
+@@ -10,4 +10,4 @@
+ application-import-names = Testing
+ 
+ [tool:pytest]
+-addopts = -vv --cov=rpmlint -n auto --flake8
++addopts = -vv

diff --git a/dev-util/rpmlint/metadata.xml b/dev-util/rpmlint/metadata.xml
new file mode 100644
index 0..3bf9e7edc
--- /dev/null
+++ b/dev-util/rpmlint/metadata.xml
@@ -0,0 +1,16 @@
+
+http://www.gentoo.org/dtd/metadata.dtd;>
+
+   
+   comaintainers welcome
+   lssndrbarbi...@gmail.com
+   Alessandro Barbieri
+   
+   
+   rpmlint is a tool for checking common errors in rpm packages. 
It can be
+   used to test individual packages and spec files before 
uploading or to
+   check an entire distribution. By default all applicable checks 
are
+   processed but specific checks can be performed by using command 
line
+   parameters.
+   
+

diff --git a/dev-util/rpmlint/rpmlint-1.11_p20210515.ebuild 
b/dev-util/rpmlint/rpmlint-1.11_p20210515.ebuild
new file mode 100644
index 0..a8543c0f3
--- /dev/null
+++ b/dev-util/rpmlint/rpmlint-1.11_p20210515.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="7"
+
+COMMIT="af4cbdcc93267c065fbb7c7248d203977343523f"
+DISTUTILS_SINGLE_IMPL=1
+PYTHON_COMPAT=( python3_{7,8,9} )
+
+inherit distutils-r1
+
+DESCRIPTION="Tool for checking common errors in RPM packages"
+HOMEPAGE="https://github.com/rpm-software-management/rpmlint;
+SRC_URI="https://github.com/rpm-software-management/rpmlint/archive/${COMMIT}.tar.gz
 -> ${P}.tar.gz"
+S="${WORKDIR}/${PN}-${COMMIT}"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND="
+   ${PYTHON_DEPS}
+   app-arch/bzip2
+   app-arch/cpio
+   app-arch/gzip
+   app-arch/xz-utils
+   app-arch/zstd
+   sys-devel/binutils:*
+
+   $(python_gen_cond_dep '
+   app-arch/rpm[python,${PYTHON_SINGLE_USEDEP}]
+   dev-python/pybeam[${PYTHON_USEDEP}]
+   dev-python/pyxdg[${PYTHON_USEDEP}]
+   dev-python/toml[${PYTHON_USEDEP}]
+   dev-python/zstd[${PYTHON_USEDEP}]
+   ')
+"
+DEPEND="
+   ${RDEPEND}
+   test? (
+   app-shells/dash
+   dev-libs/appstream-glib
+   dev-util/desktop-file-utils
+   dev-util/devscripts
+   || (
+   ( app-text/hunspell[l10n_cs,l10n_en] 
app-text/enchant[hunspell] )
+   ( app-text/aspell[l10n_cs,l10n_en] 
app-text/enchant[aspell] )
+   )
+
+   $(python_gen_cond_dep '
+   dev-python/pyenchant[${PYTHON_USEDEP}]
+   dev-python/pytest-xdist[${PYTHON_USEDEP}]
+   dev-python/python-magic[${PYTHON_USEDEP}]
+   ')
+   )
+"
+
+PATCHES=( "${FILESDIR}/no-coverage.patch" )
+
+distutils_enable_tests pytest
+
+python_test() {
+   pytest -vv \
+   --deselect 
test/test_speccheck.py::test_check_invalid_url[spec/SpecCheck2] \
+   --deselect 
test/test_lint.py::test_run_installed_and_no_files \
+   --deselect 
test/test_lint.py::test_run_installed[packages0] \
+   --deselect test/test_ldd_parser.py::test_dependencies \
+   || die
+}