commit: 89d6aab1bc9898343e024c26e316f55c082c2b8b Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com> AuthorDate: Mon Oct 4 22:21:51 2021 +0000 Commit: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com> CommitDate: Mon Oct 4 22:30:21 2021 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=89d6aab1
dev-util/rpmlint: add 2.1.0 Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> 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 31ce8c8c630c967204d9fc5768a6689656e941d0498b53274e4a147ebd15eeafeed0fe14a0df258201c105a03216a6b32c0600008605778ea2c8306ec5d76e65 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 000000000..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