mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-05 20:36:40 +02:00
testing/fabric: modernize, fix license, enable tests.
This commit is contained in:
parent
a5de686d0f
commit
0168ca5140
@ -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"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user