diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /dev-util/osc | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'dev-util/osc')
-rw-r--r-- | dev-util/osc/Manifest | 2 | ||||
-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 | 9 | ||||
-rw-r--r-- | dev-util/osc/osc-0.148.2.ebuild | 63 | ||||
-rw-r--r-- | dev-util/osc/osc-0.150.1.ebuild | 63 | ||||
-rw-r--r-- | dev-util/osc/osc-9999.ebuild | 63 |
6 files changed, 220 insertions, 0 deletions
diff --git a/dev-util/osc/Manifest b/dev-util/osc/Manifest new file mode 100644 index 000000000000..a0cf0690c2a5 --- /dev/null +++ b/dev-util/osc/Manifest @@ -0,0 +1,2 @@ +DIST osc-0.148.2.tar.gz 6818939 SHA256 573d23d84e47316bd2eaed16e37696a1b87b8bc8cb457be5403ecfcb4da44c4c SHA512 4e17c8fb8f78a3f9a279f27e3c52fa1a4d6ee62825e06a5943b144ff39a3c53650d31c1b8033ee78cf6f3d4e85c140b2fc0c7f86b3d134cea59fc8da24e3fd16 WHIRLPOOL 20160e3148f21ff78074f4858928fee20227defe1065c8971c9e1823ab7cb5195edab2ac9da4662667be49ad2dc772c1d260a83eae59166c362f3050b88fd19d +DIST osc-0.150.1.tar.gz 329415 SHA256 a6ebb67cfe2b878f51dfa3a725cda176d28bef586bc23e4255d35fc830823386 SHA512 8d9d601b6e5ae89e5319e70465dfa7ad2550248107d7bfb1f5c31b991743f78e7fd53f7766773d76aa884da1f535edac50d82ae4505d80801354e323e7f8fa3c WHIRLPOOL 594f29e8998a27075a0b3f1c153bd42805ff8704256ee1c6e64a63e315b66c94b7e3db87c94ef723081a94fa5010e15900d3feece1048e23c5dea10a38498417 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..4a239b9dbb0a --- /dev/null +++ b/dev-util/osc/metadata.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>suse</herd> +<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..7f3ddc23e503 --- /dev/null +++ b/dev-util/osc/osc-0.148.2.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +EGIT_REPO_URI="git://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="http://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.150.1.ebuild b/dev-util/osc/osc-0.150.1.ebuild new file mode 100644 index 000000000000..e394d17376fc --- /dev/null +++ b/dev-util/osc/osc-0.150.1.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +EGIT_REPO_URI="git://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="http://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..e394d17376fc --- /dev/null +++ b/dev-util/osc/osc-9999.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +EGIT_REPO_URI="git://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="http://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* +} |