mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-05 04:16:46 +02:00
testing/py-cssselect: fix package APKBUILD to actually work
This commit is contained in:
parent
e3b7bf906c
commit
05da4f158d
@ -12,7 +12,7 @@ depends=""
|
||||
depends_dev="python-dev"
|
||||
makedepends="$depends_dev"
|
||||
install=""
|
||||
subpackages="$pkgname-doc"
|
||||
subpackages=""
|
||||
source="http://pypi.python.org/packages/source/c/$_pkgname/$_pkgname-$pkgver.tar.gz"
|
||||
_builddir="$srcdir"/$_pkgname-$pkgver
|
||||
prepare() {
|
||||
@ -27,11 +27,12 @@ prepare() {
|
||||
|
||||
build() {
|
||||
cd "$_builddir"
|
||||
python setup.py install --root="${pkgdir}/" --optimize=1
|
||||
python setup.py build || return 1
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$_builddir"
|
||||
python setup.py install --root="${pkgdir}/" --optimize=1
|
||||
install -Dm644 LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user