diff options
-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 889c4af9eb..92447c50a5 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 } |