diff options
author | Michal Hrušecký <miska@gentoo.org> | 2012-03-07 13:36:56 +0000 |
---|---|---|
committer | Michal Hrušecký <miska@gentoo.org> | 2012-03-07 13:36:56 +0000 |
commit | df91d3588082bc886415d25f0d94fc872615b048 (patch) | |
tree | 7df274bd4c0fb83670c3151801b47e74391c254b /dev-util/suse-build | |
parent | * Added new version 0.132.6 (diff) | |
download | gentoo-2-df91d3588082bc886415d25f0d94fc872615b048.tar.gz gentoo-2-df91d3588082bc886415d25f0d94fc872615b048.tar.bz2 gentoo-2-df91d3588082bc886415d25f0d94fc872615b048.zip |
* added new version 2011.09.26
* added co-maintainer
* migrated to use obs-download eclass
(Portage version: 2.1.10.49/cvs/Linux x86_64)
Diffstat (limited to 'dev-util/suse-build')
-rw-r--r-- | dev-util/suse-build/ChangeLog | 11 | ||||
-rw-r--r-- | dev-util/suse-build/metadata.xml | 4 | ||||
-rw-r--r-- | dev-util/suse-build/suse-build-2011.01.20.ebuild | 23 | ||||
-rw-r--r-- | dev-util/suse-build/suse-build-2011.09.26.ebuild | 52 | ||||
-rw-r--r-- | dev-util/suse-build/suse-build-9999.ebuild | 23 |
5 files changed, 95 insertions, 18 deletions
diff --git a/dev-util/suse-build/ChangeLog b/dev-util/suse-build/ChangeLog index 61757bdedd55..e54d100ed388 100644 --- a/dev-util/suse-build/ChangeLog +++ b/dev-util/suse-build/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for dev-util/suse-build -# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/suse-build/ChangeLog,v 1.3 2011/08/15 09:04:56 miska Exp $ +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-util/suse-build/ChangeLog,v 1.4 2012/03/07 13:36:56 miska Exp $ + +*suse-build-2011.09.26 (07 Mar 2012) + + 07 Mar 2012; Michal Hrusecky <miska@gentoo.org> +suse-build-2011.09.26.ebuild, + metadata.xml, suse-build-2011.01.20.ebuild, suse-build-9999.ebuild: + * added new version 2011.09.26 * added co-maintainer * migrated to use obs- + download eclass 08 Jul 2011; Michal Hrusecky <miska@gentoo.org> suse-build-2011.01.20.ebuild, suse-build-9999.ebuild: diff --git a/dev-util/suse-build/metadata.xml b/dev-util/suse-build/metadata.xml index 5c77c1efd1fd..9ec4f936c4f4 100644 --- a/dev-util/suse-build/metadata.xml +++ b/dev-util/suse-build/metadata.xml @@ -5,6 +5,10 @@ <email>miska@gentoo.org</email> <name>Michal Hrušecký</name> </maintainer> +<maintainer> +<email>tampakrap@gentoo.org</email> +<name>Theo Chatzimichos</name> +</maintainer> <longdescription lang="en"> Script for building RPMs for SUSE Linux in a chroot environment. </longdescription> diff --git a/dev-util/suse-build/suse-build-2011.01.20.ebuild b/dev-util/suse-build/suse-build-2011.01.20.ebuild index 0a585c7c5001..ae617612d173 100644 --- a/dev-util/suse-build/suse-build-2011.01.20.ebuild +++ b/dev-util/suse-build/suse-build-2011.01.20.ebuild @@ -1,23 +1,32 @@ -# Copyright 1999-2011 Gentoo Foundation +# Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/suse-build/suse-build-2011.01.20.ebuild,v 1.2 2011/08/15 09:04:56 miska Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-util/suse-build/suse-build-2011.01.20.ebuild,v 1.3 2012/03/07 13:36:56 miska Exp $ EAPI=4 EGIT_REPO_URI="git://gitorious.org/opensuse/build.git" -[[ "${PV}" == "9999" ]] && EXTRA_ECLASS="git-2" +OPENSUSE_RELEASE="11.4" MY_PN="build" +OBS_PACKAGE="${MY_PN}" + +if [[ "${PV}" == "9999" ]]; then + EXTRA_ECLASS="git-2" +else + EXTRA_ECLASS="obs-download" +fi inherit eutils ${EXTRA_ECLASS} +unset EXTRA_ECLASS DESCRIPTION="Script to build SUSE Linux RPMs" HOMEPAGE="https://build.opensuse.org/package/show?package=build&project=openSUSE%3ATools" -[[ "${PV}" == "9999" ]] || SRC_URI="https://api.opensuse.org/public/source/openSUSE:11.4/${MY_PN}/${MY_PN}-${PV}.tar.gz" + +[[ "${PV}" == "9999" ]] || SRC_URI="${OBS_URI}/${MY_PN}-${PV}.tar.gz" LICENSE="GPL-2" SLOT="0" -[[ "${PV}" == "9999" ]] || KEYWORDS="~amd64 ~x86" IUSE="" +[[ "${PV}" == "9999" ]] || KEYWORDS="~amd64 ~x86" RDEPEND="virtual/perl-Digest-MD5 virtual/perl-Getopt-Long @@ -39,7 +48,5 @@ src_install() { find share/man/man1 -type f | while read i; do mv "${i}" "${i/man1\//man1/suse-}" done - find . -type f -exec grep -l "/usr/lib/build" \{\} \; | while read i; do - sed -i 's|/usr/lib/build|/usr/share/suse-build|' "${i}" - done + find . -type f sed -i 's|/usr/lib/build|/usr/share/suse-build|' {} + } diff --git a/dev-util/suse-build/suse-build-2011.09.26.ebuild b/dev-util/suse-build/suse-build-2011.09.26.ebuild new file mode 100644 index 000000000000..f3261190bd9c --- /dev/null +++ b/dev-util/suse-build/suse-build-2011.09.26.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-util/suse-build/suse-build-2011.09.26.ebuild,v 1.1 2012/03/07 13:36:56 miska Exp $ + +EAPI=4 + +EGIT_REPO_URI="git://gitorious.org/opensuse/build.git" +OPENSUSE_RELEASE="12.1" +MY_PN="build" +OBS_PACKAGE="${MY_PN}" + +if [[ "${PV}" == "9999" ]]; then + EXTRA_ECLASS="git-2" +else + EXTRA_ECLASS="obs-download" +fi + +inherit eutils ${EXTRA_ECLASS} +unset EXTRA_ECLASS + +DESCRIPTION="Script to build SUSE Linux RPMs" +HOMEPAGE="https://build.opensuse.org/package/show?package=build&project=openSUSE%3ATools" + +[[ "${PV}" == "9999" ]] || SRC_URI="${OBS_URI}/${MY_PN}-${PV}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +IUSE="" +[[ "${PV}" == "9999" ]] || KEYWORDS="~amd64 ~x86" + +RDEPEND="virtual/perl-Digest-MD5 + virtual/perl-Getopt-Long + dev-perl/XML-Parser + dev-perl/TimeDate + app-shells/bash + app-arch/rpm" + +S="${WORKDIR}/${MY_PN}-${PV}" + +src_compile() { :; } + +src_install() { + emake DESTDIR="${D}" pkglibdir=/usr/share/suse-build install + cd "${ED}"/usr + find bin -type l | while read i; do + mv "${i}" "${i/bin\//bin/suse-}" + done + find share/man/man1 -type f | while read i; do + mv "${i}" "${i/man1\//man1/suse-}" + done + find . -type f sed -i 's|/usr/lib/build|/usr/share/suse-build|' {} + +} diff --git a/dev-util/suse-build/suse-build-9999.ebuild b/dev-util/suse-build/suse-build-9999.ebuild index 149469bc572f..b21edf9cb158 100644 --- a/dev-util/suse-build/suse-build-9999.ebuild +++ b/dev-util/suse-build/suse-build-9999.ebuild @@ -1,23 +1,32 @@ -# Copyright 1999-2011 Gentoo Foundation +# Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/suse-build/suse-build-9999.ebuild,v 1.2 2011/08/15 09:04:56 miska Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-util/suse-build/suse-build-9999.ebuild,v 1.3 2012/03/07 13:36:56 miska Exp $ EAPI=4 EGIT_REPO_URI="git://gitorious.org/opensuse/build.git" -[[ "${PV}" == "9999" ]] && EXTRA_ECLASS="git-2" +OPENSUSE_RELEASE="12.1" MY_PN="build" +OBS_PACKAGE="${MY_PN}" + +if [[ "${PV}" == "9999" ]]; then + EXTRA_ECLASS="git-2" +else + EXTRA_ECLASS="obs-download" +fi inherit eutils ${EXTRA_ECLASS} +unset EXTRA_ECLASS DESCRIPTION="Script to build SUSE Linux RPMs" HOMEPAGE="https://build.opensuse.org/package/show?package=build&project=openSUSE%3ATools" -[[ "${PV}" == "9999" ]] || SRC_URI="https://api.opensuse.org/public/source/openSUSE:11.4/${MY_PN}/${MY_PN}-${PV}.tar.gz" + +[[ "${PV}" == "9999" ]] || SRC_URI="${OBS_URI}/${MY_PN}-${PV}.tar.gz" LICENSE="GPL-2" SLOT="0" -[[ "${PV}" == "9999" ]] || KEYWORDS="~amd64 ~x86" IUSE="" +[[ "${PV}" == "9999" ]] || KEYWORDS="~amd64 ~x86" RDEPEND="virtual/perl-Digest-MD5 virtual/perl-Getopt-Long @@ -39,7 +48,5 @@ src_install() { find share/man/man1 -type f | while read i; do mv "${i}" "${i/man1\//man1/suse-}" done - find . -type f -exec grep -l "/usr/lib/build" \{\} \; | while read i; do - sed -i 's|/usr/lib/build|/usr/share/suse-build|' "${i}" - done + find . -type f sed -i 's|/usr/lib/build|/usr/share/suse-build|' {} + } |