aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py-sphinxcontrib-ansi
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2016-08-28 01:15:17 +0000
committerCarlo Landmeter <clandmeter@gmail.com>2016-08-28 01:15:17 +0000
commitb61be416174a86e682b2fa451cf4805b534f9f47 (patch)
tree02f3729095b860cd4276b2a011a05226cffa1aa3 /testing/py-sphinxcontrib-ansi
parent7b1fef380130d2d46c9fc801865e829c2dd389a0 (diff)
downloadaports-b61be416174a86e682b2fa451cf4805b534f9f47.tar.bz2
aports-b61be416174a86e682b2fa451cf4805b534f9f47.tar.xz
testing/py-sphinxcontrib-ansi: upgrade source
Diffstat (limited to 'testing/py-sphinxcontrib-ansi')
-rw-r--r--testing/py-sphinxcontrib-ansi/APKBUILD17
1 files changed, 4 insertions, 13 deletions
diff --git a/testing/py-sphinxcontrib-ansi/APKBUILD b/testing/py-sphinxcontrib-ansi/APKBUILD
index 4fee74a94f..bb7fef4204 100644
--- a/testing/py-sphinxcontrib-ansi/APKBUILD
+++ b/testing/py-sphinxcontrib-ansi/APKBUILD
@@ -13,26 +13,17 @@ depends_dev=""
makedepends="python-dev py-setuptools"
install=""
subpackages=""
-source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
+source="http://pypi.python.org/packages/source/s/sphinxcontrib-ansi/sphinxcontrib-ansi-$pkgver.tar.gz"
-_builddir="$srcdir"/$_pkgname-$pkgver
-prepare() {
- local i
- cd "$_builddir"
- for i in $source; do
- case $i in
- *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
- esac
- done
-}
+builddir="$srcdir"/sphinxcontrib-ansi-$pkgver
build() {
- cd "$_builddir"
+ cd "$builddir"
python setup.py build || return 1
}
package() {
- cd "$_builddir"
+ cd "$builddir"
python setup.py install --prefix=/usr --root="$pkgdir" || return 1
}