mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-17 19:13:13 -04:00
dev-util/rpmlint: treeclean
Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
This commit is contained in:
@@ -1 +0,0 @@
|
||||
DIST rpmlint-2.3.0.tar.gz 5738210 BLAKE2B ae6e2f494009e5f7d2235d4a6e0bbc54bc992f890285d713b50e73131d2926e6db5f230a03c07cef6c314e33e418d8a8522721b0896a78cf4a3c6dbc6ea7e2ac SHA512 8c10a58315695a5768a8f95de9bcae2cca264d48e1a672ff515a2696eee3664dc97c1653ef6e3e18e46f2286cb99430fb3eaa3b0dc6ac069a6b4b94d13584903
|
||||
@@ -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
|
||||
@@ -1,20 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<description>co-maintainers welcome</description>
|
||||
<email>lssndrbarbieri@gmail.com</email>
|
||||
<name>Alessandro Barbieri</name>
|
||||
</maintainer>
|
||||
<longdescription lang="en">
|
||||
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.
|
||||
</longdescription>
|
||||
<upstream>
|
||||
<bugs-to>https://github.com/rpm-software-management/rpmlint/issues</bugs-to>
|
||||
<remote-id type="github">rpm-software-management/rpmlint</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user