diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-util/osc |
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-util/osc')
-rw-r--r-- | dev-util/osc/Manifest | 11 | ||||
-rw-r--r-- | dev-util/osc/files/osc-0.139.2-out-of-tree-build.patch | 20 | ||||
-rw-r--r-- | dev-util/osc/metadata.xml | 11 | ||||
-rw-r--r-- | dev-util/osc/osc-0.148.2.ebuild | 62 | ||||
-rw-r--r-- | dev-util/osc/osc-0.152.0.ebuild | 62 | ||||
-rw-r--r-- | dev-util/osc/osc-0.154.0.ebuild | 62 | ||||
-rw-r--r-- | dev-util/osc/osc-9999.ebuild | 62 |
7 files changed, 290 insertions, 0 deletions
diff --git a/dev-util/osc/Manifest b/dev-util/osc/Manifest new file mode 100644 index 000000000000..8d48fa9f0b6b --- /dev/null +++ b/dev-util/osc/Manifest @@ -0,0 +1,11 @@ +AUX osc-0.139.2-out-of-tree-build.patch 708 SHA256 59c717f4baf357a9ea076f71a10db66a36232ae0b794a38914ac06bf9bf7cee3 SHA512 5663497e5a2685a48407d4eece16b64c33275808252b29f05ff507274951b0a8d9fc77e0d3f9a2412089d683ac1eb547ebd16ef2491ac55944fcc6f40fc8c166 WHIRLPOOL 29a0783dd30e1fa45b35a17feaf002a335ff3697badb835e83c5669e208fc2df8f4ce37c24574a76c746374b0703ec4108a500335bd6dd68a23c5f6c7d8eb2dd +DIST osc-0.148.2.tar.gz 6818939 SHA256 573d23d84e47316bd2eaed16e37696a1b87b8bc8cb457be5403ecfcb4da44c4c SHA512 4e17c8fb8f78a3f9a279f27e3c52fa1a4d6ee62825e06a5943b144ff39a3c53650d31c1b8033ee78cf6f3d4e85c140b2fc0c7f86b3d134cea59fc8da24e3fd16 WHIRLPOOL 20160e3148f21ff78074f4858928fee20227defe1065c8971c9e1823ab7cb5195edab2ac9da4662667be49ad2dc772c1d260a83eae59166c362f3050b88fd19d +DIST osc-0.152.0.tar.gz 331512 SHA256 e30508cb6197c48a4ac6364eb60e47a850a67faa705cc2eafbce4f1072c30b41 SHA512 273bad36565d4f90b1a1f9af965367728559e5d0d8060689b1086f1df12fd3ef575900064973888cba1c06fb2d7c0e998161d65c04581a040750ef34281f035a WHIRLPOOL f2937f91649f04a9c6710851cb6e52f5cf1614169c643e8ce82c8c3ad611f252e96b9002f7dfb2a9be762c86f9feb12f2e6b39f5f57fcf5b6a33e12ff975a3bc +DIST osc-0.154.0.tar.gz 341789 SHA256 00612f245db2f090c747e79d300440256252d5e739e8882ef4268a8e42739a6c SHA512 1240bc9cc9079115342fc0bff1e522ca8fbff0a22b15fc2bfa90817241fd42e2350dd9344e5d6e3e0b5842be3f010398d108c7f9c7d474bde5c2300f7bf6bfb7 WHIRLPOOL 7b7a656525796a531c0cba8d0ed8ddaa2c004717407b1b30b7bbfd6c2f44acc65e47cf1b67e597229318b5c374077b63bcf6a002ebc2717724c1ad8e7c893a75 +EBUILD osc-0.148.2.ebuild 1518 SHA256 d0fbc029402bf4f0d6d419f852d89ba2eea044be8e371825b3527473a8d8e4c7 SHA512 1ee27f8833e560aa25d3e1f747c45a32d0cd33100b7cbceef29e632abc30a01f6c3b5107804d15de474d090e0cc6edf20b63e722bc6ffd3f0173a103b3fde64f WHIRLPOOL 2f27a35f292f7525593dedf29311137c46fe97a2f7efda581a5e54e15d6c719adfdd8072172acdd6e297c4fddf3eb128f6c59ebd05ced8bfc1f73a26d6dda948 +EBUILD osc-0.152.0.ebuild 1520 SHA256 f82676af1fe41c7c1605de6d5d629f7ca9b3019c13f91e71919a7d181081a271 SHA512 d9147c1a3c9269a46095e72cd2bfb7d09b1a8bbcd51ee76ea2f7134cf154509cf92d1440fecb42c0b91a99fa2502fecf7d32eea2ed0f391a983284ee2799f1ea WHIRLPOOL 87d5e26b01abe08ce3984c5bfba44adc658bf228f995131c214b889070ce741941f1fe63994ae8f8df17183f870faefab6072aa0b4210378038ac86ce03a976b +EBUILD osc-0.154.0.ebuild 1522 SHA256 65f0c0e675f46538550049521226794fcd469b05973355494e2044ef73608257 SHA512 fea65ff434da0ce6e4d4bf78261dddb8f20c26404c25562129346998bac7d8b98ebfb49325f1861c7736904937ce32d47da47905b492af6090ce631192c7a3f8 WHIRLPOOL 8f09179d35339b1d168d086b78986d6a25055e46a4f0b931e4258ef982ba88eb179ef7bfdd28ae43fa9d3dceacfaa9a0bfe949cfa1207498f90c8fc47a680d7c +EBUILD osc-9999.ebuild 1522 SHA256 65f0c0e675f46538550049521226794fcd469b05973355494e2044ef73608257 SHA512 fea65ff434da0ce6e4d4bf78261dddb8f20c26404c25562129346998bac7d8b98ebfb49325f1861c7736904937ce32d47da47905b492af6090ce631192c7a3f8 WHIRLPOOL 8f09179d35339b1d168d086b78986d6a25055e46a4f0b931e4258ef982ba88eb179ef7bfdd28ae43fa9d3dceacfaa9a0bfe949cfa1207498f90c8fc47a680d7c +MISC ChangeLog 3709 SHA256 51990d9342d4ffb6d97ef5790df7b4c7114fa2b6d3f2024aaa7e14f5e5c89669 SHA512 cef010f6cc80c03925d5a9efc051bd9f291a0fcd3adbde72d77b2c24cf162ba5f7c1893f87369bf29088253d0244c5050c0a6fe576f639f2a796ae9ac25a6c9a WHIRLPOOL a029b185bdea62ea547ed50626e0ceadbf2cd95f38fcecf8aecbfc39014ee5a7ef03eedf8e928d2f54eff61a9e55a4641c36fdd74031f9b9e43c4d3f865d2f5a +MISC ChangeLog-2015 6223 SHA256 231c9eee43f45254817aa89d45a862a3e6dea631f23044b57034ca7fd6040b18 SHA512 6da0626589d5d3620fd8e5fbd06e95cd32084b7cd9dcff990d59a500f8c82cf752409a8b2ee1354e0890187054e0e61bf5f8f9779a80a20ada06b74a2037c84f WHIRLPOOL edf716ba01e03dcfba3255cfb791c191e7250921cd123ed038f02def6a723e2398fbcc1ba0125a2fc3eb72ebcaf32da6ef24b8603127f60cf8156c2184a9cd0b +MISC metadata.xml 498 SHA256 6a138586438114b9a07e7ecd1ede955a4f906ad7c80d3fea2cc88ec66c896e7a SHA512 670b8bad9b8be7908537e369e9b6de78b21672f88f8e47025c4b1f8e054834a62e563f2b1dd063bc8bd1c40cea88541440170d4275e4ef2391542a4e499fffdb WHIRLPOOL e1088abdfa9de6199c4a8fdfd6a5f225c3010c8c4c1bf5dabe80cb4487f92e114e5013751c467d248bf4d53f05d5441fb2ef6dff6795101b6c7d24bae43b201c diff --git a/dev-util/osc/files/osc-0.139.2-out-of-tree-build.patch b/dev-util/osc/files/osc-0.139.2-out-of-tree-build.patch new file mode 100644 index 000000000000..d0adfe53f615 --- /dev/null +++ b/dev-util/osc/files/osc-0.139.2-out-of-tree-build.patch @@ -0,0 +1,20 @@ +--- setup.py.orig 2013-05-27 13:51:06.143039789 +0000 ++++ setup.py 2013-05-27 13:53:27.814034661 +0000 +@@ -25,7 +25,7 @@ + """ + """ + import gzip +- man_path = os.path.join('build', 'osc.1.gz') ++ man_path = 'osc.1.gz' + distutils.log.info('generating %s' % man_path) + outfile = gzip.open(man_path, 'w') + osccli = commandline.Osc(stdout=outfile) +@@ -48,7 +48,7 @@ + + data_files = [] + if sys.platform[:3] != 'win': +- data_files.append((os.path.join('share', 'man', 'man1'), [os.path.join('build', 'osc.1.gz')])) ++ data_files.append((os.path.join('share', 'man', 'man1'), ['osc.1.gz'])) + + setup(name='osc', + version = osc.core.__version__, diff --git a/dev-util/osc/metadata.xml b/dev-util/osc/metadata.xml new file mode 100644 index 000000000000..3e0165c6d2fe --- /dev/null +++ b/dev-util/osc/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> +<longdescription lang="en"> +Subversion-like client for Open Build Service - http://open-build-service.org/ It serves as client for the source code repository part of the build service, and it is used to edit metadata or query about build results. +</longdescription> +</pkgmetadata> diff --git a/dev-util/osc/osc-0.148.2.ebuild b/dev-util/osc/osc-0.148.2.ebuild new file mode 100644 index 000000000000..ff92ebd5d75d --- /dev/null +++ b/dev-util/osc/osc-0.148.2.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +EGIT_REPO_URI="https://github.com/openSUSE/osc.git" + +PYTHON_COMPAT=( python2_7 ) +PYTHON_REQ_USE="xml" + +if [[ "${PV}" == "9999" ]]; then + EXTRA_ECLASS="git-2" +else + OBS_PROJECT="openSUSE:Tools" + EXTRA_ECLASS="obs-download" +fi + +DISTUTILS_SINGLE_IMPL=1 +inherit distutils-r1 ${EXTRA_ECLASS} +unset EXTRA_ECLASS + +DESCRIPTION="Command line tool for Open Build Service" +HOMEPAGE="https://en.opensuse.org/openSUSE:OSC" + +[[ "${PV}" == "9999" ]] || SRC_URI="${OBS_URI}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +IUSE="" + +# Don't move KEYWORDS on the previous line or ekeyword won't work # 399061 +[[ "${PV}" == "9999" ]] || \ +KEYWORDS="amd64 x86" + +DEPEND=" + dev-python/urlgrabber[${PYTHON_USEDEP}] + app-arch/rpm[python,${PYTHON_USEDEP}] + dev-python/m2crypto[${PYTHON_USEDEP}] + ${PYTHON_DEPS} +" +PDEPEND="${DEPEND} + app-admin/sudo + dev-util/obs-service-meta +" + +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +src_prepare() { + epatch "${FILESDIR}"/${PN}-0.139.2-out-of-tree-build.patch + distutils-r1_src_prepare +} + +src_install() { + distutils-r1_src_install + dosym osc-wrapper.py /usr/bin/osc + keepdir /usr/lib/osc/source_validators + cd "${ED}"/usr/ + find . -type f -exec sed -i 's|/usr/bin/build|/usr/bin/suse-build|g' {} + + find . -type f -exec sed -i 's|/usr/lib/build|/usr/libexec/suse-build|g' {} + + find . -type f -exec sed -i 's|/usr/lib/obs|/usr/libexec/obs|g' {} + + rm -f "${ED}"/usr/share/doc/${PN}*/TODO* +} diff --git a/dev-util/osc/osc-0.152.0.ebuild b/dev-util/osc/osc-0.152.0.ebuild new file mode 100644 index 000000000000..0a9fe2d65388 --- /dev/null +++ b/dev-util/osc/osc-0.152.0.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +EGIT_REPO_URI="https://github.com/openSUSE/${PN}.git" + +PYTHON_COMPAT=( python2_7 ) +PYTHON_REQ_USE="xml" + +if [[ "${PV}" == "9999" ]]; then + EXTRA_ECLASS="git-2" +else + OBS_PROJECT="openSUSE:Tools" + EXTRA_ECLASS="obs-download" +fi + +DISTUTILS_SINGLE_IMPL=1 +inherit distutils-r1 ${EXTRA_ECLASS} +unset EXTRA_ECLASS + +DESCRIPTION="Command line tool for Open Build Service" +HOMEPAGE="https://en.opensuse.org/openSUSE:OSC" + +[[ "${PV}" == "9999" ]] || SRC_URI="${OBS_URI}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +IUSE="" + +# Don't move KEYWORDS on the previous line or ekeyword won't work # 399061 +[[ "${PV}" == "9999" ]] || \ +KEYWORDS="amd64 x86" + +DEPEND=" + dev-python/urlgrabber[${PYTHON_USEDEP}] + app-arch/rpm[python,${PYTHON_USEDEP}] + dev-python/m2crypto[${PYTHON_USEDEP}] + ${PYTHON_DEPS} +" +PDEPEND="${DEPEND} + app-admin/sudo + dev-util/obs-service-meta +" + +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +src_prepare() { + epatch "${FILESDIR}"/${PN}-0.139.2-out-of-tree-build.patch + distutils-r1_src_prepare +} + +src_install() { + distutils-r1_src_install + dosym osc-wrapper.py /usr/bin/osc + keepdir /usr/lib/osc/source_validators + cd "${ED}"/usr/ + find . -type f -exec sed -i 's|/usr/bin/build|/usr/bin/suse-build|g' {} + + find . -type f -exec sed -i 's|/usr/lib/build|/usr/libexec/suse-build|g' {} + + find . -type f -exec sed -i 's|/usr/lib/obs|/usr/libexec/obs|g' {} + + rm -f "${ED}"/usr/share/doc/${PN}*/TODO* +} diff --git a/dev-util/osc/osc-0.154.0.ebuild b/dev-util/osc/osc-0.154.0.ebuild new file mode 100644 index 000000000000..42d6d248359a --- /dev/null +++ b/dev-util/osc/osc-0.154.0.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +EGIT_REPO_URI="https://github.com/openSUSE/${PN}.git" + +PYTHON_COMPAT=( python2_7 ) +PYTHON_REQ_USE="xml" + +if [[ "${PV}" == "9999" ]]; then + EXTRA_ECLASS="git-2" +else + OBS_PROJECT="openSUSE:Tools" + EXTRA_ECLASS="obs-download" +fi + +DISTUTILS_SINGLE_IMPL=1 +inherit distutils-r1 ${EXTRA_ECLASS} +unset EXTRA_ECLASS + +DESCRIPTION="Command line tool for Open Build Service" +HOMEPAGE="https://en.opensuse.org/openSUSE:OSC" + +[[ "${PV}" == "9999" ]] || SRC_URI="${OBS_URI}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +IUSE="" + +# Don't move KEYWORDS on the previous line or ekeyword won't work # 399061 +[[ "${PV}" == "9999" ]] || \ +KEYWORDS="~amd64 ~x86" + +DEPEND=" + dev-python/urlgrabber[${PYTHON_USEDEP}] + app-arch/rpm[python,${PYTHON_USEDEP}] + dev-python/m2crypto[${PYTHON_USEDEP}] + ${PYTHON_DEPS} +" +PDEPEND="${DEPEND} + app-admin/sudo + dev-util/obs-service-meta +" + +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +src_prepare() { + epatch "${FILESDIR}"/${PN}-0.139.2-out-of-tree-build.patch + distutils-r1_src_prepare +} + +src_install() { + distutils-r1_src_install + dosym osc-wrapper.py /usr/bin/osc + keepdir /usr/lib/osc/source_validators + cd "${ED}"/usr/ + find . -type f -exec sed -i 's|/usr/bin/build|/usr/bin/suse-build|g' {} + + find . -type f -exec sed -i 's|/usr/lib/build|/usr/libexec/suse-build|g' {} + + find . -type f -exec sed -i 's|/usr/lib/obs|/usr/libexec/obs|g' {} + + rm -f "${ED}"/usr/share/doc/${PN}*/TODO* +} diff --git a/dev-util/osc/osc-9999.ebuild b/dev-util/osc/osc-9999.ebuild new file mode 100644 index 000000000000..42d6d248359a --- /dev/null +++ b/dev-util/osc/osc-9999.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +EGIT_REPO_URI="https://github.com/openSUSE/${PN}.git" + +PYTHON_COMPAT=( python2_7 ) +PYTHON_REQ_USE="xml" + +if [[ "${PV}" == "9999" ]]; then + EXTRA_ECLASS="git-2" +else + OBS_PROJECT="openSUSE:Tools" + EXTRA_ECLASS="obs-download" +fi + +DISTUTILS_SINGLE_IMPL=1 +inherit distutils-r1 ${EXTRA_ECLASS} +unset EXTRA_ECLASS + +DESCRIPTION="Command line tool for Open Build Service" +HOMEPAGE="https://en.opensuse.org/openSUSE:OSC" + +[[ "${PV}" == "9999" ]] || SRC_URI="${OBS_URI}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +IUSE="" + +# Don't move KEYWORDS on the previous line or ekeyword won't work # 399061 +[[ "${PV}" == "9999" ]] || \ +KEYWORDS="~amd64 ~x86" + +DEPEND=" + dev-python/urlgrabber[${PYTHON_USEDEP}] + app-arch/rpm[python,${PYTHON_USEDEP}] + dev-python/m2crypto[${PYTHON_USEDEP}] + ${PYTHON_DEPS} +" +PDEPEND="${DEPEND} + app-admin/sudo + dev-util/obs-service-meta +" + +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +src_prepare() { + epatch "${FILESDIR}"/${PN}-0.139.2-out-of-tree-build.patch + distutils-r1_src_prepare +} + +src_install() { + distutils-r1_src_install + dosym osc-wrapper.py /usr/bin/osc + keepdir /usr/lib/osc/source_validators + cd "${ED}"/usr/ + find . -type f -exec sed -i 's|/usr/bin/build|/usr/bin/suse-build|g' {} + + find . -type f -exec sed -i 's|/usr/lib/build|/usr/libexec/suse-build|g' {} + + find . -type f -exec sed -i 's|/usr/lib/obs|/usr/libexec/obs|g' {} + + rm -f "${ED}"/usr/share/doc/${PN}*/TODO* +} |