public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Craig Andrews" <candrews@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-devel/automake/
Date: Fri, 18 Aug 2017 15:37:24 +0000 (UTC)	[thread overview]
Message-ID: <1503070630.296d7c7850b9e4ad56c3b61dcdd5cfb46222cf31.candrews@gentoo> (raw)

commit:     296d7c7850b9e4ad56c3b61dcdd5cfb46222cf31
Author:     Craig Andrews <candrews <AT> integralblue <DOT> com>
AuthorDate: Tue Jun 20 22:33:18 2017 +0000
Commit:     Craig Andrews <candrews <AT> gentoo <DOT> org>
CommitDate: Fri Aug 18 15:37:10 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=296d7c78

sys-devel/automake: Bump to EAPI=6 and sync with -9999

Package-Manager: Portage-2.3.6, Repoman-2.3.2
Closes: #4964

 ...omake-9999.ebuild => automake-1.15.1-r1.ebuild} | 66 ++++++++++++----------
 sys-devel/automake/automake-9999.ebuild            | 66 ++++++++++++----------
 2 files changed, 74 insertions(+), 58 deletions(-)

diff --git a/sys-devel/automake/automake-9999.ebuild b/sys-devel/automake/automake-1.15.1-r1.ebuild
similarity index 55%
copy from sys-devel/automake/automake-9999.ebuild
copy to sys-devel/automake/automake-1.15.1-r1.ebuild
index cf28ba4edf6..5051ee0ba2c 100644
--- a/sys-devel/automake/automake-9999.ebuild
+++ b/sys-devel/automake/automake-1.15.1-r1.ebuild
@@ -1,51 +1,60 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI="4"
+EAPI="6"
 
-EGIT_REPO_URI="git://git.savannah.gnu.org/${PN}.git
-	http://git.savannah.gnu.org/r/${PN}.git"
+inherit eutils versionator
 
-inherit eutils git-2
+if [[ ${PV} == 9999 ]] ; then
+	EGIT_REPO_URI="git://git.savannah.gnu.org/${PN}.git
+		http://git.savannah.gnu.org/r/${PN}.git"
+
+	inherit git-r3
+else
+	KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+	if [[ ${PV/_beta} == ${PV} ]]; then
+		MY_P=${P}
+		SRC_URI="mirror://gnu/${PN}/${P}.tar.xz
+			ftp://alpha.gnu.org/pub/gnu/${PN}/${MY_P}.tar.xz"
+	else
+		MY_PV="$(get_major_version).$(($(get_version_component_range 2)-1))b"
+		MY_P="${PN}-${MY_PV}"
+
+		# Alpha/beta releases are not distributed on the usual mirrors.
+		SRC_URI="ftp://alpha.gnu.org/pub/gnu/${PN}/${MY_P}.tar.xz"
+	fi
+	S="${WORKDIR}/${MY_P}"
+fi
 
 DESCRIPTION="Used to generate Makefile.in from Makefile.am"
 HOMEPAGE="https://www.gnu.org/software/automake/"
-SRC_URI=""
 
 LICENSE="GPL-2"
 # Use Gentoo versioning for slotting.
 SLOT="${PV:0:4}"
-KEYWORDS=""
 IUSE=""
 
 RDEPEND="dev-lang/perl
 	>=sys-devel/automake-wrapper-10
-	>=sys-devel/autoconf-2.69
-	>=sys-apps/texinfo-4.7
+	>=sys-devel/autoconf-2.69:*
 	sys-devel/gnuconfig"
 DEPEND="${RDEPEND}
 	sys-apps/help2man"
 
 src_prepare() {
+	default
 	export WANT_AUTOCONF=2.5
 	# Don't try wrapping the autotools this thing runs as it tends
 	# to be a bit esoteric, and the script does `set -e` itself.
-	./bootstrap.sh
-}
-
-src_configure() {
-	econf --docdir="\$(datarootdir)/doc/${PF}"
-}
-
-src_test() {
-	emake check
+	./bootstrap || die
+	sed -i -e "/APIVERSION=/s:=.*:=${SLOT}:" configure || die
 }
 
 # slot the info pages.  do this w/out munging the source so we don't have
 # to depend on texinfo to regen things.  #464146 (among others)
 slot_info_pages() {
-	pushd "${ED}"/usr/share/info >/dev/null
-	rm -f dir
+	pushd "${ED}"/usr/share/info >/dev/null || die
+	rm -f dir || dir
 
 	# Rewrite all the references to other pages.
 	# before: * aclocal-invocation: (automake)aclocal Invocation.   Generating aclocal.m4.
@@ -67,23 +76,22 @@ slot_info_pages() {
 		sed -i -e "s:${f}:${d}:g" * || die
 	done
 
-	popd >/dev/null
+	popd >/dev/null || die
 }
 
 src_install() {
 	default
-	slot_info_pages
 
-	# SLOT the docs and junk
-	local x
-	for x in aclocal automake ; do
-		help2man "perl -Ilib ${x}" > ${x}-${SLOT}.1
-		doman ${x}-${SLOT}.1
-		rm -f "${ED}"/usr/bin/${x}
-	done
+	slot_info_pages
+	rm "${ED}"/usr/share/aclocal/README || die
+	rmdir "${ED}"/usr/share/aclocal || die
+	rm \
+		"${ED}"/usr/bin/{aclocal,automake} \
+		"${ED}"/usr/share/man/man1/{aclocal,automake}.1 || die
 
 	# remove all config.guess and config.sub files replacing them
 	# w/a symlink to a specific gnuconfig version
+	local x
 	for x in guess sub ; do
 		dosym ../gnuconfig/config.${x} /usr/share/${PN}-${SLOT}/config.${x}
 	done

diff --git a/sys-devel/automake/automake-9999.ebuild b/sys-devel/automake/automake-9999.ebuild
index cf28ba4edf6..5051ee0ba2c 100644
--- a/sys-devel/automake/automake-9999.ebuild
+++ b/sys-devel/automake/automake-9999.ebuild
@@ -1,51 +1,60 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI="4"
+EAPI="6"
 
-EGIT_REPO_URI="git://git.savannah.gnu.org/${PN}.git
-	http://git.savannah.gnu.org/r/${PN}.git"
+inherit eutils versionator
 
-inherit eutils git-2
+if [[ ${PV} == 9999 ]] ; then
+	EGIT_REPO_URI="git://git.savannah.gnu.org/${PN}.git
+		http://git.savannah.gnu.org/r/${PN}.git"
+
+	inherit git-r3
+else
+	KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+	if [[ ${PV/_beta} == ${PV} ]]; then
+		MY_P=${P}
+		SRC_URI="mirror://gnu/${PN}/${P}.tar.xz
+			ftp://alpha.gnu.org/pub/gnu/${PN}/${MY_P}.tar.xz"
+	else
+		MY_PV="$(get_major_version).$(($(get_version_component_range 2)-1))b"
+		MY_P="${PN}-${MY_PV}"
+
+		# Alpha/beta releases are not distributed on the usual mirrors.
+		SRC_URI="ftp://alpha.gnu.org/pub/gnu/${PN}/${MY_P}.tar.xz"
+	fi
+	S="${WORKDIR}/${MY_P}"
+fi
 
 DESCRIPTION="Used to generate Makefile.in from Makefile.am"
 HOMEPAGE="https://www.gnu.org/software/automake/"
-SRC_URI=""
 
 LICENSE="GPL-2"
 # Use Gentoo versioning for slotting.
 SLOT="${PV:0:4}"
-KEYWORDS=""
 IUSE=""
 
 RDEPEND="dev-lang/perl
 	>=sys-devel/automake-wrapper-10
-	>=sys-devel/autoconf-2.69
-	>=sys-apps/texinfo-4.7
+	>=sys-devel/autoconf-2.69:*
 	sys-devel/gnuconfig"
 DEPEND="${RDEPEND}
 	sys-apps/help2man"
 
 src_prepare() {
+	default
 	export WANT_AUTOCONF=2.5
 	# Don't try wrapping the autotools this thing runs as it tends
 	# to be a bit esoteric, and the script does `set -e` itself.
-	./bootstrap.sh
-}
-
-src_configure() {
-	econf --docdir="\$(datarootdir)/doc/${PF}"
-}
-
-src_test() {
-	emake check
+	./bootstrap || die
+	sed -i -e "/APIVERSION=/s:=.*:=${SLOT}:" configure || die
 }
 
 # slot the info pages.  do this w/out munging the source so we don't have
 # to depend on texinfo to regen things.  #464146 (among others)
 slot_info_pages() {
-	pushd "${ED}"/usr/share/info >/dev/null
-	rm -f dir
+	pushd "${ED}"/usr/share/info >/dev/null || die
+	rm -f dir || dir
 
 	# Rewrite all the references to other pages.
 	# before: * aclocal-invocation: (automake)aclocal Invocation.   Generating aclocal.m4.
@@ -67,23 +76,22 @@ slot_info_pages() {
 		sed -i -e "s:${f}:${d}:g" * || die
 	done
 
-	popd >/dev/null
+	popd >/dev/null || die
 }
 
 src_install() {
 	default
-	slot_info_pages
 
-	# SLOT the docs and junk
-	local x
-	for x in aclocal automake ; do
-		help2man "perl -Ilib ${x}" > ${x}-${SLOT}.1
-		doman ${x}-${SLOT}.1
-		rm -f "${ED}"/usr/bin/${x}
-	done
+	slot_info_pages
+	rm "${ED}"/usr/share/aclocal/README || die
+	rmdir "${ED}"/usr/share/aclocal || die
+	rm \
+		"${ED}"/usr/bin/{aclocal,automake} \
+		"${ED}"/usr/share/man/man1/{aclocal,automake}.1 || die
 
 	# remove all config.guess and config.sub files replacing them
 	# w/a symlink to a specific gnuconfig version
+	local x
 	for x in guess sub ; do
 		dosym ../gnuconfig/config.${x} /usr/share/${PN}-${SLOT}/config.${x}
 	done


             reply	other threads:[~2017-08-18 15:37 UTC|newest]

Thread overview: 199+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-18 15:37 Craig Andrews [this message]
  -- strict thread matches above, loose matches on Subject: below --
2023-12-27 20:57 [gentoo-commits] repo/gentoo:master commit in: sys-devel/automake/ Sam James
2023-12-24  1:07 Sam James
2023-10-17 13:01 David Seifert
2023-10-17 12:32 Sam James
2023-10-17 12:32 Sam James
2023-10-17 12:32 Sam James
2023-10-17 12:32 Sam James
2023-10-13 11:01 David Seifert
2023-08-30 23:52 Sam James
2023-07-18 19:12 Sam James
2023-07-11 14:02 Jakov Smolić
2023-07-09  2:13 Sam James
2023-07-09  2:13 Sam James
2023-03-27 20:40 Arsen Arsenović
2022-08-18  0:15 Sam James
2022-07-30  3:14 Sam James
2022-07-27  2:40 Sam James
2022-06-10 13:31 David Seifert
2022-04-16  4:47 Arthur Zamarin
2022-04-10 18:09 Arthur Zamarin
2022-04-10 18:05 Arthur Zamarin
2022-04-09 19:47 Arthur Zamarin
2022-04-09 19:31 Arthur Zamarin
2022-04-09 19:23 Arthur Zamarin
2022-04-07 20:58 Jakov Smolić
2022-04-07 20:58 Jakov Smolić
2021-10-04  3:46 Sam James
2021-10-02 15:43 Sam James
2021-09-27  4:14 Sam James
2021-09-21 16:35 Sam James
2021-09-20  0:27 Sam James
2021-09-19  6:39 Agostino Sarubbo
2021-09-18 19:51 Sam James
2021-09-18 19:51 Sam James
2021-09-18 19:48 Sam James
2021-07-27 22:36 Sam James
2021-07-27  7:07 Lars Wendler
2021-05-26  8:33 David Seifert
2021-05-25 16:55 Sam James
2021-05-22 19:23 Sergei Trofimovich
2021-05-22 15:10 Sam James
2021-05-22  1:35 Sam James
2021-05-22  1:35 Sam James
2021-05-22  1:32 Sam James
2021-05-21 19:49 Sam James
2021-04-17 14:18 Mike Gilbert
2021-04-17 14:18 Mike Gilbert
2021-02-28 21:32 Sam James
2021-02-28 21:32 Sam James
2021-01-06 17:35 Sergei Trofimovich
2021-01-06 15:32 Fabian Groffen
2020-12-27 18:18 Fabian Groffen
2020-11-24  7:43 Agostino Sarubbo
2020-11-23  7:58 Sergei Trofimovich
2020-11-23  7:52 Sergei Trofimovich
2020-11-23  4:37 Sam James
2020-11-20 13:42 Sam James
2020-11-20 13:42 Sam James
2020-11-20 13:42 Sam James
2020-11-20  1:34 Thomas Deutschmann
2020-11-19  9:36 Lars Wendler
2020-09-24 10:56 Lars Wendler
2020-05-04 17:36 Thomas Deutschmann
2020-03-22 13:03 Lars Wendler
2020-02-10 13:26 Michał Górny
2020-01-20  5:54 Andreas K. Hüttel
2020-01-20  5:04 Andreas K. Hüttel
2019-12-10 14:28 Lars Wendler
2019-11-12  9:02 Lars Wendler
2019-11-08  9:47 Lars Wendler
2019-05-05 22:44 Mike Gilbert
2019-05-05 19:06 Andreas K. Hüttel
2019-05-04 17:34 Mikle Kolyada
2019-01-17 20:47 Mikle Kolyada
2019-01-17 20:47 Mikle Kolyada
2019-01-17 20:47 Mikle Kolyada
2019-01-17 20:47 Mikle Kolyada
2019-01-16  6:05 Mart Raudsepp
2018-12-27  8:16 Sergei Trofimovich
2018-12-27  2:59 Matt Turner
2018-12-26 13:55 Sergei Trofimovich
2018-12-26 13:52 Sergei Trofimovich
2018-12-25 19:36 Sergei Trofimovich
2018-12-23 21:23 Thomas Deutschmann
2018-12-23 10:26 Mikle Kolyada
2018-03-29  3:34 Mike Frysinger
2018-03-14 15:31 Mikle Kolyada
2018-03-14 15:25 Mikle Kolyada
2018-03-13 23:53 Thomas Deutschmann
2018-03-13 17:39 Markus Meier
2018-03-13 17:39 Markus Meier
2018-03-13 17:39 Markus Meier
2018-03-13 17:39 Markus Meier
2018-03-13 17:39 Markus Meier
2018-03-13 17:39 Markus Meier
2018-03-13 17:39 Markus Meier
2018-03-12 12:16 Thomas Deutschmann
2018-03-12  9:32 Lars Wendler
2018-03-07 23:29 Sergei Trofimovich
2018-03-07 23:29 Sergei Trofimovich
2018-03-07 23:29 Sergei Trofimovich
2018-03-07 23:29 Sergei Trofimovich
2018-03-07 23:29 Sergei Trofimovich
2018-03-07 23:29 Sergei Trofimovich
2018-03-07 23:29 Sergei Trofimovich
2018-03-05 19:01 Tobias Klausmann
2018-03-05 19:00 Tobias Klausmann
2018-03-05 18:59 Tobias Klausmann
2018-03-05 18:58 Tobias Klausmann
2018-03-05 18:57 Tobias Klausmann
2018-03-05 18:57 Tobias Klausmann
2018-03-05 18:56 Tobias Klausmann
2018-03-05  0:36 Mart Raudsepp
2018-03-04 19:11 Sergei Trofimovich
2018-03-04 19:11 Sergei Trofimovich
2018-03-04 19:11 Sergei Trofimovich
2018-03-04 19:11 Sergei Trofimovich
2018-03-04 19:11 Sergei Trofimovich
2018-03-04 19:11 Sergei Trofimovich
2018-03-04 19:11 Sergei Trofimovich
2018-03-04 11:13 Sergei Trofimovich
2018-03-04 11:13 Sergei Trofimovich
2018-03-04 11:13 Sergei Trofimovich
2018-03-04 11:13 Sergei Trofimovich
2018-03-04 11:13 Sergei Trofimovich
2018-03-04 11:13 Sergei Trofimovich
2018-03-04 11:13 Sergei Trofimovich
2018-03-04 10:19 Jason Zaman
2018-03-04 10:12 Sergei Trofimovich
2018-03-04 10:12 Sergei Trofimovich
2018-03-04 10:12 Sergei Trofimovich
2018-03-04 10:12 Sergei Trofimovich
2018-03-04 10:12 Sergei Trofimovich
2018-03-04 10:12 Sergei Trofimovich
2018-03-04 10:12 Sergei Trofimovich
2018-03-01  1:32 Thomas Deutschmann
2018-03-01  1:20 Thomas Deutschmann
2018-03-01  1:02 Thomas Deutschmann
2018-02-25 22:48 Thomas Deutschmann
2018-01-11 22:50 Mike Frysinger
2018-01-05  9:39 Lars Wendler
2017-11-29  5:56 Markus Meier
2017-11-29  5:56 Markus Meier
2017-11-29  5:56 Markus Meier
2017-11-29  5:56 Markus Meier
2017-11-29  5:56 Markus Meier
2017-11-29  5:56 Markus Meier
2017-11-20 15:08 Manuel Rüger
2017-11-20 15:04 Manuel Rüger
2017-11-20 15:04 Manuel Rüger
2017-11-20 14:59 Manuel Rüger
2017-11-20 14:57 Manuel Rüger
2017-11-20 14:57 Manuel Rüger
2017-11-13  7:27 Sergei Trofimovich
2017-11-13  7:27 Sergei Trofimovich
2017-11-13  7:27 Sergei Trofimovich
2017-11-13  7:27 Sergei Trofimovich
2017-11-13  7:27 Sergei Trofimovich
2017-11-13  7:27 Sergei Trofimovich
2017-11-11 14:09 Sergei Trofimovich
2017-11-11 14:09 Sergei Trofimovich
2017-11-11 14:09 Sergei Trofimovich
2017-11-11 14:09 Sergei Trofimovich
2017-11-11 14:09 Sergei Trofimovich
2017-11-11 14:09 Sergei Trofimovich
2017-11-06 14:21 Tobias Klausmann
2017-11-06 14:21 Tobias Klausmann
2017-11-06 14:20 Tobias Klausmann
2017-11-06 14:19 Tobias Klausmann
2017-11-06 14:19 Tobias Klausmann
2017-10-24 21:09 Sergei Trofimovich
2017-10-24 21:09 Sergei Trofimovich
2017-10-24 21:09 Sergei Trofimovich
2017-10-24 21:09 Sergei Trofimovich
2017-10-24 21:09 Sergei Trofimovich
2017-10-24 21:09 Sergei Trofimovich
2017-10-23 20:38 Sergei Trofimovich
2017-10-23 20:38 Sergei Trofimovich
2017-10-23 20:38 Sergei Trofimovich
2017-10-23 20:38 Sergei Trofimovich
2017-10-23 20:38 Sergei Trofimovich
2017-10-23 20:38 Sergei Trofimovich
2017-10-22 20:33 Thomas Deutschmann
2017-06-20 10:54 Lars Wendler
2017-06-04 22:13 Sergei Trofimovich
2017-05-09 16:31 Markus Meier
2017-04-30  8:53 Jeroen Roovers
2017-04-28 12:52 Agostino Sarubbo
2017-04-28 12:31 Agostino Sarubbo
2017-03-25  9:08 Fabian Groffen
2017-03-23 14:37 Fabian Groffen
2016-10-21 11:14 Lars Wendler
2016-05-19  2:57 Benda XU
2016-05-13 17:40 Mike Frysinger
2016-05-13 17:40 Mike Frysinger
2016-05-13 17:40 Mike Frysinger
2015-12-16 22:52 Mike Frysinger
2015-09-03  4:57 Matt Turner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1503070630.296d7c7850b9e4ad56c3b61dcdd5cfb46222cf31.candrews@gentoo \
    --to=candrews@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox