xbps-src: PYPI_SITE: use files.pythonhosted.org for less redirections
This commit is contained in:
parent
2e288b4b8d
commit
da4d9b7f23
|
@ -396,7 +396,7 @@ Example:
|
||||||
| KERNEL_SITE | http://www.kernel.org/pub/linux |
|
| KERNEL_SITE | http://www.kernel.org/pub/linux |
|
||||||
| MOZILLA_SITE | http://ftp.mozilla.org/pub |
|
| MOZILLA_SITE | http://ftp.mozilla.org/pub |
|
||||||
| NONGNU_SITE | http://download.savannah.nongnu.org/releases |
|
| NONGNU_SITE | http://download.savannah.nongnu.org/releases |
|
||||||
| PYPI_SITE | https://pypi.io/packages/source |
|
| PYPI_SITE | https://files.pythonhosted.org/packages/source |
|
||||||
| SOURCEFORGE_SITE | http://downloads.sourceforge.net/sourceforge |
|
| SOURCEFORGE_SITE | http://downloads.sourceforge.net/sourceforge |
|
||||||
| UBUNTU_SITE | http://archive.ubuntu.com/ubuntu/pool |
|
| UBUNTU_SITE | http://archive.ubuntu.com/ubuntu/pool |
|
||||||
| XORG_HOME | http://xorg.freedesktop.org/wiki/ |
|
| XORG_HOME | http://xorg.freedesktop.org/wiki/ |
|
||||||
|
|
|
@ -13,7 +13,7 @@ GNOME_SITE="http://ftp.gnome.org/pub/GNOME/sources"
|
||||||
KERNEL_SITE="http://www.kernel.org/pub/linux"
|
KERNEL_SITE="http://www.kernel.org/pub/linux"
|
||||||
#KERNEL_SITE="http://mirror.be.gbxs.net/pub/linux"
|
#KERNEL_SITE="http://mirror.be.gbxs.net/pub/linux"
|
||||||
CPAN_SITE="http://cpan.perl.org/modules/by-module"
|
CPAN_SITE="http://cpan.perl.org/modules/by-module"
|
||||||
PYPI_SITE="https://pypi.io/packages/source"
|
PYPI_SITE="https://files.pythonhosted.org/packages/source"
|
||||||
MOZILLA_SITE="http://ftp.mozilla.org/pub"
|
MOZILLA_SITE="http://ftp.mozilla.org/pub"
|
||||||
GNU_SITE="http://ftp.gnu.org/gnu"
|
GNU_SITE="http://ftp.gnu.org/gnu"
|
||||||
FREEDESKTOP_SITE="http://freedesktop.org/software"
|
FREEDESKTOP_SITE="http://freedesktop.org/software"
|
||||||
|
|
|
@ -41,7 +41,7 @@ update_check() {
|
||||||
url="https://launchpad.net/$lpname/+download";;
|
url="https://launchpad.net/$lpname/+download";;
|
||||||
*cpan.*)
|
*cpan.*)
|
||||||
pkgname=${pkgname#perl-};;
|
pkgname=${pkgname#perl-};;
|
||||||
*pypi.io*)
|
*pythonhosted.org*)
|
||||||
pkgname=${pkgname#python-}
|
pkgname=${pkgname#python-}
|
||||||
url="https://pypi.io/simple/$pkgname";;
|
url="https://pypi.io/simple/$pkgname";;
|
||||||
*github.com*)
|
*github.com*)
|
||||||
|
|
Loading…
Reference in New Issue