diff options
author | Leo <thinkabit.ukim@gmail.com> | 2019-05-26 00:14:15 -0300 |
---|---|---|
committer | Francesco Colista <fcolista@alpinelinux.org> | 2019-05-28 08:28:26 +0000 |
commit | 0168ca51401fc805859eb996880edff4bbf7ae85 (patch) | |
tree | 6ff0716d2d40b73610a706bfd687466ba9171ea0 | |
parent | a5de686d0f716a1bd7c57366933f52cba7644fd1 (diff) | |
download | aports-0168ca51401fc805859eb996880edff4bbf7ae85.tar.bz2 aports-0168ca51401fc805859eb996880edff4bbf7ae85.tar.xz |
testing/fabric: modernize, fix license, enable tests.
-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" |