summaryrefslogtreecommitdiff
path: root/dev-util/spec-cleaner
diff options
context:
space:
mode:
Diffstat (limited to 'dev-util/spec-cleaner')
-rw-r--r--dev-util/spec-cleaner/Manifest6
-rw-r--r--dev-util/spec-cleaner/spec-cleaner-1.0.6.ebuild48
-rw-r--r--dev-util/spec-cleaner/spec-cleaner-1.0.7.ebuild1
-rw-r--r--dev-util/spec-cleaner/spec-cleaner-9999.ebuild1
4 files changed, 4 insertions, 52 deletions
diff --git a/dev-util/spec-cleaner/Manifest b/dev-util/spec-cleaner/Manifest
index 851b46151b9d..e90ef157f48e 100644
--- a/dev-util/spec-cleaner/Manifest
+++ b/dev-util/spec-cleaner/Manifest
@@ -1,7 +1,5 @@
AUX spec-cleaner-1.0.6-pytest-runner.patch 348 BLAKE2B 4bdb0a4db5eb581f826f14452c980381756945985e9d45c09f2e7b16fb7f2367e7781d8a1b7b69f02e2c33cb1527fbcd437462cfed9061ca9ed4edfe4a439b9a SHA512 d971124da1dc1b8c93a359bd139bb6fa9226b383d0261a18f2f821a857872b6fc501649f66f5ad754c17e0f86c14c43eba59f25b9f99e804f76ccdcb973bb0ca
-DIST spec-cleaner-1.0.6.tar.gz 450602 BLAKE2B acd298421f2c119e24dc52cf63e149194d5baa1282f9aef902e2ccaf51de040f5817641b4077f209656f715ea6ceb19bf55b8661c32cd24f461c58f9126d9e19 SHA512 a27b5dc7fdb02ca5c632faa5b6a2b71d6db3e9f97950f20c15b14584fa240ff7b69dc981ca67f4fcb6af207dff28a8267447ad0eb918e06ce2294436892e0eef
DIST spec-cleaner-1.0.7.tar.gz 450429 BLAKE2B 7ec57076f13c526ca10524a3852a26ddee4581137357dd593312cc1b55d908311c9146ac2b9c0a5f0ea491a2e1cec8b8a3e5dba25467881f656d43872bd69f5f SHA512 705fc3b9d5b927a64bd19bbf6c826464e40ec6b3cc97cd032417f8e4debac721c7e5f0c99e02fafbb5ce3454424a8b398a7827779b0a308549955ecac33d39c7
-EBUILD spec-cleaner-1.0.6.ebuild 968 BLAKE2B e868d5247773fe0cd677857a3ec81cb01df333eabb754afb853fc114ea38ad1811a9ac193d8fc3c1631dab56ed2ea9a1f00626e8756916e29519afde72dfef70 SHA512 b071574af01366630c8941b521e8b6d9c520c7c88415eba72d24b4dff942fc0839e0cd4be75428142b3b8c165caab986122a7502380feb030c81181398e695b2
-EBUILD spec-cleaner-1.0.7.ebuild 974 BLAKE2B 8f5fd6cf2498a37083428e7a0b69ecdabd9b692047510d3c0b15ea4e94dacde80958d56bb7e514f58ce6fc06d7a75e1e6b56a1be80213b2ea0714d829bdf800f SHA512 3c28aab2c29b541f8781379fa6e2b6de335d00840ca0ed750d6c55a1904a29545154100bfa5b700e29de3bdbc95ee2d53fdeca2b722849283444575b8b6c588d
-EBUILD spec-cleaner-9999.ebuild 974 BLAKE2B 8f5fd6cf2498a37083428e7a0b69ecdabd9b692047510d3c0b15ea4e94dacde80958d56bb7e514f58ce6fc06d7a75e1e6b56a1be80213b2ea0714d829bdf800f SHA512 3c28aab2c29b541f8781379fa6e2b6de335d00840ca0ed750d6c55a1904a29545154100bfa5b700e29de3bdbc95ee2d53fdeca2b722849283444575b8b6c588d
+EBUILD spec-cleaner-1.0.7.ebuild 1001 BLAKE2B d5327ea117af00cb9c914b05b8033e04c08b6f117f906e06f1f57f6430a088befa784fa23467f2f068863c29f8f2da1cd4a3380d0e4850ae842c7ef01d69413a SHA512 9f61b512cb09bc665efecb0a41651a475325dbfbd1325cf03b99b5440fc307be2de267572d17bb22c527c88ab2d22a712457100c14a496fb84e9384cc51c2728
+EBUILD spec-cleaner-9999.ebuild 1001 BLAKE2B d5327ea117af00cb9c914b05b8033e04c08b6f117f906e06f1f57f6430a088befa784fa23467f2f068863c29f8f2da1cd4a3380d0e4850ae842c7ef01d69413a SHA512 9f61b512cb09bc665efecb0a41651a475325dbfbd1325cf03b99b5440fc307be2de267572d17bb22c527c88ab2d22a712457100c14a496fb84e9384cc51c2728
MISC metadata.xml 450 BLAKE2B b091afea0453f996442347131d337d2cb516a4a5e08a98e0b0ab4a6f2cdd19f7d4d284f02a9fecf35590998fd3143b9151c3cd6632c0bd7148374d307b0a28c0 SHA512 6f10ea61bcc2e9982fb7e1383959f36c77d881a495a9251819b47d168114272c5f26b7e5bcc80657f5d8a79ec18e0a1e7c54201fa6c773bc64d3ceff2a1ddc3c
diff --git a/dev-util/spec-cleaner/spec-cleaner-1.0.6.ebuild b/dev-util/spec-cleaner/spec-cleaner-1.0.6.ebuild
deleted file mode 100644
index 3f353a195e50..000000000000
--- a/dev-util/spec-cleaner/spec-cleaner-1.0.6.ebuild
+++ /dev/null
@@ -1,48 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-PYTHON_COMPAT=( python3_5 )
-EGIT_REPO_URI="https://github.com/openSUSE/spec-cleaner.git"
-inherit distutils-r1
-[[ ${PV} == 9999 ]] && inherit git-r3
-
-DESCRIPTION="SUSE spec file cleaner and formatter"
-HOMEPAGE="https://github.com/openSUSE/spec-cleaner"
-[[ ${PV} != 9999 ]] && SRC_URI="https://github.com/openSUSE/${PN}/archive/${P}.tar.gz"
-
-LICENSE="BSD"
-SLOT="0"
-[[ ${PV} != 9999 ]] &&
-KEYWORDS="~amd64 ~x86"
-IUSE="test"
-
-DEPEND="
- test? (
- dev-python/pytest[${PYTHON_USEDEP}]
- )
-"
-RDEPEND="
- ${PYTHON_DEPS}
- >=app-arch/rpm-4.11.0.1
-"
-
-PATCHES=(
- # pytest-runner is only needed in test scenario
- "${FILESDIR}/${PN}-1.0.6-pytest-runner.patch"
-)
-
-[[ ${PV} != 9999 ]] && S="${WORKDIR}/${PN}-${P}"
-
-src_prepare() {
- # we have libexec
- sed -i \
- -e 's:lib/obs:libexec/obs:g' \
- setup.py || die
- distutils-r1_src_prepare
-}
-
-python_test() {
- esetup.py test
-}
diff --git a/dev-util/spec-cleaner/spec-cleaner-1.0.7.ebuild b/dev-util/spec-cleaner/spec-cleaner-1.0.7.ebuild
index 0d59d5864047..5ad1196c7df7 100644
--- a/dev-util/spec-cleaner/spec-cleaner-1.0.7.ebuild
+++ b/dev-util/spec-cleaner/spec-cleaner-1.0.7.ebuild
@@ -17,6 +17,7 @@ SLOT="0"
[[ ${PV} != 9999 ]] &&
KEYWORDS="~amd64 ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
DEPEND="
test? (
diff --git a/dev-util/spec-cleaner/spec-cleaner-9999.ebuild b/dev-util/spec-cleaner/spec-cleaner-9999.ebuild
index 0d59d5864047..5ad1196c7df7 100644
--- a/dev-util/spec-cleaner/spec-cleaner-9999.ebuild
+++ b/dev-util/spec-cleaner/spec-cleaner-9999.ebuild
@@ -17,6 +17,7 @@ SLOT="0"
[[ ${PV} != 9999 ]] &&
KEYWORDS="~amd64 ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
DEPEND="
test? (