public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Alexey Shvetsov" <alexxy@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/sci:master commit in: sys-cluster/lustre/
Date: Mon, 11 Dec 2017 18:36:03 +0000 (UTC)	[thread overview]
Message-ID: <1513017339.596207ca6a24358be8bba0121b7b4c35239aa860.alexxy@gentoo> (raw)

commit:     596207ca6a24358be8bba0121b7b4c35239aa860
Author:     Alexey Shvetsov <alexxy <AT> omrb <DOT> pnpi <DOT> spb <DOT> ru>
AuthorDate: Mon Dec 11 18:31:15 2017 +0000
Commit:     Alexey Shvetsov <alexxy <AT> gentoo <DOT> org>
CommitDate: Mon Dec 11 18:35:39 2017 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=596207ca

sys-cluster/lustre: Version bump

Package-Manager: Portage-2.3.17, Repoman-2.3.6

 .../{lustre-9999.ebuild => lustre-2.10.1.ebuild}   | 36 ++++++++++++----------
 sys-cluster/lustre/lustre-9999.ebuild              | 14 +++++----
 2 files changed, 28 insertions(+), 22 deletions(-)

diff --git a/sys-cluster/lustre/lustre-9999.ebuild b/sys-cluster/lustre/lustre-2.10.1.ebuild
similarity index 79%
copy from sys-cluster/lustre/lustre-9999.ebuild
copy to sys-cluster/lustre/lustre-2.10.1.ebuild
index 3cf01dd73..b2b1d1b35 100644
--- a/sys-cluster/lustre/lustre-9999.ebuild
+++ b/sys-cluster/lustre/lustre-2.10.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -8,22 +8,24 @@ WANT_AUTOMAKE="1.15"
 WANT_LIBTOOL="latest"
 
 if [[ $PV = *9999* ]]; then
+	scm="git-r3"
+	SRC_URI=""
+	EGIT_REPO_URI="git://git.whamcloud.com/fs/lustre-release.git"
 	KEYWORDS=""
 	EGIT_BRANCH="master"
 else
+	scm=""
+	SRC_URI="https://dev.gentoo.org/~alexxy/distfiles/${P}.tar.gz"
 	KEYWORDS="~amd64"
-	EGIT_COMMIT="${PV}"
 fi
 
 SUPPORTED_KV_MAJOR=4
-SUPPORTED_KV_MINOR=1
+SUPPORTED_KV_MINOR=9
 
-inherit git-r3 autotools linux-info linux-mod toolchain-funcs udev flag-o-matic
+inherit ${scm} autotools linux-info linux-mod toolchain-funcs udev flag-o-matic
 
 DESCRIPTION="Lustre is a parallel distributed file system"
 HOMEPAGE="http://wiki.whamcloud.com/"
-SRC_URI=""
-EGIT_REPO_URI="git://git.whamcloud.com/fs/lustre-release.git"
 
 LICENSE="GPL-2"
 SLOT="0"
@@ -69,17 +71,19 @@ src_prepare() {
 		epatch ${PATCHES[@]}
 	fi
 	eapply_user
+	if [[ ${PV} == "9999" ]]; then
 	# replace upstream autogen.sh by our src_prepare()
-	local DIRS="libcfs lnet lustre snmp"
-	local ACLOCAL_FLAGS
-	for dir in $DIRS ; do
-		ACLOCAL_FLAGS="$ACLOCAL_FLAGS -I $dir/autoconf"
-	done
-	_elibtoolize -q
-	eaclocal -I config $ACLOCAL_FLAGS
-	eautoheader
-	eautomake
-	eautoconf
+		local DIRS="libcfs lnet lustre snmp"
+		local ACLOCAL_FLAGS
+		for dir in $DIRS ; do
+			ACLOCAL_FLAGS="$ACLOCAL_FLAGS -I $dir/autoconf"
+		done
+		_elibtoolize -q
+		eaclocal -I config $ACLOCAL_FLAGS
+		eautoheader
+		eautomake
+		eautoconf
+	fi
 }
 
 src_configure() {

diff --git a/sys-cluster/lustre/lustre-9999.ebuild b/sys-cluster/lustre/lustre-9999.ebuild
index 3cf01dd73..1f17955bb 100644
--- a/sys-cluster/lustre/lustre-9999.ebuild
+++ b/sys-cluster/lustre/lustre-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -8,22 +8,24 @@ WANT_AUTOMAKE="1.15"
 WANT_LIBTOOL="latest"
 
 if [[ $PV = *9999* ]]; then
+	scm="git-r3"
+	SRC_URI=""
+	EGIT_REPO_URI="git://git.whamcloud.com/fs/lustre-release.git"
 	KEYWORDS=""
 	EGIT_BRANCH="master"
 else
+	scm=""
+	SRC_URI="https://dev.gentoo.org/~alexxy/distfiles/${P}.tar.gz"
 	KEYWORDS="~amd64"
-	EGIT_COMMIT="${PV}"
 fi
 
 SUPPORTED_KV_MAJOR=4
-SUPPORTED_KV_MINOR=1
+SUPPORTED_KV_MINOR=9
 
-inherit git-r3 autotools linux-info linux-mod toolchain-funcs udev flag-o-matic
+inherit ${scm} autotools linux-info linux-mod toolchain-funcs udev flag-o-matic
 
 DESCRIPTION="Lustre is a parallel distributed file system"
 HOMEPAGE="http://wiki.whamcloud.com/"
-SRC_URI=""
-EGIT_REPO_URI="git://git.whamcloud.com/fs/lustre-release.git"
 
 LICENSE="GPL-2"
 SLOT="0"


             reply	other threads:[~2017-12-11 18:36 UTC|newest]

Thread overview: 37+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-12-11 18:36 Alexey Shvetsov [this message]
  -- strict thread matches above, loose matches on Subject: below --
2016-06-29 11:40 [gentoo-commits] proj/sci:master commit in: sys-cluster/lustre/ Alexey Shvetsov
2016-06-13 18:43 Alexey Shvetsov
2016-06-13 11:25 Alexey Shvetsov
2016-06-12 20:09 Alexey Shvetsov
2016-06-12 19:56 Alexey Shvetsov
2016-06-12 19:21 Alexey Shvetsov
2015-02-18 16:41 Justin Lecher
2014-02-12  6:41 Alexey Shvetsov
2014-01-06 18:33 Justin Lecher
2013-12-19 12:59 Alexey Shvetsov
2013-06-13  7:05 Justin Lecher
2013-05-07 14:59 Alexey Shvetsov
2013-04-22 10:13 Alexey Shvetsov
2013-04-22  9:30 Alexey Shvetsov
2013-04-22  1:40 Christoph Junghans
2013-04-22  1:40 Christoph Junghans
2013-04-17 13:33 Alexey Shvetsov
2013-04-16 11:34 Alexey Shvetsov
2013-04-16 11:31 Alexey Shvetsov
2013-04-16 11:30 Alexey Shvetsov
2013-03-31 14:36 Alexey Shvetsov
2013-03-31 11:24 Alexey Shvetsov
2013-03-31 11:18 Alexey Shvetsov
2013-03-19 19:12 Alexey Shvetsov
2013-03-19 19:08 Alexey Shvetsov
2013-03-18 21:48 Alexey Shvetsov
2013-03-18 21:22 Alexey Shvetsov
2013-03-16 17:34 Alexey Shvetsov
2013-03-15 15:50 Alexey Shvetsov
2013-03-15 15:49 Alexey Shvetsov
2013-03-14 14:16 Alexey Shvetsov
2013-03-07  6:39 Alexey Shvetsov
2013-03-06 13:20 Alexey Shvetsov
2012-12-22 16:45 Alexey Shvetsov
2012-12-22 16:34 Alexey Shvetsov
2012-09-20 19:21 Alexey Shvetsov

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=1513017339.596207ca6a24358be8bba0121b7b4c35239aa860.alexxy@gentoo \
    --to=alexxy@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