diff options
-rw-r--r-- | testing/fabric/APKBUILD | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/testing/fabric/APKBUILD b/testing/fabric/APKBUILD index 7b4081f258..37bb3448cc 100644 --- a/testing/fabric/APKBUILD +++ b/testing/fabric/APKBUILD @@ -3,27 +3,27 @@ pkgname=fabric _pkgname=Fabric pkgver=1.14.0 -pkgrel=0 +pkgrel=1 pkgdesc="A simple pythonic remote deployment tool" +options="net" # Needs to fetch the 'fudge' pymodule that is not packaged url="http://www.fabfile.org" arch="noarch" -license="BSD" +license="BSD-2-Clause" depends="py-paramiko py-crypto py-setuptools" -depends_dev="" -makedepends="python2-dev py-setuptools" -install="" -subpackages="" +checkdepends="py-nose py-jinja2" source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz" -_builddir="$srcdir"/$_pkgname-$pkgver +builddir="$srcdir"/$_pkgname-$pkgver build() { - cd "$_builddir" - python2 setup.py build || return 1 + python2 setup.py build +} + +check() { + python2 setup.py test } package() { - cd "$_builddir" - python2 setup.py install --prefix=/usr --root="$pkgdir" || return 1 + python2 setup.py install --prefix=/usr --root="$pkgdir" } sha512sums="3bb90597356ac033e5a9bba668ec8b080ee10cac31f54b1e89b6e2e21550ba5f2341e774ed9ff52c3a4ecbc3bae3206d155c6bfe6678576caca8e439c7810ed9 Fabric-1.14.0.tar.gz" |