diff options
author | 2015-05-04 04:20:30 -0400 | |
---|---|---|
committer | 2015-05-04 04:20:30 -0400 | |
commit | 3091de200260422a92ece8af71148aedcc4afee9 (patch) | |
tree | bc8bd5cd39318296d20b64df85cfd4f832b63ad8 | |
parent | gdb: use SLOT=0 everywhere (diff) | |
download | toolchain-3091de200260422a92ece8af71148aedcc4afee9.tar.gz toolchain-3091de200260422a92ece8af71148aedcc4afee9.tar.bz2 toolchain-3091de200260422a92ece8af71148aedcc4afee9.zip |
gdb: drop support for fedora URLs
These Fedora links haven't worked in a while, so drop them in older
versions we don't care about it to simplify the code.
URL: https://bugs.gentoo.org/496032
29 files changed, 4 insertions, 298 deletions
diff --git a/sys-devel/gdb/gdb-7.2.ebuild b/sys-devel/gdb/gdb-7.2.ebuild index 19c32f8..16d3fc9 100644 --- a/sys-devel/gdb/gdb-7.2.ebuild +++ b/sys-devel/gdb/gdb-7.2.ebuild @@ -14,27 +14,14 @@ if [[ ${CTARGET} == ${CHOST} ]] ; then fi is_cross() { [[ ${CHOST} != ${CTARGET} ]] ; } -if [[ ${PV} == *.*.*.*.*.* ]] ; then - inherit versionator rpm - # fedora version: gdb-6.8.50.20090302-8.fc11.src.rpm - gvcr() { get_version_component_range "$@"; } - MY_PV=$(gvcr 1-4) - RPM="${PN}-${MY_PV}-$(gvcr 5).fc$(gvcr 6).src.rpm" -else - MY_PV=${PV} - RPM= -fi +MY_PV=${PV} PATCH_VER="1" DESCRIPTION="GNU debugger" HOMEPAGE="http://sourceware.org/gdb/" -if [[ -n ${RPM} ]] ; then - SRC_URI="http://mirrors.kernel.org/fedora/development/source/SRPMS/${RPM}" -else - SRC_URI="mirror://gnu/gdb/${P}.tar.bz2 - ftp://sourceware.org/pub/gdb/releases/${P}.tar.bz2" -fi -SRC_URI="${SRC_URI} ${PATCH_VER:+mirror://gentoo/${P}-patches-${PATCH_VER}.tar.xz}" +SRC_URI="mirror://gnu/gdb/${P}.tar.bz2 + ftp://sourceware.org/pub/gdb/releases/${P}.tar.bz2 + ${PATCH_VER:+mirror://gentoo/${P}-patches-${PATCH_VER}.tar.xz}" LICENSE="GPL-2 LGPL-2" SLOT="0" @@ -54,7 +41,6 @@ DEPEND="${RDEPEND} S=${WORKDIR}/${PN}-${MY_PV} src_prepare() { - [[ -n ${RPM} ]] && rpm_spec_epatch "${WORKDIR}"/gdb.spec ! use vanilla && [[ -n ${PATCH_VER} ]] && EPATCH_SUFFIX="patch" epatch "${WORKDIR}"/patch strip-linguas -u bfd/po opcodes/po } diff --git a/sys-devel/gdb/gdb-7.3.1-r1.ebuild b/sys-devel/gdb/gdb-7.3.1-r1.ebuild index 930b051..19664da 100644 --- a/sys-devel/gdb/gdb-7.3.1-r1.ebuild +++ b/sys-devel/gdb/gdb-7.3.1-r1.ebuild @@ -14,17 +14,8 @@ if [[ ${CTARGET} == ${CHOST} ]] ; then fi is_cross() { [[ ${CHOST} != ${CTARGET} ]] ; } -RPM= MY_PV=${PV} case ${PV} in -*.*.*.*.*.*) - # fedora version: gdb-6.8.50.20090302-8.fc11.src.rpm - inherit versionator rpm - gvcr() { get_version_component_range "$@"; } - MY_PV=$(gvcr 1-4) - RPM="${PN}-${MY_PV}-$(gvcr 5).fc$(gvcr 6).src.rpm" - SRC_URI="mirror://fedora/development/source/SRPMS/${RPM}" - ;; *.*.50.*) # weekly snapshots SRC_URI="ftp://sourceware.org/pub/gdb/snapshots/current/gdb-weekly-${PV}.tar.bz2" @@ -69,7 +60,6 @@ DEPEND="${RDEPEND} S=${WORKDIR}/${PN}-${MY_PV} src_prepare() { - [[ -n ${RPM} ]] && rpm_spec_epatch "${WORKDIR}"/gdb.spec ! use vanilla && [[ -n ${PATCH_VER} ]] && EPATCH_SUFFIX="patch" epatch "${WORKDIR}"/patch strip-linguas -u bfd/po opcodes/po } diff --git a/sys-devel/gdb/gdb-7.3.50.20111129.ebuild b/sys-devel/gdb/gdb-7.3.50.20111129.ebuild index 15c04da..e8dc424 100644 --- a/sys-devel/gdb/gdb-7.3.50.20111129.ebuild +++ b/sys-devel/gdb/gdb-7.3.50.20111129.ebuild @@ -15,17 +15,8 @@ if [[ ${CTARGET} == ${CHOST} ]] ; then fi is_cross() { [[ ${CHOST} != ${CTARGET} ]] ; } -RPM= MY_PV=${PV} case ${PV} in -*.*.*.*.*.*) - # fedora version: gdb-6.8.50.20090302-8.fc11.src.rpm - inherit versionator rpm - gvcr() { get_version_component_range "$@"; } - MY_PV=$(gvcr 1-4) - RPM="${PN}-${MY_PV}-$(gvcr 5).fc$(gvcr 6).src.rpm" - SRC_URI="mirror://fedora/development/source/SRPMS/${RPM}" - ;; *.*.50.*) # weekly snapshots SRC_URI="ftp://sourceware.org/pub/gdb/snapshots/current/gdb-weekly-${PV}.tar.bz2" @@ -70,7 +61,6 @@ DEPEND="${RDEPEND} S=${WORKDIR}/${PN}-${MY_PV} src_prepare() { - [[ -n ${RPM} ]] && rpm_spec_epatch "${WORKDIR}"/gdb.spec use vanilla || [[ -n ${PATCH_VER} ]] && EPATCH_SUFFIX="patch" epatch "${WORKDIR}"/patch strip-linguas -u bfd/po opcodes/po } diff --git a/sys-devel/gdb/gdb-7.3.50.20111206.ebuild b/sys-devel/gdb/gdb-7.3.50.20111206.ebuild index 15c04da..e8dc424 100644 --- a/sys-devel/gdb/gdb-7.3.50.20111206.ebuild +++ b/sys-devel/gdb/gdb-7.3.50.20111206.ebuild @@ -15,17 +15,8 @@ if [[ ${CTARGET} == ${CHOST} ]] ; then fi is_cross() { [[ ${CHOST} != ${CTARGET} ]] ; } -RPM= MY_PV=${PV} case ${PV} in -*.*.*.*.*.*) - # fedora version: gdb-6.8.50.20090302-8.fc11.src.rpm - inherit versionator rpm - gvcr() { get_version_component_range "$@"; } - MY_PV=$(gvcr 1-4) - RPM="${PN}-${MY_PV}-$(gvcr 5).fc$(gvcr 6).src.rpm" - SRC_URI="mirror://fedora/development/source/SRPMS/${RPM}" - ;; *.*.50.*) # weekly snapshots SRC_URI="ftp://sourceware.org/pub/gdb/snapshots/current/gdb-weekly-${PV}.tar.bz2" @@ -70,7 +61,6 @@ DEPEND="${RDEPEND} S=${WORKDIR}/${PN}-${MY_PV} src_prepare() { - [[ -n ${RPM} ]] && rpm_spec_epatch "${WORKDIR}"/gdb.spec use vanilla || [[ -n ${PATCH_VER} ]] && EPATCH_SUFFIX="patch" epatch "${WORKDIR}"/patch strip-linguas -u bfd/po opcodes/po } diff --git a/sys-devel/gdb/gdb-7.3.50.20111213.ebuild b/sys-devel/gdb/gdb-7.3.50.20111213.ebuild index 15c04da..e8dc424 100644 --- a/sys-devel/gdb/gdb-7.3.50.20111213.ebuild +++ b/sys-devel/gdb/gdb-7.3.50.20111213.ebuild @@ -15,17 +15,8 @@ if [[ ${CTARGET} == ${CHOST} ]] ; then fi is_cross() { [[ ${CHOST} != ${CTARGET} ]] ; } -RPM= MY_PV=${PV} case ${PV} in -*.*.*.*.*.*) - # fedora version: gdb-6.8.50.20090302-8.fc11.src.rpm - inherit versionator rpm - gvcr() { get_version_component_range "$@"; } - MY_PV=$(gvcr 1-4) - RPM="${PN}-${MY_PV}-$(gvcr 5).fc$(gvcr 6).src.rpm" - SRC_URI="mirror://fedora/development/source/SRPMS/${RPM}" - ;; *.*.50.*) # weekly snapshots SRC_URI="ftp://sourceware.org/pub/gdb/snapshots/current/gdb-weekly-${PV}.tar.bz2" @@ -70,7 +61,6 @@ DEPEND="${RDEPEND} S=${WORKDIR}/${PN}-${MY_PV} src_prepare() { - [[ -n ${RPM} ]] && rpm_spec_epatch "${WORKDIR}"/gdb.spec use vanilla || [[ -n ${PATCH_VER} ]] && EPATCH_SUFFIX="patch" epatch "${WORKDIR}"/patch strip-linguas -u bfd/po opcodes/po } diff --git a/sys-devel/gdb/gdb-7.3.ebuild b/sys-devel/gdb/gdb-7.3.ebuild index eeb1b27..67e8e4c 100644 --- a/sys-devel/gdb/gdb-7.3.ebuild +++ b/sys-devel/gdb/gdb-7.3.ebuild @@ -14,17 +14,8 @@ if [[ ${CTARGET} == ${CHOST} ]] ; then fi is_cross() { [[ ${CHOST} != ${CTARGET} ]] ; } -RPM= MY_PV=${PV} case ${PV} in -*.*.*.*.*.*) - # fedora version: gdb-6.8.50.20090302-8.fc11.src.rpm - inherit versionator rpm - gvcr() { get_version_component_range "$@"; } - MY_PV=$(gvcr 1-4) - RPM="${PN}-${MY_PV}-$(gvcr 5).fc$(gvcr 6).src.rpm" - SRC_URI="mirror://fedora/development/source/SRPMS/${RPM}" - ;; *.*.50.*) # weekly snapshots SRC_URI="ftp://sourceware.org/pub/gdb/snapshots/current/gdb-weekly-${PV}.tar.bz2" @@ -67,7 +58,6 @@ DEPEND="${RDEPEND} S=${WORKDIR}/${PN}-${MY_PV} src_prepare() { - [[ -n ${RPM} ]] && rpm_spec_epatch "${WORKDIR}"/gdb.spec ! use vanilla && [[ -n ${PATCH_VER} ]] && EPATCH_SUFFIX="patch" epatch "${WORKDIR}"/patch strip-linguas -u bfd/po opcodes/po } diff --git a/sys-devel/gdb/gdb-7.4.1.ebuild b/sys-devel/gdb/gdb-7.4.1.ebuild index face20d..284594c 100644 --- a/sys-devel/gdb/gdb-7.4.1.ebuild +++ b/sys-devel/gdb/gdb-7.4.1.ebuild @@ -14,17 +14,8 @@ if [[ ${CTARGET} == ${CHOST} ]] ; then fi is_cross() { [[ ${CHOST} != ${CTARGET} ]] ; } -RPM= MY_PV=${PV} case ${PV} in -*.*.*.*.*.*) - # fedora version: gdb-6.8.50.20090302-8.fc11.src.rpm - inherit versionator rpm - gvcr() { get_version_component_range "$@"; } - MY_PV=$(gvcr 1-4) - RPM="${PN}-${MY_PV}-$(gvcr 5).fc$(gvcr 6).src.rpm" - SRC_URI="mirror://fedora/development/source/SRPMS/${RPM}" - ;; *.*.50.*) # weekly snapshots SRC_URI="ftp://sourceware.org/pub/gdb/snapshots/current/gdb-weekly-${PV}.tar.bz2" @@ -69,7 +60,6 @@ DEPEND="${RDEPEND} S=${WORKDIR}/${PN}-${MY_PV} src_prepare() { - [[ -n ${RPM} ]] && rpm_spec_epatch "${WORKDIR}"/gdb.spec ! use vanilla && [[ -n ${PATCH_VER} ]] && EPATCH_SUFFIX="patch" epatch "${WORKDIR}"/patch strip-linguas -u bfd/po opcodes/po } diff --git a/sys-devel/gdb/gdb-7.4.50.20120703.ebuild b/sys-devel/gdb/gdb-7.4.50.20120703.ebuild index 15c04da..e8dc424 100644 --- a/sys-devel/gdb/gdb-7.4.50.20120703.ebuild +++ b/sys-devel/gdb/gdb-7.4.50.20120703.ebuild @@ -15,17 +15,8 @@ if [[ ${CTARGET} == ${CHOST} ]] ; then fi is_cross() { [[ ${CHOST} != ${CTARGET} ]] ; } -RPM= MY_PV=${PV} case ${PV} in -*.*.*.*.*.*) - # fedora version: gdb-6.8.50.20090302-8.fc11.src.rpm - inherit versionator rpm - gvcr() { get_version_component_range "$@"; } - MY_PV=$(gvcr 1-4) - RPM="${PN}-${MY_PV}-$(gvcr 5).fc$(gvcr 6).src.rpm" - SRC_URI="mirror://fedora/development/source/SRPMS/${RPM}" - ;; *.*.50.*) # weekly snapshots SRC_URI="ftp://sourceware.org/pub/gdb/snapshots/current/gdb-weekly-${PV}.tar.bz2" @@ -70,7 +61,6 @@ DEPEND="${RDEPEND} S=${WORKDIR}/${PN}-${MY_PV} src_prepare() { - [[ -n ${RPM} ]] && rpm_spec_epatch "${WORKDIR}"/gdb.spec use vanilla || [[ -n ${PATCH_VER} ]] && EPATCH_SUFFIX="patch" epatch "${WORKDIR}"/patch strip-linguas -u bfd/po opcodes/po } diff --git a/sys-devel/gdb/gdb-7.4.50.20120710.ebuild b/sys-devel/gdb/gdb-7.4.50.20120710.ebuild index 15c04da..e8dc424 100644 --- a/sys-devel/gdb/gdb-7.4.50.20120710.ebuild +++ b/sys-devel/gdb/gdb-7.4.50.20120710.ebuild @@ -15,17 +15,8 @@ if [[ ${CTARGET} == ${CHOST} ]] ; then fi is_cross() { [[ ${CHOST} != ${CTARGET} ]] ; } -RPM= MY_PV=${PV} case ${PV} in -*.*.*.*.*.*) - # fedora version: gdb-6.8.50.20090302-8.fc11.src.rpm - inherit versionator rpm - gvcr() { get_version_component_range "$@"; } - MY_PV=$(gvcr 1-4) - RPM="${PN}-${MY_PV}-$(gvcr 5).fc$(gvcr 6).src.rpm" - SRC_URI="mirror://fedora/development/source/SRPMS/${RPM}" - ;; *.*.50.*) # weekly snapshots SRC_URI="ftp://sourceware.org/pub/gdb/snapshots/current/gdb-weekly-${PV}.tar.bz2" @@ -70,7 +61,6 @@ DEPEND="${RDEPEND} S=${WORKDIR}/${PN}-${MY_PV} src_prepare() { - [[ -n ${RPM} ]] && rpm_spec_epatch "${WORKDIR}"/gdb.spec use vanilla || [[ -n ${PATCH_VER} ]] && EPATCH_SUFFIX="patch" epatch "${WORKDIR}"/patch strip-linguas -u bfd/po opcodes/po } diff --git a/sys-devel/gdb/gdb-7.4.50.20120717.ebuild b/sys-devel/gdb/gdb-7.4.50.20120717.ebuild index 15c04da..e8dc424 100644 --- a/sys-devel/gdb/gdb-7.4.50.20120717.ebuild +++ b/sys-devel/gdb/gdb-7.4.50.20120717.ebuild @@ -15,17 +15,8 @@ if [[ ${CTARGET} == ${CHOST} ]] ; then fi is_cross() { [[ ${CHOST} != ${CTARGET} ]] ; } -RPM= MY_PV=${PV} case ${PV} in -*.*.*.*.*.*) - # fedora version: gdb-6.8.50.20090302-8.fc11.src.rpm - inherit versionator rpm - gvcr() { get_version_component_range "$@"; } - MY_PV=$(gvcr 1-4) - RPM="${PN}-${MY_PV}-$(gvcr 5).fc$(gvcr 6).src.rpm" - SRC_URI="mirror://fedora/development/source/SRPMS/${RPM}" - ;; *.*.50.*) # weekly snapshots SRC_URI="ftp://sourceware.org/pub/gdb/snapshots/current/gdb-weekly-${PV}.tar.bz2" @@ -70,7 +61,6 @@ DEPEND="${RDEPEND} S=${WORKDIR}/${PN}-${MY_PV} src_prepare() { - [[ -n ${RPM} ]] && rpm_spec_epatch "${WORKDIR}"/gdb.spec use vanilla || [[ -n ${PATCH_VER} ]] && EPATCH_SUFFIX="patch" epatch "${WORKDIR}"/patch strip-linguas -u bfd/po opcodes/po } diff --git a/sys-devel/gdb/gdb-7.4.ebuild b/sys-devel/gdb/gdb-7.4.ebuild index a3431f0..2dd24f6 100644 --- a/sys-devel/gdb/gdb-7.4.ebuild +++ b/sys-devel/gdb/gdb-7.4.ebuild @@ -14,17 +14,8 @@ if [[ ${CTARGET} == ${CHOST} ]] ; then fi is_cross() { [[ ${CHOST} != ${CTARGET} ]] ; } -RPM= MY_PV=${PV} case ${PV} in -*.*.*.*.*.*) - # fedora version: gdb-6.8.50.20090302-8.fc11.src.rpm - inherit versionator rpm - gvcr() { get_version_component_range "$@"; } - MY_PV=$(gvcr 1-4) - RPM="${PN}-${MY_PV}-$(gvcr 5).fc$(gvcr 6).src.rpm" - SRC_URI="mirror://fedora/development/source/SRPMS/${RPM}" - ;; *.*.50.*) # weekly snapshots SRC_URI="ftp://sourceware.org/pub/gdb/snapshots/current/gdb-weekly-${PV}.tar.bz2" @@ -69,7 +60,6 @@ DEPEND="${RDEPEND} S=${WORKDIR}/${PN}-${MY_PV} src_prepare() { - [[ -n ${RPM} ]] && rpm_spec_epatch "${WORKDIR}"/gdb.spec ! use vanilla && [[ -n ${PATCH_VER} ]] && EPATCH_SUFFIX="patch" epatch "${WORKDIR}"/patch strip-linguas -u bfd/po opcodes/po } diff --git a/sys-devel/gdb/gdb-7.5.50.20130226.ebuild b/sys-devel/gdb/gdb-7.5.50.20130226.ebuild index 15c04da..e8dc424 100644 --- a/sys-devel/gdb/gdb-7.5.50.20130226.ebuild +++ b/sys-devel/gdb/gdb-7.5.50.20130226.ebuild @@ -15,17 +15,8 @@ if [[ ${CTARGET} == ${CHOST} ]] ; then fi is_cross() { [[ ${CHOST} != ${CTARGET} ]] ; } -RPM= MY_PV=${PV} case ${PV} in -*.*.*.*.*.*) - # fedora version: gdb-6.8.50.20090302-8.fc11.src.rpm - inherit versionator rpm - gvcr() { get_version_component_range "$@"; } - MY_PV=$(gvcr 1-4) - RPM="${PN}-${MY_PV}-$(gvcr 5).fc$(gvcr 6).src.rpm" - SRC_URI="mirror://fedora/development/source/SRPMS/${RPM}" - ;; *.*.50.*) # weekly snapshots SRC_URI="ftp://sourceware.org/pub/gdb/snapshots/current/gdb-weekly-${PV}.tar.bz2" @@ -70,7 +61,6 @@ DEPEND="${RDEPEND} S=${WORKDIR}/${PN}-${MY_PV} src_prepare() { - [[ -n ${RPM} ]] && rpm_spec_epatch "${WORKDIR}"/gdb.spec use vanilla || [[ -n ${PATCH_VER} ]] && EPATCH_SUFFIX="patch" epatch "${WORKDIR}"/patch strip-linguas -u bfd/po opcodes/po } diff --git a/sys-devel/gdb/gdb-7.5.50.20130305.ebuild b/sys-devel/gdb/gdb-7.5.50.20130305.ebuild index 15c04da..e8dc424 100644 --- a/sys-devel/gdb/gdb-7.5.50.20130305.ebuild +++ b/sys-devel/gdb/gdb-7.5.50.20130305.ebuild @@ -15,17 +15,8 @@ if [[ ${CTARGET} == ${CHOST} ]] ; then fi is_cross() { [[ ${CHOST} != ${CTARGET} ]] ; } -RPM= MY_PV=${PV} case ${PV} in -*.*.*.*.*.*) - # fedora version: gdb-6.8.50.20090302-8.fc11.src.rpm - inherit versionator rpm - gvcr() { get_version_component_range "$@"; } - MY_PV=$(gvcr 1-4) - RPM="${PN}-${MY_PV}-$(gvcr 5).fc$(gvcr 6).src.rpm" - SRC_URI="mirror://fedora/development/source/SRPMS/${RPM}" - ;; *.*.50.*) # weekly snapshots SRC_URI="ftp://sourceware.org/pub/gdb/snapshots/current/gdb-weekly-${PV}.tar.bz2" @@ -70,7 +61,6 @@ DEPEND="${RDEPEND} S=${WORKDIR}/${PN}-${MY_PV} src_prepare() { - [[ -n ${RPM} ]] && rpm_spec_epatch "${WORKDIR}"/gdb.spec use vanilla || [[ -n ${PATCH_VER} ]] && EPATCH_SUFFIX="patch" epatch "${WORKDIR}"/patch strip-linguas -u bfd/po opcodes/po } diff --git a/sys-devel/gdb/gdb-7.5.50.20130312.ebuild b/sys-devel/gdb/gdb-7.5.50.20130312.ebuild index 15c04da..e8dc424 100644 --- a/sys-devel/gdb/gdb-7.5.50.20130312.ebuild +++ b/sys-devel/gdb/gdb-7.5.50.20130312.ebuild @@ -15,17 +15,8 @@ if [[ ${CTARGET} == ${CHOST} ]] ; then fi is_cross() { [[ ${CHOST} != ${CTARGET} ]] ; } -RPM= MY_PV=${PV} case ${PV} in -*.*.*.*.*.*) - # fedora version: gdb-6.8.50.20090302-8.fc11.src.rpm - inherit versionator rpm - gvcr() { get_version_component_range "$@"; } - MY_PV=$(gvcr 1-4) - RPM="${PN}-${MY_PV}-$(gvcr 5).fc$(gvcr 6).src.rpm" - SRC_URI="mirror://fedora/development/source/SRPMS/${RPM}" - ;; *.*.50.*) # weekly snapshots SRC_URI="ftp://sourceware.org/pub/gdb/snapshots/current/gdb-weekly-${PV}.tar.bz2" @@ -70,7 +61,6 @@ DEPEND="${RDEPEND} S=${WORKDIR}/${PN}-${MY_PV} src_prepare() { - [[ -n ${RPM} ]] && rpm_spec_epatch "${WORKDIR}"/gdb.spec use vanilla || [[ -n ${PATCH_VER} ]] && EPATCH_SUFFIX="patch" epatch "${WORKDIR}"/patch strip-linguas -u bfd/po opcodes/po } diff --git a/sys-devel/gdb/gdb-7.6.50.20131224.ebuild b/sys-devel/gdb/gdb-7.6.50.20131224.ebuild index dfe29f5..7939e9e 100644 --- a/sys-devel/gdb/gdb-7.6.50.20131224.ebuild +++ b/sys-devel/gdb/gdb-7.6.50.20131224.ebuild @@ -15,17 +15,8 @@ if [[ ${CTARGET} == ${CHOST} ]] ; then fi is_cross() { [[ ${CHOST} != ${CTARGET} ]] ; } -RPM= MY_PV=${PV} case ${PV} in -*.*.*.*.*.*) - # fedora version: gdb-6.8.50.20090302-8.fc11.src.rpm - inherit versionator rpm - gvcr() { get_version_component_range "$@"; } - MY_PV=$(gvcr 1-4) - RPM="${PN}-${MY_PV}-$(gvcr 5).fc$(gvcr 6).src.rpm" - SRC_URI="mirror://fedora/development/source/SRPMS/${RPM}" - ;; *.*.50.*) # weekly snapshots SRC_URI="ftp://sourceware.org/pub/gdb/snapshots/current/gdb-weekly-${PV}.tar.bz2" @@ -76,7 +67,6 @@ pkg_setup() { } src_prepare() { - [[ -n ${RPM} ]] && rpm_spec_epatch "${WORKDIR}"/gdb.spec use vanilla || [[ -n ${PATCH_VER} ]] && EPATCH_SUFFIX="patch" epatch "${WORKDIR}"/patch epatch_user strip-linguas -u bfd/po opcodes/po diff --git a/sys-devel/gdb/gdb-7.6.50.20131231.ebuild b/sys-devel/gdb/gdb-7.6.50.20131231.ebuild index dfe29f5..7939e9e 100644 --- a/sys-devel/gdb/gdb-7.6.50.20131231.ebuild +++ b/sys-devel/gdb/gdb-7.6.50.20131231.ebuild @@ -15,17 +15,8 @@ if [[ ${CTARGET} == ${CHOST} ]] ; then fi is_cross() { [[ ${CHOST} != ${CTARGET} ]] ; } -RPM= MY_PV=${PV} case ${PV} in -*.*.*.*.*.*) - # fedora version: gdb-6.8.50.20090302-8.fc11.src.rpm - inherit versionator rpm - gvcr() { get_version_component_range "$@"; } - MY_PV=$(gvcr 1-4) - RPM="${PN}-${MY_PV}-$(gvcr 5).fc$(gvcr 6).src.rpm" - SRC_URI="mirror://fedora/development/source/SRPMS/${RPM}" - ;; *.*.50.*) # weekly snapshots SRC_URI="ftp://sourceware.org/pub/gdb/snapshots/current/gdb-weekly-${PV}.tar.bz2" @@ -76,7 +67,6 @@ pkg_setup() { } src_prepare() { - [[ -n ${RPM} ]] && rpm_spec_epatch "${WORKDIR}"/gdb.spec use vanilla || [[ -n ${PATCH_VER} ]] && EPATCH_SUFFIX="patch" epatch "${WORKDIR}"/patch epatch_user strip-linguas -u bfd/po opcodes/po diff --git a/sys-devel/gdb/gdb-7.6.50.20140107.ebuild b/sys-devel/gdb/gdb-7.6.50.20140107.ebuild index dfe29f5..7939e9e 100644 --- a/sys-devel/gdb/gdb-7.6.50.20140107.ebuild +++ b/sys-devel/gdb/gdb-7.6.50.20140107.ebuild @@ -15,17 +15,8 @@ if [[ ${CTARGET} == ${CHOST} ]] ; then fi is_cross() { [[ ${CHOST} != ${CTARGET} ]] ; } -RPM= MY_PV=${PV} case ${PV} in -*.*.*.*.*.*) - # fedora version: gdb-6.8.50.20090302-8.fc11.src.rpm - inherit versionator rpm - gvcr() { get_version_component_range "$@"; } - MY_PV=$(gvcr 1-4) - RPM="${PN}-${MY_PV}-$(gvcr 5).fc$(gvcr 6).src.rpm" - SRC_URI="mirror://fedora/development/source/SRPMS/${RPM}" - ;; *.*.50.*) # weekly snapshots SRC_URI="ftp://sourceware.org/pub/gdb/snapshots/current/gdb-weekly-${PV}.tar.bz2" @@ -76,7 +67,6 @@ pkg_setup() { } src_prepare() { - [[ -n ${RPM} ]] && rpm_spec_epatch "${WORKDIR}"/gdb.spec use vanilla || [[ -n ${PATCH_VER} ]] && EPATCH_SUFFIX="patch" epatch "${WORKDIR}"/patch epatch_user strip-linguas -u bfd/po opcodes/po diff --git a/sys-devel/gdb/gdb-7.7.50.20140527.ebuild b/sys-devel/gdb/gdb-7.7.50.20140527.ebuild index dfe29f5..7939e9e 100644 --- a/sys-devel/gdb/gdb-7.7.50.20140527.ebuild +++ b/sys-devel/gdb/gdb-7.7.50.20140527.ebuild @@ -15,17 +15,8 @@ if [[ ${CTARGET} == ${CHOST} ]] ; then fi is_cross() { [[ ${CHOST} != ${CTARGET} ]] ; } -RPM= MY_PV=${PV} case ${PV} in -*.*.*.*.*.*) - # fedora version: gdb-6.8.50.20090302-8.fc11.src.rpm - inherit versionator rpm - gvcr() { get_version_component_range "$@"; } - MY_PV=$(gvcr 1-4) - RPM="${PN}-${MY_PV}-$(gvcr 5).fc$(gvcr 6).src.rpm" - SRC_URI="mirror://fedora/development/source/SRPMS/${RPM}" - ;; *.*.50.*) # weekly snapshots SRC_URI="ftp://sourceware.org/pub/gdb/snapshots/current/gdb-weekly-${PV}.tar.bz2" @@ -76,7 +67,6 @@ pkg_setup() { } src_prepare() { - [[ -n ${RPM} ]] && rpm_spec_epatch "${WORKDIR}"/gdb.spec use vanilla || [[ -n ${PATCH_VER} ]] && EPATCH_SUFFIX="patch" epatch "${WORKDIR}"/patch epatch_user strip-linguas -u bfd/po opcodes/po diff --git a/sys-devel/gdb/gdb-7.7.50.20140603.ebuild b/sys-devel/gdb/gdb-7.7.50.20140603.ebuild index dfe29f5..7939e9e 100644 --- a/sys-devel/gdb/gdb-7.7.50.20140603.ebuild +++ b/sys-devel/gdb/gdb-7.7.50.20140603.ebuild @@ -15,17 +15,8 @@ if [[ ${CTARGET} == ${CHOST} ]] ; then fi is_cross() { [[ ${CHOST} != ${CTARGET} ]] ; } -RPM= MY_PV=${PV} case ${PV} in -*.*.*.*.*.*) - # fedora version: gdb-6.8.50.20090302-8.fc11.src.rpm - inherit versionator rpm - gvcr() { get_version_component_range "$@"; } - MY_PV=$(gvcr 1-4) - RPM="${PN}-${MY_PV}-$(gvcr 5).fc$(gvcr 6).src.rpm" - SRC_URI="mirror://fedora/development/source/SRPMS/${RPM}" - ;; *.*.50.*) # weekly snapshots SRC_URI="ftp://sourceware.org/pub/gdb/snapshots/current/gdb-weekly-${PV}.tar.bz2" @@ -76,7 +67,6 @@ pkg_setup() { } src_prepare() { - [[ -n ${RPM} ]] && rpm_spec_epatch "${WORKDIR}"/gdb.spec use vanilla || [[ -n ${PATCH_VER} ]] && EPATCH_SUFFIX="patch" epatch "${WORKDIR}"/patch epatch_user strip-linguas -u bfd/po opcodes/po diff --git a/sys-devel/gdb/gdb-7.7.50.20140610.ebuild b/sys-devel/gdb/gdb-7.7.50.20140610.ebuild index dfe29f5..7939e9e 100644 --- a/sys-devel/gdb/gdb-7.7.50.20140610.ebuild +++ b/sys-devel/gdb/gdb-7.7.50.20140610.ebuild @@ -15,17 +15,8 @@ if [[ ${CTARGET} == ${CHOST} ]] ; then fi is_cross() { [[ ${CHOST} != ${CTARGET} ]] ; } -RPM= MY_PV=${PV} case ${PV} in -*.*.*.*.*.*) - # fedora version: gdb-6.8.50.20090302-8.fc11.src.rpm - inherit versionator rpm - gvcr() { get_version_component_range "$@"; } - MY_PV=$(gvcr 1-4) - RPM="${PN}-${MY_PV}-$(gvcr 5).fc$(gvcr 6).src.rpm" - SRC_URI="mirror://fedora/development/source/SRPMS/${RPM}" - ;; *.*.50.*) # weekly snapshots SRC_URI="ftp://sourceware.org/pub/gdb/snapshots/current/gdb-weekly-${PV}.tar.bz2" @@ -76,7 +67,6 @@ pkg_setup() { } src_prepare() { - [[ -n ${RPM} ]] && rpm_spec_epatch "${WORKDIR}"/gdb.spec use vanilla || [[ -n ${PATCH_VER} ]] && EPATCH_SUFFIX="patch" epatch "${WORKDIR}"/patch epatch_user strip-linguas -u bfd/po opcodes/po diff --git a/sys-devel/gdb/gdb-7.8.50.20141209.ebuild b/sys-devel/gdb/gdb-7.8.50.20141209.ebuild index dfe29f5..7939e9e 100644 --- a/sys-devel/gdb/gdb-7.8.50.20141209.ebuild +++ b/sys-devel/gdb/gdb-7.8.50.20141209.ebuild @@ -15,17 +15,8 @@ if [[ ${CTARGET} == ${CHOST} ]] ; then fi is_cross() { [[ ${CHOST} != ${CTARGET} ]] ; } -RPM= MY_PV=${PV} case ${PV} in -*.*.*.*.*.*) - # fedora version: gdb-6.8.50.20090302-8.fc11.src.rpm - inherit versionator rpm - gvcr() { get_version_component_range "$@"; } - MY_PV=$(gvcr 1-4) - RPM="${PN}-${MY_PV}-$(gvcr 5).fc$(gvcr 6).src.rpm" - SRC_URI="mirror://fedora/development/source/SRPMS/${RPM}" - ;; *.*.50.*) # weekly snapshots SRC_URI="ftp://sourceware.org/pub/gdb/snapshots/current/gdb-weekly-${PV}.tar.bz2" @@ -76,7 +67,6 @@ pkg_setup() { } src_prepare() { - [[ -n ${RPM} ]] && rpm_spec_epatch "${WORKDIR}"/gdb.spec use vanilla || [[ -n ${PATCH_VER} ]] && EPATCH_SUFFIX="patch" epatch "${WORKDIR}"/patch epatch_user strip-linguas -u bfd/po opcodes/po diff --git a/sys-devel/gdb/gdb-7.8.50.20141216.ebuild b/sys-devel/gdb/gdb-7.8.50.20141216.ebuild index dfe29f5..7939e9e 100644 --- a/sys-devel/gdb/gdb-7.8.50.20141216.ebuild +++ b/sys-devel/gdb/gdb-7.8.50.20141216.ebuild @@ -15,17 +15,8 @@ if [[ ${CTARGET} == ${CHOST} ]] ; then fi is_cross() { [[ ${CHOST} != ${CTARGET} ]] ; } -RPM= MY_PV=${PV} case ${PV} in -*.*.*.*.*.*) - # fedora version: gdb-6.8.50.20090302-8.fc11.src.rpm - inherit versionator rpm - gvcr() { get_version_component_range "$@"; } - MY_PV=$(gvcr 1-4) - RPM="${PN}-${MY_PV}-$(gvcr 5).fc$(gvcr 6).src.rpm" - SRC_URI="mirror://fedora/development/source/SRPMS/${RPM}" - ;; *.*.50.*) # weekly snapshots SRC_URI="ftp://sourceware.org/pub/gdb/snapshots/current/gdb-weekly-${PV}.tar.bz2" @@ -76,7 +67,6 @@ pkg_setup() { } src_prepare() { - [[ -n ${RPM} ]] && rpm_spec_epatch "${WORKDIR}"/gdb.spec use vanilla || [[ -n ${PATCH_VER} ]] && EPATCH_SUFFIX="patch" epatch "${WORKDIR}"/patch epatch_user strip-linguas -u bfd/po opcodes/po diff --git a/sys-devel/gdb/gdb-7.8.50.20141223.ebuild b/sys-devel/gdb/gdb-7.8.50.20141223.ebuild index dfe29f5..7939e9e 100644 --- a/sys-devel/gdb/gdb-7.8.50.20141223.ebuild +++ b/sys-devel/gdb/gdb-7.8.50.20141223.ebuild @@ -15,17 +15,8 @@ if [[ ${CTARGET} == ${CHOST} ]] ; then fi is_cross() { [[ ${CHOST} != ${CTARGET} ]] ; } -RPM= MY_PV=${PV} case ${PV} in -*.*.*.*.*.*) - # fedora version: gdb-6.8.50.20090302-8.fc11.src.rpm - inherit versionator rpm - gvcr() { get_version_component_range "$@"; } - MY_PV=$(gvcr 1-4) - RPM="${PN}-${MY_PV}-$(gvcr 5).fc$(gvcr 6).src.rpm" - SRC_URI="mirror://fedora/development/source/SRPMS/${RPM}" - ;; *.*.50.*) # weekly snapshots SRC_URI="ftp://sourceware.org/pub/gdb/snapshots/current/gdb-weekly-${PV}.tar.bz2" @@ -76,7 +67,6 @@ pkg_setup() { } src_prepare() { - [[ -n ${RPM} ]] && rpm_spec_epatch "${WORKDIR}"/gdb.spec use vanilla || [[ -n ${PATCH_VER} ]] && EPATCH_SUFFIX="patch" epatch "${WORKDIR}"/patch epatch_user strip-linguas -u bfd/po opcodes/po diff --git a/sys-devel/gdb/gdb-7.8.50.20141231.ebuild b/sys-devel/gdb/gdb-7.8.50.20141231.ebuild index 50f445c..a45aa8e 100644 --- a/sys-devel/gdb/gdb-7.8.50.20141231.ebuild +++ b/sys-devel/gdb/gdb-7.8.50.20141231.ebuild @@ -15,17 +15,8 @@ if [[ ${CTARGET} == ${CHOST} ]] ; then fi is_cross() { [[ ${CHOST} != ${CTARGET} ]] ; } -RPM= MY_PV=${PV} case ${PV} in -*.*.*.*.*.*) - # fedora version: gdb-6.8.50.20090302-8.fc11.src.rpm - inherit versionator rpm - gvcr() { get_version_component_range "$@"; } - MY_PV=$(gvcr 1-4) - RPM="${PN}-${MY_PV}-$(gvcr 5).fc$(gvcr 6).src.rpm" - SRC_URI="mirror://fedora/development/source/SRPMS/${RPM}" - ;; *.*.50.*) # weekly snapshots SRC_URI="ftp://sourceware.org/pub/gdb/snapshots/current/gdb-weekly-${PV}.tar.xz" @@ -83,7 +74,6 @@ pkg_setup() { } src_prepare() { - [[ -n ${RPM} ]] && rpm_spec_epatch "${WORKDIR}"/gdb.spec use vanilla || [[ -n ${PATCH_VER} ]] && EPATCH_SUFFIX="patch" epatch "${WORKDIR}"/patch epatch_user strip-linguas -u bfd/po opcodes/po diff --git a/sys-devel/gdb/gdb-7.8.50.20150106.ebuild b/sys-devel/gdb/gdb-7.8.50.20150106.ebuild index 50f445c..a45aa8e 100644 --- a/sys-devel/gdb/gdb-7.8.50.20150106.ebuild +++ b/sys-devel/gdb/gdb-7.8.50.20150106.ebuild @@ -15,17 +15,8 @@ if [[ ${CTARGET} == ${CHOST} ]] ; then fi is_cross() { [[ ${CHOST} != ${CTARGET} ]] ; } -RPM= MY_PV=${PV} case ${PV} in -*.*.*.*.*.*) - # fedora version: gdb-6.8.50.20090302-8.fc11.src.rpm - inherit versionator rpm - gvcr() { get_version_component_range "$@"; } - MY_PV=$(gvcr 1-4) - RPM="${PN}-${MY_PV}-$(gvcr 5).fc$(gvcr 6).src.rpm" - SRC_URI="mirror://fedora/development/source/SRPMS/${RPM}" - ;; *.*.50.*) # weekly snapshots SRC_URI="ftp://sourceware.org/pub/gdb/snapshots/current/gdb-weekly-${PV}.tar.xz" @@ -83,7 +74,6 @@ pkg_setup() { } src_prepare() { - [[ -n ${RPM} ]] && rpm_spec_epatch "${WORKDIR}"/gdb.spec use vanilla || [[ -n ${PATCH_VER} ]] && EPATCH_SUFFIX="patch" epatch "${WORKDIR}"/patch epatch_user strip-linguas -u bfd/po opcodes/po diff --git a/sys-devel/gdb/gdb-7.8.50.20150113.ebuild b/sys-devel/gdb/gdb-7.8.50.20150113.ebuild index 50f445c..a45aa8e 100644 --- a/sys-devel/gdb/gdb-7.8.50.20150113.ebuild +++ b/sys-devel/gdb/gdb-7.8.50.20150113.ebuild @@ -15,17 +15,8 @@ if [[ ${CTARGET} == ${CHOST} ]] ; then fi is_cross() { [[ ${CHOST} != ${CTARGET} ]] ; } -RPM= MY_PV=${PV} case ${PV} in -*.*.*.*.*.*) - # fedora version: gdb-6.8.50.20090302-8.fc11.src.rpm - inherit versionator rpm - gvcr() { get_version_component_range "$@"; } - MY_PV=$(gvcr 1-4) - RPM="${PN}-${MY_PV}-$(gvcr 5).fc$(gvcr 6).src.rpm" - SRC_URI="mirror://fedora/development/source/SRPMS/${RPM}" - ;; *.*.50.*) # weekly snapshots SRC_URI="ftp://sourceware.org/pub/gdb/snapshots/current/gdb-weekly-${PV}.tar.xz" @@ -83,7 +74,6 @@ pkg_setup() { } src_prepare() { - [[ -n ${RPM} ]] && rpm_spec_epatch "${WORKDIR}"/gdb.spec use vanilla || [[ -n ${PATCH_VER} ]] && EPATCH_SUFFIX="patch" epatch "${WORKDIR}"/patch epatch_user strip-linguas -u bfd/po opcodes/po diff --git a/sys-devel/gdb/gdb-7.9.50.20150407.ebuild b/sys-devel/gdb/gdb-7.9.50.20150407.ebuild index 50f445c..a45aa8e 100644 --- a/sys-devel/gdb/gdb-7.9.50.20150407.ebuild +++ b/sys-devel/gdb/gdb-7.9.50.20150407.ebuild @@ -15,17 +15,8 @@ if [[ ${CTARGET} == ${CHOST} ]] ; then fi is_cross() { [[ ${CHOST} != ${CTARGET} ]] ; } -RPM= MY_PV=${PV} case ${PV} in -*.*.*.*.*.*) - # fedora version: gdb-6.8.50.20090302-8.fc11.src.rpm - inherit versionator rpm - gvcr() { get_version_component_range "$@"; } - MY_PV=$(gvcr 1-4) - RPM="${PN}-${MY_PV}-$(gvcr 5).fc$(gvcr 6).src.rpm" - SRC_URI="mirror://fedora/development/source/SRPMS/${RPM}" - ;; *.*.50.*) # weekly snapshots SRC_URI="ftp://sourceware.org/pub/gdb/snapshots/current/gdb-weekly-${PV}.tar.xz" @@ -83,7 +74,6 @@ pkg_setup() { } src_prepare() { - [[ -n ${RPM} ]] && rpm_spec_epatch "${WORKDIR}"/gdb.spec use vanilla || [[ -n ${PATCH_VER} ]] && EPATCH_SUFFIX="patch" epatch "${WORKDIR}"/patch epatch_user strip-linguas -u bfd/po opcodes/po diff --git a/sys-devel/gdb/gdb-7.9.50.20150414.ebuild b/sys-devel/gdb/gdb-7.9.50.20150414.ebuild index 50f445c..a45aa8e 100644 --- a/sys-devel/gdb/gdb-7.9.50.20150414.ebuild +++ b/sys-devel/gdb/gdb-7.9.50.20150414.ebuild @@ -15,17 +15,8 @@ if [[ ${CTARGET} == ${CHOST} ]] ; then fi is_cross() { [[ ${CHOST} != ${CTARGET} ]] ; } -RPM= MY_PV=${PV} case ${PV} in -*.*.*.*.*.*) - # fedora version: gdb-6.8.50.20090302-8.fc11.src.rpm - inherit versionator rpm - gvcr() { get_version_component_range "$@"; } - MY_PV=$(gvcr 1-4) - RPM="${PN}-${MY_PV}-$(gvcr 5).fc$(gvcr 6).src.rpm" - SRC_URI="mirror://fedora/development/source/SRPMS/${RPM}" - ;; *.*.50.*) # weekly snapshots SRC_URI="ftp://sourceware.org/pub/gdb/snapshots/current/gdb-weekly-${PV}.tar.xz" @@ -83,7 +74,6 @@ pkg_setup() { } src_prepare() { - [[ -n ${RPM} ]] && rpm_spec_epatch "${WORKDIR}"/gdb.spec use vanilla || [[ -n ${PATCH_VER} ]] && EPATCH_SUFFIX="patch" epatch "${WORKDIR}"/patch epatch_user strip-linguas -u bfd/po opcodes/po diff --git a/sys-devel/gdb/gdb-7.9.50.20150421.ebuild b/sys-devel/gdb/gdb-7.9.50.20150421.ebuild index 50f445c..a45aa8e 100644 --- a/sys-devel/gdb/gdb-7.9.50.20150421.ebuild +++ b/sys-devel/gdb/gdb-7.9.50.20150421.ebuild @@ -15,17 +15,8 @@ if [[ ${CTARGET} == ${CHOST} ]] ; then fi is_cross() { [[ ${CHOST} != ${CTARGET} ]] ; } -RPM= MY_PV=${PV} case ${PV} in -*.*.*.*.*.*) - # fedora version: gdb-6.8.50.20090302-8.fc11.src.rpm - inherit versionator rpm - gvcr() { get_version_component_range "$@"; } - MY_PV=$(gvcr 1-4) - RPM="${PN}-${MY_PV}-$(gvcr 5).fc$(gvcr 6).src.rpm" - SRC_URI="mirror://fedora/development/source/SRPMS/${RPM}" - ;; *.*.50.*) # weekly snapshots SRC_URI="ftp://sourceware.org/pub/gdb/snapshots/current/gdb-weekly-${PV}.tar.xz" @@ -83,7 +74,6 @@ pkg_setup() { } src_prepare() { - [[ -n ${RPM} ]] && rpm_spec_epatch "${WORKDIR}"/gdb.spec use vanilla || [[ -n ${PATCH_VER} ]] && EPATCH_SUFFIX="patch" epatch "${WORKDIR}"/patch epatch_user strip-linguas -u bfd/po opcodes/po |