summaryrefslogtreecommitdiff
path: root/dev-util/spec-cleaner
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-util/spec-cleaner
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-util/spec-cleaner')
-rw-r--r--dev-util/spec-cleaner/Manifest6
-rw-r--r--dev-util/spec-cleaner/metadata.xml11
-rw-r--r--dev-util/spec-cleaner/spec-cleaner-0.8.9.ebuild43
-rw-r--r--dev-util/spec-cleaner/spec-cleaner-9999.ebuild43
4 files changed, 103 insertions, 0 deletions
diff --git a/dev-util/spec-cleaner/Manifest b/dev-util/spec-cleaner/Manifest
new file mode 100644
index 000000000000..40b189e06c98
--- /dev/null
+++ b/dev-util/spec-cleaner/Manifest
@@ -0,0 +1,6 @@
+DIST spec-cleaner-0.8.9.tar.gz 100949 SHA256 72bdfbaf074bd982ec670681051d50d2c3830afb08a9d680f026034081ef9885 SHA512 9e89c2760b429baa38be2ce2149fbd323b38a4c6159421192b07e612e359666810dc6077b2befd8a6d91b03aabc78bd4f81bb0e5cf5b4a274061b0aae0ab66f8 WHIRLPOOL 92b3f0ae406a2a5710e08297740238f4625ff9fef6b22439e6225fcd01b6420c20b9455a1c94c198d445e44fcc9c22f0b571df91dcf08e1c6f58dad637e018f7
+EBUILD spec-cleaner-0.8.9.ebuild 878 SHA256 c847572098623a2ae0a6c6a78fec53fca494af6d22d44914f19113658819fe87 SHA512 18f047622b1b235f424b24e98809697e96d9217df6c1a29010ed23c4a031d17ad7b7fdd7d4b4c5e18f9f40e7cd0d5870e2058669f5d72fac89a1746350c8ca87 WHIRLPOOL 24b911814e14d46ee3b7c330852533dc6edf3b9282e941423fe0c9bcc84a87fa8051ff51715f02dafe82b5f280c6cd171df8264dfe47a41c7b491e44e761f230
+EBUILD spec-cleaner-9999.ebuild 878 SHA256 c847572098623a2ae0a6c6a78fec53fca494af6d22d44914f19113658819fe87 SHA512 18f047622b1b235f424b24e98809697e96d9217df6c1a29010ed23c4a031d17ad7b7fdd7d4b4c5e18f9f40e7cd0d5870e2058669f5d72fac89a1746350c8ca87 WHIRLPOOL 24b911814e14d46ee3b7c330852533dc6edf3b9282e941423fe0c9bcc84a87fa8051ff51715f02dafe82b5f280c6cd171df8264dfe47a41c7b491e44e761f230
+MISC ChangeLog 3371 SHA256 294fe45a929c061680286d0c14c1bb46ad43355c2f1f630bfb62321be8c64643 SHA512 59168a2c153cfec8ff86004f60a27a5aa4f921759d815d16c04ea666346bf54e32db77836e08d96e2e37fdbce2c2ffead46dc646aaa30e49c22ddcb81e67dd5a WHIRLPOOL 8d6231edaea2553da46534668f02d8899c7fdba7172b496e39c1fe4434f0b6b28187f4f4c50d22b6697f0f6a2275b7dd0df5d417b523ac2be4087265a89800ff
+MISC ChangeLog-2015 3007 SHA256 cc9b398c5dc9695f8ffdc8d7333adc7e882dfb433b288ea49bcee52f489ee64b SHA512 9dbff712b2e352caa1ec7e76f787613ac93dff229081065be9c2eea8413dffa7ced0c5d8fdb485419772876288ec93c9a91e30b8d3b8255ee69eb8c1f41f202b WHIRLPOOL f37ae495556916fafcb5cc1cb04cb0ed0ddd488d5d613f24875c1d86d1f6bfd6df2c5e62e2b6aaf8ce8cc9d2d2e71b8b49af41f057c601ee1a992a7c781c935b
+MISC metadata.xml 322 SHA256 092400d8e465b0b1d1e3b64f575941564b775d4e6bd6f5869ba2124994c6f5cf SHA512 8a8ca164fa41039adace3aaa14fe39f27fca78bbc64211dc28561e45e75e9bd208d81f3f911dcb09c77d5c28614999132248454eb0431b2324b8a55f9ae69bf0 WHIRLPOOL 434cdae93c1d73320ea902723c4454cb091a139254b0d50253e200f0dc9c9c4b4050bdbe8a4481031118918091af41b4ddb8e093021fae9066634ffd08a8881e
diff --git a/dev-util/spec-cleaner/metadata.xml b/dev-util/spec-cleaner/metadata.xml
new file mode 100644
index 000000000000..b6e676944948
--- /dev/null
+++ b/dev-util/spec-cleaner/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>suse@gentoo.org</email>
+ <name>SUSE</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">openSUSE/spec-cleaner</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-util/spec-cleaner/spec-cleaner-0.8.9.ebuild b/dev-util/spec-cleaner/spec-cleaner-0.8.9.ebuild
new file mode 100644
index 000000000000..61a6579ab757
--- /dev/null
+++ b/dev-util/spec-cleaner/spec-cleaner-0.8.9.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+PYTHON_COMPAT=( python{2_7,3_4,3_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/mock[${PYTHON_USEDEP}]
+ dev-python/nose[${PYTHON_USEDEP}]
+ )
+"
+RDEPEND="
+ ${PYTHON_DEPS}
+"
+
+[[ ${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() {
+ nosetests
+}
diff --git a/dev-util/spec-cleaner/spec-cleaner-9999.ebuild b/dev-util/spec-cleaner/spec-cleaner-9999.ebuild
new file mode 100644
index 000000000000..61a6579ab757
--- /dev/null
+++ b/dev-util/spec-cleaner/spec-cleaner-9999.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+PYTHON_COMPAT=( python{2_7,3_4,3_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/mock[${PYTHON_USEDEP}]
+ dev-python/nose[${PYTHON_USEDEP}]
+ )
+"
+RDEPEND="
+ ${PYTHON_DEPS}
+"
+
+[[ ${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() {
+ nosetests
+}