public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] proj/kde:master commit in: net-misc/modemmanager/
@ 2011-06-19 19:54 Alexey Shvetsov
  0 siblings, 0 replies; 3+ messages in thread
From: Alexey Shvetsov @ 2011-06-19 19:54 UTC (permalink / raw
  To: gentoo-commits

commit:     a417e236b1cc68995a4a1a1070dfe54996925921
Author:     Alexey Shvetsov <alexxy <AT> gentoo <DOT> org>
AuthorDate: Sun Jun 19 19:52:51 2011 +0000
Commit:     Alexey Shvetsov <alexxy <AT> gentoo <DOT> org>
CommitDate: Sun Jun 19 19:52:51 2011 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/kde.git;a=commit;h=a417e236

[net-misc/modemmanager] Add snapshot

(Portage version: 2.2.0_alpha41/git/Linux x86_64, signed Manifest commit with key F82F92E6)

---
 ...ger-9999.ebuild => modemmanager-0.4.997.ebuild} |   17 ++++++++++++-----
 net-misc/modemmanager/modemmanager-9999.ebuild     |   17 ++++++++++++-----
 2 files changed, 24 insertions(+), 10 deletions(-)

diff --git a/net-misc/modemmanager/modemmanager-9999.ebuild b/net-misc/modemmanager/modemmanager-0.4.997.ebuild
similarity index 85%
copy from net-misc/modemmanager/modemmanager-9999.ebuild
copy to net-misc/modemmanager/modemmanager-0.4.997.ebuild
index 12611b0..0531696 100644
--- a/net-misc/modemmanager/modemmanager-9999.ebuild
+++ b/net-misc/modemmanager/modemmanager-0.4.997.ebuild
@@ -4,19 +4,26 @@
 
 EAPI="4"
 
-inherit eutils git-2 autotools
-
 # ModemManager likes itself with capital letters
 MY_PN="${PN/modemmanager/ModemManager}"
+MY_P=${MY_PN}-${PV}
+
+if [[ ${PV} == *9999 ]]; then
+	git_eclass="git-2"
+	EGIT_REPO_URI="git://anongit.freedesktop.org/${MY_PN}/${MY_PN}"
+	KEYWORDS=""
+else
+	SRC_URI="http://cgit.freedesktop.org/${MY_PN}/${MY_PN}/snapshot/${MY_P}.tar.bz2"
+	KEYWORDS="~amd64 ~arm ~x86"
+fi
+
+inherit eutils autotools ${git_eclass}
 
-SRC_URI=""
 DESCRIPTION="Modem and mobile broadband management libraries"
 HOMEPAGE="http://mail.gnome.org/archives/networkmanager-list/2008-July/msg00274.html"
-EGIT_REPO_URI="git://anongit.freedesktop.org/${MY_PN}/${MY_PN}"
 
 LICENSE="LGPL-2.1"
 SLOT="0"
-KEYWORDS=""
 IUSE="doc policykit test"
 
 RDEPEND=">=dev-libs/glib-2.18

diff --git a/net-misc/modemmanager/modemmanager-9999.ebuild b/net-misc/modemmanager/modemmanager-9999.ebuild
index 12611b0..0531696 100644
--- a/net-misc/modemmanager/modemmanager-9999.ebuild
+++ b/net-misc/modemmanager/modemmanager-9999.ebuild
@@ -4,19 +4,26 @@
 
 EAPI="4"
 
-inherit eutils git-2 autotools
-
 # ModemManager likes itself with capital letters
 MY_PN="${PN/modemmanager/ModemManager}"
+MY_P=${MY_PN}-${PV}
+
+if [[ ${PV} == *9999 ]]; then
+	git_eclass="git-2"
+	EGIT_REPO_URI="git://anongit.freedesktop.org/${MY_PN}/${MY_PN}"
+	KEYWORDS=""
+else
+	SRC_URI="http://cgit.freedesktop.org/${MY_PN}/${MY_PN}/snapshot/${MY_P}.tar.bz2"
+	KEYWORDS="~amd64 ~arm ~x86"
+fi
+
+inherit eutils autotools ${git_eclass}
 
-SRC_URI=""
 DESCRIPTION="Modem and mobile broadband management libraries"
 HOMEPAGE="http://mail.gnome.org/archives/networkmanager-list/2008-July/msg00274.html"
-EGIT_REPO_URI="git://anongit.freedesktop.org/${MY_PN}/${MY_PN}"
 
 LICENSE="LGPL-2.1"
 SLOT="0"
-KEYWORDS=""
 IUSE="doc policykit test"
 
 RDEPEND=">=dev-libs/glib-2.18



^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [gentoo-commits] proj/kde:master commit in: net-misc/modemmanager/
@ 2011-06-19 20:05 Alexey Shvetsov
  0 siblings, 0 replies; 3+ messages in thread
From: Alexey Shvetsov @ 2011-06-19 20:05 UTC (permalink / raw
  To: gentoo-commits

commit:     04f6577478b2e1e4b99884e508cafd82a80087ba
Author:     Alexey Shvetsov <alexxy <AT> gentoo <DOT> org>
AuthorDate: Sun Jun 19 20:04:43 2011 +0000
Commit:     Alexey Shvetsov <alexxy <AT> gentoo <DOT> org>
CommitDate: Sun Jun 19 20:04:43 2011 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/kde.git;a=commit;h=04f65774

[net-misc/modemmanager] dont need src_prepare on snapshots

(Portage version: 2.2.0_alpha41/git/Linux x86_64, signed Manifest commit with key F82F92E6)

---
 net-misc/modemmanager/modemmanager-0.4.997.ebuild |   10 ++++++----
 net-misc/modemmanager/modemmanager-9999.ebuild    |   10 ++++++----
 2 files changed, 12 insertions(+), 8 deletions(-)

diff --git a/net-misc/modemmanager/modemmanager-0.4.997.ebuild b/net-misc/modemmanager/modemmanager-0.4.997.ebuild
index 0531696..d879520 100644
--- a/net-misc/modemmanager/modemmanager-0.4.997.ebuild
+++ b/net-misc/modemmanager/modemmanager-0.4.997.ebuild
@@ -38,10 +38,12 @@ DEPEND="${RDEPEND}
 
 S="${WORKDIR}/${MY_PN}-${PV}"
 
-src_prepare() {
-	intltoolize --force --copy --automake || die
-	eautoreconf
-}
+if [[ ${PV} == *9999* ]]; then
+	src_prepare() {
+		intltoolize --force --copy --automake || die
+		eautoreconf
+	}
+fi
 
 src_configure() {
 	# ppp-2.4.5 will change the plugin directory (not added to portage yet)

diff --git a/net-misc/modemmanager/modemmanager-9999.ebuild b/net-misc/modemmanager/modemmanager-9999.ebuild
index 0531696..d879520 100644
--- a/net-misc/modemmanager/modemmanager-9999.ebuild
+++ b/net-misc/modemmanager/modemmanager-9999.ebuild
@@ -38,10 +38,12 @@ DEPEND="${RDEPEND}
 
 S="${WORKDIR}/${MY_PN}-${PV}"
 
-src_prepare() {
-	intltoolize --force --copy --automake || die
-	eautoreconf
-}
+if [[ ${PV} == *9999* ]]; then
+	src_prepare() {
+		intltoolize --force --copy --automake || die
+		eautoreconf
+	}
+fi
 
 src_configure() {
 	# ppp-2.4.5 will change the plugin directory (not added to portage yet)



^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [gentoo-commits] proj/kde:master commit in: net-misc/modemmanager/
@ 2011-06-19 20:06 Alexey Shvetsov
  0 siblings, 0 replies; 3+ messages in thread
From: Alexey Shvetsov @ 2011-06-19 20:06 UTC (permalink / raw
  To: gentoo-commits

commit:     29a67efc54f40d9c141222ab413ec6119f5c43d2
Author:     Alexey Shvetsov <alexxy <AT> gentoo <DOT> org>
AuthorDate: Sun Jun 19 20:05:58 2011 +0000
Commit:     Alexey Shvetsov <alexxy <AT> gentoo <DOT> org>
CommitDate: Sun Jun 19 20:05:58 2011 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/kde.git;a=commit;h=29a67efc

Revert "[net-misc/modemmanager] dont need src_prepare on snapshots"

This reverts commit 04f6577478b2e1e4b99884e508cafd82a80087ba.

---
 net-misc/modemmanager/modemmanager-0.4.997.ebuild |   10 ++++------
 net-misc/modemmanager/modemmanager-9999.ebuild    |   10 ++++------
 2 files changed, 8 insertions(+), 12 deletions(-)

diff --git a/net-misc/modemmanager/modemmanager-0.4.997.ebuild b/net-misc/modemmanager/modemmanager-0.4.997.ebuild
index d879520..0531696 100644
--- a/net-misc/modemmanager/modemmanager-0.4.997.ebuild
+++ b/net-misc/modemmanager/modemmanager-0.4.997.ebuild
@@ -38,12 +38,10 @@ DEPEND="${RDEPEND}
 
 S="${WORKDIR}/${MY_PN}-${PV}"
 
-if [[ ${PV} == *9999* ]]; then
-	src_prepare() {
-		intltoolize --force --copy --automake || die
-		eautoreconf
-	}
-fi
+src_prepare() {
+	intltoolize --force --copy --automake || die
+	eautoreconf
+}
 
 src_configure() {
 	# ppp-2.4.5 will change the plugin directory (not added to portage yet)

diff --git a/net-misc/modemmanager/modemmanager-9999.ebuild b/net-misc/modemmanager/modemmanager-9999.ebuild
index d879520..0531696 100644
--- a/net-misc/modemmanager/modemmanager-9999.ebuild
+++ b/net-misc/modemmanager/modemmanager-9999.ebuild
@@ -38,12 +38,10 @@ DEPEND="${RDEPEND}
 
 S="${WORKDIR}/${MY_PN}-${PV}"
 
-if [[ ${PV} == *9999* ]]; then
-	src_prepare() {
-		intltoolize --force --copy --automake || die
-		eautoreconf
-	}
-fi
+src_prepare() {
+	intltoolize --force --copy --automake || die
+	eautoreconf
+}
 
 src_configure() {
 	# ppp-2.4.5 will change the plugin directory (not added to portage yet)



^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-06-19 20:06 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-19 20:05 [gentoo-commits] proj/kde:master commit in: net-misc/modemmanager/ Alexey Shvetsov
  -- strict thread matches above, loose matches on Subject: below --
2011-06-19 20:06 Alexey Shvetsov
2011-06-19 19:54 Alexey Shvetsov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox