mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 21:37:15 +02:00
testing/py-cssselect: added install_if to pull the right python version
This commit is contained in:
parent
d1dba03150
commit
a6a1fd9a75
@ -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"
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user