diff options
author | William Pitcock <nenolod@dereferenced.org> | 2013-08-31 20:56:41 +0000 |
---|---|---|
committer | William Pitcock <nenolod@dereferenced.org> | 2013-08-31 20:56:41 +0000 |
commit | 05da4f158d13ba31478a6023dfe36baecfbe8e98 (patch) | |
tree | 8b73d341d69df44c5c8b5cad64547da08bc1c63c /testing | |
parent | e3b7bf906c3a50087f4e3922f0e9f499c9097e22 (diff) | |
download | aports-05da4f158d13ba31478a6023dfe36baecfbe8e98.tar.bz2 aports-05da4f158d13ba31478a6023dfe36baecfbe8e98.tar.xz |
testing/py-cssselect: fix package APKBUILD to actually work
Diffstat (limited to 'testing')
-rw-r--r-- | testing/py-cssselect/APKBUILD | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/testing/py-cssselect/APKBUILD b/testing/py-cssselect/APKBUILD index 889c4af9e..92447c50a 100644 --- a/testing/py-cssselect/APKBUILD +++ b/testing/py-cssselect/APKBUILD @@ -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 } |