Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=3ebca2ef89d19798b6e16de6ac60e2b93a567dbb
commit 3ebca2ef89d19798b6e16de6ac60e2b93a567dbb Author: crazy <[email protected]> Date: Tue May 31 19:45:12 2016 +0200 pypi.sh * disabled auto-source since on pypi they changed the location * with some random hashes.. * also exit when Finclude pypi but source is not set diff --git a/source/include/pypi.sh b/source/include/pypi.sh index f2848a1..de11e88 100644 --- a/source/include/pypi.sh +++ b/source/include/pypi.sh @@ -39,4 +39,11 @@ ### [ -z "$url" ] && url="http://pypi.python.org/pypi/$_F_pypi_name" up2date="Flastarchive https://pypi.python.org/pypi/${_F_pypi_name}/json $_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) +#source=(http://pypi.python.org/packages/source/${_F_pypi_name:0:1}/$_F_pypi_name/$_F_pypi_name-$pkgver$_F_pypi_ext) +#source="$(lynx -dump https://pypi.python.org/pypi/${_F_pypi_name}#downloads | grep -m1 'gz#md5' | sed 's/#.*//g' | sed 's/ [0-9].*. //g')" + +if [ -z "$source" ]; then + Fmessage "Source schemas changed on pypi, please update the source=() manually" + Fmessage "Bailing out.." + Fdie +fi _______________________________________________ Frugalware-git mailing list [email protected] http://frugalware.org/mailman/listinfo/frugalware-git
