Commit 2c026d72 authored by Jakub Jirutka's avatar Jakub Jirutka
Browse files

community/py*: change source URLs pypi.python.org to files.pythonhosted.org

parent 987e45fd
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=py-pathtools
_pkgname=pathtools
pkgver=0.1.2
pkgrel=0
pkgdesc="Path utilities for Python"
......@@ -12,9 +13,9 @@ depends_dev=""
makedepends="$depends_dev py-setuptools python-dev"
install=""
subpackages=""
source="https://pypi.python.org/packages/e7/7f/470d6fcdf23f9f3518f6b0b76be9df16dcc8630ad409947f8be2eb0ed13a/pathtools-$pkgver.tar.gz"
source="https://files.pythonhosted.org/packages/source/p/$_pkgname/$_pkgname-$pkgver.tar.gz"
_builddir="$srcdir"/pathtools-$pkgver
_builddir="$srcdir"/$_pkgname-$pkgver
prepare() {
local i
cd "$_builddir"
......
......@@ -13,7 +13,7 @@ depends_dev=""
makedepends="python-dev py-setuptools"
install=""
subpackages=""
source="$_pkgname-$pkgver.tar.gz::https://pypi.python.org/packages/source/R/${_pkgname}/${_pkgname}-${pkgver}.tar.gz"
source="$_pkgname-$pkgver.tar.gz::https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
_builddir=${srcdir}/${_pkgname}-${pkgver}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment