Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=164486cb9a2d8d68e3f0db7fc77837bf6d3c8f55

commit 164486cb9a2d8d68e3f0db7fc77837bf6d3c8f55
Author: James Buren <[email protected]>
Date:   Sun Feb 13 17:46:17 2011 -0600

pypi.sh
* don't override url if already set

diff --git a/source/include/pypi.sh b/source/include/pypi.sh
index 6792475..d428b53 100644
--- a/source/include/pypi.sh
+++ b/source/include/pypi.sh
@@ -33,10 +33,10 @@

###
# == OVERWRITTEN VARIABLES
-# * url
+# * url (if not set)
# * up2date
# * source()
###
-url="http://pypi.python.org/pypi/$_F_pypi_name";
+[ -z "$url" ] && url="http://pypi.python.org/pypi/$_F_pypi_name";
up2date="Flastarchive 
http://pypi.python.org/packages/source/${_F_pypi_name:0:1}/$_F_pypi_name 
$_F_pypi_ext"
source=(http://pypi.python.org/packages/source/${_F_pypi_name:0:1}/$_F_pypi_name/$_F_pypi_name-$pkgver$_F_pypi_ext)
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to