summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2013-09-25 10:49:11 +0000
committerMichał Górny <mgorny@gentoo.org>2013-09-25 10:49:11 +0000
commit6a2b9bbba88040678a64319cb1f79a1f645718f2 (patch)
treec1888bf4f0b20d40fc0bb49954794a6057023d6a /eclass
parentmail-mta/nullmailer: Fix incompatibilities with some automake versions, #478312 (diff)
downloadgentoo-2-6a2b9bbba88040678a64319cb1f79a1f645718f2.tar.gz
gentoo-2-6a2b9bbba88040678a64319cb1f79a1f645718f2.tar.bz2
gentoo-2-6a2b9bbba88040678a64319cb1f79a1f645718f2.zip
Update git URI stripping for gnome.org.
Diffstat (limited to 'eclass')
-rw-r--r--eclass/ChangeLog5
-rw-r--r--eclass/git-r3.eclass4
2 files changed, 7 insertions, 2 deletions
diff --git a/eclass/ChangeLog b/eclass/ChangeLog
index 072fc5cd5eee..b17044635159 100644
--- a/eclass/ChangeLog
+++ b/eclass/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for eclass directory
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.984 2013/09/24 19:53:06 mgorny Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.985 2013/09/25 10:49:11 mgorny Exp $
+
+ 25 Sep 2013; Michał Górny <mgorny@gentoo.org> git-r3.eclass:
+ Update git URI stripping for gnome.org.
24 Sep 2013; Michał Górny <mgorny@gentoo.org> python-any-r1.eclass:
Introduce python_gen_any_dep to generate any-of dependencies matching
diff --git a/eclass/git-r3.eclass b/eclass/git-r3.eclass
index dd8cccb8535a..23f8bee1dc1f 100644
--- a/eclass/git-r3.eclass
+++ b/eclass/git-r3.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/git-r3.eclass,v 1.7 2013/09/19 09:42:32 mgorny Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/git-r3.eclass,v 1.8 2013/09/25 10:49:11 mgorny Exp $
# @ECLASS: git-r3.eclass
# @MAINTAINER:
@@ -178,6 +178,8 @@ _git-r3_set_gitdir() {
# e.g. git://X/Y.git vs https://X/git/Y.git
# (but just one of the prefixes)
case "${repo_name}" in
+ # gnome.org... who else?
+ browse/*) repo_name=${repo_name#browse/};;
# cgit can proxy requests to git
cgit/*) repo_name=${repo_name#cgit/};;
# pretty common