aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2016-07-27 14:47:20 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2016-07-27 14:47:20 +0000
commita6a1fd9a7521771edf81691e8b8f7891e7271b23 (patch)
treeb01c5d8645bc29fde2f6fe919e76ec5400a1823b
parentd1dba031508040fa5fab5bc116d74b54f3ca3ca5 (diff)
downloadaports-a6a1fd9a7521771edf81691e8b8f7891e7271b23.tar.bz2
aports-a6a1fd9a7521771edf81691e8b8f7891e7271b23.tar.xz
testing/py-cssselect: added install_if to pull the right python version
-rw-r--r--testing/py-cssselect/APKBUILD4
1 files changed, 2 insertions, 2 deletions
diff --git a/testing/py-cssselect/APKBUILD b/testing/py-cssselect/APKBUILD
index fd49136e5b..eb43a7510e 100644
--- a/testing/py-cssselect/APKBUILD
+++ b/testing/py-cssselect/APKBUILD
@@ -3,7 +3,7 @@
pkgname=py-cssselect
_pkgname=cssselect
pkgver=0.9.2
-pkgrel=0
+pkgrel=1
pkgdesc="A Python library that parses CSS3 Selectors and translates them to XPath 1.0"
url="http://pypi.python.org/pypi/cssselect"
arch="noarch"
@@ -29,7 +29,7 @@ package() {
_py() {
local python=$1
pkgdesc="$pkgdesc - $python"
-
+ install_if="$pkgname=$pkgver-r$pkgrel $python"
cd "$builddir"
$python setup.py install --prefix=/usr --root="$subpkgdir"
}