public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Anthony G. Basile" <blueness@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-libs/uclibc-ng/
Date: Mon, 31 Dec 2018 18:24:54 +0000 (UTC)	[thread overview]
Message-ID: <1546280674.45c0e9cd021cb7079fc62a057e8c1402b6be2fbd.blueness@gentoo> (raw)

commit:     45c0e9cd021cb7079fc62a057e8c1402b6be2fbd
Author:     Anthony G. Basile <blueness <AT> gentoo <DOT> org>
AuthorDate: Mon Dec 31 18:24:34 2018 +0000
Commit:     Anthony G. Basile <blueness <AT> gentoo <DOT> org>
CommitDate: Mon Dec 31 18:24:34 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=45c0e9cd

sys-libs/uclibc-ng: bump 9999 to EAPI=7

Signed-off-by: Anthony G. Basile <blueness <AT> gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11

 sys-libs/uclibc-ng/uclibc-ng-9999.ebuild | 18 ++++++++++--------
 1 file changed, 10 insertions(+), 8 deletions(-)

diff --git a/sys-libs/uclibc-ng/uclibc-ng-9999.ebuild b/sys-libs/uclibc-ng/uclibc-ng-9999.ebuild
index 9e216067cb3..46dcc44af01 100644
--- a/sys-libs/uclibc-ng/uclibc-ng-9999.ebuild
+++ b/sys-libs/uclibc-ng/uclibc-ng-9999.ebuild
@@ -1,9 +1,9 @@
 # Copyright 1999-2018 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI="6"
+EAPI="7"
 
-inherit flag-o-matic multilib savedconfig toolchain-funcs versionator
+inherit flag-o-matic multilib savedconfig toolchain-funcs
 
 if [[ ${PV} == "9999" ]] ; then
 	EGIT_REPO_URI="git://uclibc-ng.org/git/uclibc-ng"
@@ -257,22 +257,24 @@ src_prepare() {
 	# Upstream sets MAJOR_VERSION = 1 which breaks runtime linking.
 	# If we really want the ABI bump, we'll have to hack the gcc
 	# spec file and change the '*link:' rule.
-	version=( $(get_version_components) )
-	if [[ -z ${version[1]} ]]; then
+	version_0=$(ver_cut 1)
+	version_1=$(ver_cut 2)
+	version_2=$(ver_cut 3)
+	if [[ -z ${version_1} ]]; then
 		subversion=0
 		extraversion=0
 	else
-		subversion=${version[1]}
-		if [[ -z ${version[2]} ]]; then
+		subversion=${version_1}
+		if [[ -z ${version_2} ]]; then
 			extraversion=0
 		else
-			extraversion=.${version[2]}
+			extraversion=.${version_2}
 		fi
 	fi
 
 	sed -i \
 		-e "/^MAJOR_VERSION/s|:=.*|:= 0|" \
-		-e "/^MINOR_VERSION/s|:=.*|:= ${version[0]}|" \
+		-e "/^MINOR_VERSION/s|:=.*|:= ${version_0}|" \
 		-e "/^SUBLEVEL/s|:=.*|:= ${subversion}|" \
 		-e "/^EXTRAVERSION/s|:=.*|:= ${extraversion}|" \
 		Rules.mak || die


             reply	other threads:[~2018-12-31 18:25 UTC|newest]

Thread overview: 70+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-12-31 18:24 Anthony G. Basile [this message]
  -- strict thread matches above, loose matches on Subject: below --
2020-09-04 16:50 [gentoo-commits] repo/gentoo:master commit in: sys-libs/uclibc-ng/ Anthony G. Basile
2020-05-30 15:34 Anthony G. Basile
2020-05-06  1:44 Anthony G. Basile
2020-04-24 18:44 Anthony G. Basile
2020-04-24 16:18 Anthony G. Basile
2020-04-24 16:18 Anthony G. Basile
2020-02-02 13:04 Sergei Trofimovich
2020-01-15  0:31 Anthony G. Basile
2020-01-14 22:26 Anthony G. Basile
2020-01-14 20:10 Anthony G. Basile
2019-11-18 13:38 Anthony G. Basile
2019-11-17 16:29 Anthony G. Basile
2019-10-27  2:13 Anthony G. Basile
2019-10-27  2:13 Anthony G. Basile
2018-12-31 17:55 Anthony G. Basile
2018-12-02 12:22 Sergei Trofimovich
2018-11-17 12:46 Anthony G. Basile
2018-10-04 21:41 Anthony G. Basile
2018-06-09 23:56 Anthony G. Basile
2018-05-16  8:41 Anthony G. Basile
2018-04-29 19:47 Anthony G. Basile
2018-04-28 20:52 Anthony G. Basile
2018-04-11  9:40 David Seifert
2018-03-09 22:57 Anthony G. Basile
2018-03-04  1:54 Anthony G. Basile
2018-03-04  1:51 Anthony G. Basile
2018-03-03 20:50 Anthony G. Basile
2018-01-26 19:33 Anthony G. Basile
2018-01-11  2:08 Anthony G. Basile
2018-01-07 19:39 Sergei Trofimovich
2017-11-28 22:07 Anthony G. Basile
2017-11-28 22:02 Anthony G. Basile
2017-11-14 15:33 Anthony G. Basile
2017-09-21 14:03 Anthony G. Basile
2017-08-10 10:04 Anthony G. Basile
2017-08-06 11:33 Anthony G. Basile
2017-08-04 20:25 Anthony G. Basile
2017-07-21 11:14 Anthony G. Basile
2017-07-09 14:40 Anthony G. Basile
2017-06-12 21:47 Anthony G. Basile
2017-06-07 10:22 Anthony G. Basile
2017-05-25 16:55 Anthony G. Basile
2017-04-25 22:48 Anthony G. Basile
2017-04-23 11:59 Anthony G. Basile
2017-04-04  2:03 Anthony G. Basile
2017-04-04  1:59 Anthony G. Basile
2017-03-19 15:39 Anthony G. Basile
2017-02-18 20:52 Anthony G. Basile
2017-02-08 15:22 Anthony G. Basile
2016-12-28  9:28 Anthony G. Basile
2016-12-26 15:49 Anthony G. Basile
2016-12-05 22:45 Anthony G. Basile
2016-12-02  1:23 Anthony G. Basile
2016-10-30 22:57 Anthony G. Basile
2016-10-30  9:41 Anthony G. Basile
2016-10-03  0:00 Anthony G. Basile
2016-08-13 13:57 Anthony G. Basile
2016-08-08  1:13 Anthony G. Basile
2016-08-01 22:43 Anthony G. Basile
2016-07-28  3:12 Anthony G. Basile
2016-07-18 16:00 Anthony G. Basile
2016-07-14 13:28 Anthony G. Basile
2016-07-08  8:54 Anthony G. Basile
2016-07-08  8:54 Anthony G. Basile
2016-07-08  8:54 Anthony G. Basile
2016-07-02 22:39 Anthony G. Basile
2016-05-29 23:10 Anthony G. Basile
2016-04-18 23:00 Anthony G. Basile
2016-04-13  8:34 Anthony G. Basile

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=1546280674.45c0e9cd021cb7079fc62a057e8c1402b6be2fbd.blueness@gentoo \
    --to=blueness@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