public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "David Seifert" <soap@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-portage/ufed/
Date: Sun,  7 Apr 2019 14:20:21 +0000 (UTC)	[thread overview]
Message-ID: <1554646772.2648e5833dfdbdfd494313fd85f0cb8581758061.soap@gentoo> (raw)

commit:     2648e5833dfdbdfd494313fd85f0cb8581758061
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Sun Apr  7 14:19:32 2019 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sun Apr  7 14:19:32 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2648e583

app-portage/ufed: Update live ebuild

Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: David Seifert <soap <AT> gentoo.org>

 app-portage/ufed/ufed-9999.ebuild | 27 ++++++++++++++++-----------
 1 file changed, 16 insertions(+), 11 deletions(-)

diff --git a/app-portage/ufed/ufed-9999.ebuild b/app-portage/ufed/ufed-9999.ebuild
index 6ab99b399c0..3a357527b71 100644
--- a/app-portage/ufed/ufed-9999.ebuild
+++ b/app-portage/ufed/ufed-9999.ebuild
@@ -1,18 +1,23 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=5
+EAPI=7
 
-inherit eutils multilib git-r3 autotools
+if [[ ${PV} == *9999 ]]; then
+	inherit git-r3
+	EGIT_REPO_URI="https://anongit.gentoo.org/git/proj/ufed.git"
+else
+	SRC_URI="https://gitweb.gentoo.org/proj/ufed.git/snapshot/${P}.tar.bz2"
+	KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux"
+fi
+
+inherit autotools out-of-source
 
 DESCRIPTION="Gentoo Linux USE flags editor"
 HOMEPAGE="https://wiki.gentoo.org/wiki/Ufed"
-SRC_URI=""
-EGIT_REPO_URI="git://anongit.gentoo.org/proj/ufed.git"
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS=""
 IUSE=""
 
 COMMON_DEPEND="sys-libs/ncurses:0="
@@ -22,11 +27,11 @@ DEPEND="${COMMON_DEPEND}
 	virtual/pkgconfig"
 
 src_prepare() {
+	default
 	# Change the version number to reflect the ebuild version
-	sed -i "s:,\[git\],:,\[9999-${EGIT_VERSION}\],:" configure.ac
-	eautoreconf
-}
+	local REPLACEMENT_VERSION_STR="${PVR}"
+	[[ ${PV} == *9999 ]] && REPLACEMENT_VERSION_STR+="-${EGIT_VERSION}"
+	sed -i "s:,\[git\],:,\[${REPLACEMENT_VERSION_STR}\],:" configure.ac || die
 
-src_configure() {
-	econf --libexecdir="${EPREFIX}"/usr/$(get_libdir)/ufed
+	eautoreconf
 }


             reply	other threads:[~2019-04-07 14:20 UTC|newest]

Thread overview: 38+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-04-07 14:20 David Seifert [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-03-07 11:51 [gentoo-commits] repo/gentoo:master commit in: app-portage/ufed/ Sam James
2020-08-24 17:45 Jonas Stein
2020-05-06  8:43 Ulrich Müller
2020-05-05 21:04 Sergei Trofimovich
2020-05-02 18:44 Agostino Sarubbo
2020-05-02 18:44 Agostino Sarubbo
2020-05-02 18:43 Agostino Sarubbo
2020-05-02 18:43 Agostino Sarubbo
2020-05-02 18:42 Agostino Sarubbo
2020-05-02 18:42 Agostino Sarubbo
2020-05-02  8:49 Ulrich Müller
2019-09-28  6:46 Joonas Niilola
2019-05-04 14:28 Andreas K. Hüttel
2019-05-04  8:32 David Seifert
2019-05-04  8:32 David Seifert
2019-05-04  8:32 David Seifert
2019-05-02 21:45 Mikle Kolyada
2019-05-02 21:45 Mikle Kolyada
2019-04-28 13:03 Sergei Trofimovich
2019-04-28  7:42 Sergei Trofimovich
2019-04-27 15:48 Sergei Trofimovich
2019-04-26 20:35 Sergei Trofimovich
2019-04-24 21:33 Thomas Deutschmann
2019-04-23 20:59 Sergei Trofimovich
2019-04-23 19:24 Mikle Kolyada
2019-04-18  3:30 Aaron Bauman
2019-04-07 15:50 David Seifert
2019-04-07 14:20 David Seifert
2018-02-11 10:25 Michał Górny
2018-01-23 22:21 Patrice Clement
2015-12-27 10:01 Mikle Kolyada
2015-12-25 16:20 Agostino Sarubbo
2015-12-20  5:48 Jeroen Roovers
2015-12-07 11:40 Agostino Sarubbo
2015-12-07 10:02 Agostino Sarubbo
2015-12-06 12:00 Markus Meier
2015-08-16 14:20 Justin Lecher

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=1554646772.2648e5833dfdbdfd494313fd85f0cb8581758061.soap@gentoo \
    --to=soap@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