public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Lars Wendler" <polynomial-c@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-block/thin-provisioning-tools/
Date: Sun, 21 Apr 2019 10:16:20 +0000 (UTC)	[thread overview]
Message-ID: <1555841772.f81f95471c25e346bac4c489a058af14f4e9b68e.polynomial-c@gentoo> (raw)

commit:     f81f95471c25e346bac4c489a058af14f4e9b68e
Author:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
AuthorDate: Sun Apr 21 10:10:16 2019 +0000
Commit:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Sun Apr 21 10:16:12 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f81f9547

sys-block/thin-provisioning-tools: Improved live ebuild.

Package-Manager: Portage-2.3.64, Repoman-2.3.12
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>

 .../thin-provisioning-tools-9999.ebuild            | 31 ++++++++++++++--------
 1 file changed, 20 insertions(+), 11 deletions(-)

diff --git a/sys-block/thin-provisioning-tools/thin-provisioning-tools-9999.ebuild b/sys-block/thin-provisioning-tools/thin-provisioning-tools-9999.ebuild
index 96d1cf0b494..8b0eb97b216 100644
--- a/sys-block/thin-provisioning-tools/thin-provisioning-tools-9999.ebuild
+++ b/sys-block/thin-provisioning-tools/thin-provisioning-tools-9999.ebuild
@@ -1,11 +1,9 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
 
-[[ ${PV} == *9999 ]] && SCM="git-r3"
-EGIT_REPO_URI='https://github.com/jthornber/thin-provisioning-tools.git'
-inherit autotools flag-o-matic $SCM
+inherit autotools flag-o-matic
 
 DESCRIPTION="A suite of tools for thin provisioning on Linux"
 HOMEPAGE="https://github.com/jthornber/thin-provisioning-tools"
@@ -13,6 +11,9 @@ HOMEPAGE="https://github.com/jthornber/thin-provisioning-tools"
 if [[ ${PV} != *9999 ]]; then
 	SRC_URI="https://github.com/jthornber/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
 	KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux"
+else
+	inherit git-r3
+	EGIT_REPO_URI='https://github.com/jthornber/thin-provisioning-tools.git'
 fi
 
 LICENSE="GPL-3"
@@ -25,14 +26,20 @@ RDEPEND="!static? ( ${LIB_DEPEND//\[static-libs(+)]} )"
 DEPEND="${RDEPEND}
 	static? ( ${LIB_DEPEND} )
 	test? (
-		|| ( dev-lang/ruby:2.5 dev-lang/ruby:2.4 dev-lang/ruby:2.3 )
+		|| (
+			dev-lang/ruby:2.6
+			dev-lang/ruby:2.5
+			dev-lang/ruby:2.4
+		)
 		>=dev-cpp/gtest-1.8.0
 		dev-util/cucumber
 		dev-util/aruba
 	)
 	dev-libs/boost"
 
-PATCHES=( "${FILESDIR}"/${PN}-0.7.0-build-fixes.patch )
+PATCHES=(
+	"${FILESDIR}"/${PN}-0.7.0-build-fixes.patch
+)
 
 src_prepare() {
 	default
@@ -41,11 +48,13 @@ src_prepare() {
 
 src_configure() {
 	use static && append-ldflags -static
-	STRIP=true econf \
-		--prefix="${EPREFIX}"/ \
-		--bindir="${EPREFIX}"/sbin \
-		--with-optimisation='' \
+	local myeconfargs=(
+		--prefix="${EPREFIX}"/
+		--bindir="${EPREFIX}"/sbin
+		--with-optimisation=''
 		$(use_enable test testing)
+	)
+	STRIP=true econf "${myeconfargs[@]}"
 }
 
 src_compile() {
@@ -58,6 +67,6 @@ src_test() {
 }
 
 src_install() {
-	emake DESTDIR="${D}" DATADIR="${ED%/}/usr/share" install
+	emake DESTDIR="${D}" DATADIR="${D%/}/usr/share" install
 	dodoc README.md TODO.org
 }


             reply	other threads:[~2019-04-21 10:16 UTC|newest]

Thread overview: 106+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-04-21 10:16 Lars Wendler [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-02-23 19:10 [gentoo-commits] repo/gentoo:master commit in: sys-block/thin-provisioning-tools/ Robin H. Johnson
2024-11-24 11:02 Sam James
2024-11-15 21:09 Sam James
2024-11-15 10:50 Arthur Zamarin
2024-11-15 10:50 Arthur Zamarin
2024-11-15  9:25 Arthur Zamarin
2024-11-15  9:23 Arthur Zamarin
2024-11-13 17:46 Ben Kohler
2024-11-13  2:23 Sam James
2024-11-11 20:19 Sam James
2024-11-11 19:06 Sam James
2024-11-11 19:06 Sam James
2024-11-11 17:08 Sam James
2024-10-17  4:33 Sam James
2024-10-16  7:55 Sam James
2024-10-16  7:55 Sam James
2024-10-16  7:41 Sam James
2024-07-15  2:37 Sam James
2024-07-15  2:37 Sam James
2024-07-15  2:37 Sam James
2024-07-15  2:37 Sam James
2024-07-15  2:37 Sam James
2024-07-15  2:37 Sam James
2024-07-15  2:23 Sam James
2024-07-15  2:23 Sam James
2024-06-17  9:39 James Le Cuirot
2024-03-11 16:17 Viorel Munteanu
2024-02-29  4:34 Sam James
2024-02-29  4:34 Sam James
2024-02-18 13:17 Sam James
2024-01-18  1:47 Sam James
2024-01-14  3:40 Sam James
2023-12-16  2:45 Sam James
2023-12-08 20:54 Arthur Zamarin
2023-12-02 11:13 Arthur Zamarin
2023-11-25 16:57 Arthur Zamarin
2023-10-23 14:05 Arthur Zamarin
2023-10-22 12:22 Sam James
2023-09-06 18:57 WANG Xuerui
2023-09-06 18:57 WANG Xuerui
2023-09-06  9:19 Sam James
2023-09-06  8:39 Sam James
2023-09-06  8:39 Sam James
2023-09-06  8:39 Sam James
2023-09-06  8:39 Sam James
2023-09-06  8:39 Sam James
2023-09-06  8:39 Sam James
2023-09-06  8:39 Sam James
2023-03-31 21:16 Robin H. Johnson
2022-05-08 16:12 WANG Xuerui
2022-04-17 17:06 Sam James
2022-01-15 23:31 James Le Cuirot
2021-12-31 19:24 Arthur Zamarin
2021-12-24 21:10 Sam James
2021-12-24 19:42 Mike Gilbert
2021-11-16  4:43 Sam James
2021-11-16  4:42 Sam James
2021-07-09  6:55 Hans de Graaff
2021-06-10  9:41 Guilherme Amadio
2021-05-14  9:36 Agostino Sarubbo
2021-05-14  9:35 Agostino Sarubbo
2021-05-13 16:18 Sam James
2021-02-02 16:46 Lars Wendler
2021-02-01 18:36 Lars Wendler
2020-08-12 21:46 Lars Wendler
2020-08-12 21:46 Lars Wendler
2020-08-12 21:46 Lars Wendler
2020-08-12 21:46 Lars Wendler
2020-04-08 20:40 Göktürk Yüksek
2019-09-01  7:46 Mikle Kolyada
2019-06-07  8:01 Agostino Sarubbo
2019-06-05 14:14 Lars Wendler
2019-06-03 12:38 Lars Wendler
2019-06-03 12:38 Lars Wendler
2019-05-28  2:08 Lars Wendler
2019-05-28  2:08 Lars Wendler
2019-05-28  2:08 Lars Wendler
2019-05-08 13:04 Lars Wendler
2019-04-21 10:16 Lars Wendler
2019-01-16 21:07 Mart Raudsepp
2018-08-26 20:35 Michał Górny
2018-05-03 12:52 Lars Wendler
2018-04-26 15:14 Mike Gilbert
2018-04-24  8:15 Mikle Kolyada
2018-01-13 19:29 Sergei Trofimovich
2017-12-09  9:59 Michael Palimaka
2017-11-29 20:28 Sergei Trofimovich
2017-11-23 20:48 Thomas Deutschmann
2017-10-29 17:38 Sergei Trofimovich
2017-10-20 11:07 Lars Wendler
2017-10-20 11:07 Lars Wendler
2017-10-04 16:06 Lars Wendler
2017-10-03  0:15 Thomas Deutschmann
2017-10-02 23:45 Thomas Deutschmann
2017-10-02 14:00 Manuel Rüger
2017-09-26 17:03 Robin H. Johnson
2017-09-15 15:38 Tobias Klausmann
2017-09-15  7:50 Sergei Trofimovich
2017-09-12 22:01 Robin H. Johnson
2017-08-14 13:36 Lars Wendler
2016-05-09  4:05 Mike Frysinger
2016-05-09  3:26 Mike Frysinger
2016-05-09  3:04 Mike Frysinger
2016-05-09  2:55 Mike Frysinger
2015-09-22  4:29 Jeroen Roovers

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=1555841772.f81f95471c25e346bac4c489a058af14f4e9b68e.polynomial-c@gentoo \
    --to=polynomial-c@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