aboutsummaryrefslogtreecommitdiffstats
path: root/main/py-funcsigs/APKBUILD
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2016-05-27 06:20:55 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2016-05-27 06:20:55 +0000
commit04d36a31aa655ad3c2c79e41c64f3e457bd16664 (patch)
treed9c136704b24e6d3b3b5881961a408c6548e4734 /main/py-funcsigs/APKBUILD
parent7bae8498bdb0b7de1fd57b2313c8d502085154b5 (diff)
downloadaports-04d36a31aa655ad3c2c79e41c64f3e457bd16664.tar.bz2
aports-04d36a31aa655ad3c2c79e41c64f3e457bd16664.tar.xz
main/py-funcsigs: moved from community. New runtime dependency needed by py-mock
Diffstat (limited to 'main/py-funcsigs/APKBUILD')
-rw-r--r--main/py-funcsigs/APKBUILD29
1 files changed, 29 insertions, 0 deletions
diff --git a/main/py-funcsigs/APKBUILD b/main/py-funcsigs/APKBUILD
new file mode 100644
index 0000000000..feabbb4413
--- /dev/null
+++ b/main/py-funcsigs/APKBUILD
@@ -0,0 +1,29 @@
+# Contributor: Francesco Colista <fcolista@alpinelinux.org>
+# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
+pkgname=py-funcsigs
+pkgver=1.0.2
+pkgrel=0
+pkgdesc="Python function signatures from PEP362 for Python 2.6, 2.7 and 3.2+"
+url="http://funcsigs.readthedocs.org"
+arch="noarch"
+license="ASL"
+depends="python"
+depends_dev=""
+makedepends="$depends_dev python-dev py-setuptools"
+install=""
+subpackages=""
+source="https://pypi.python.org/packages/94/4a/db842e7a0545de1cdb0439bb80e6e42dfe82aaeaadd4072f2263a4fbed23/${pkgname/py-/}-$pkgver.tar.gz"
+builddir="$srcdir"/${pkgname/py-/}-$pkgver
+build () {
+ cd "$builddir"
+ python setup.py build || return 1
+}
+
+package() {
+ cd "$builddir"
+ python setup.py install --root="$pkgdir" || return 1
+}
+
+md5sums="7e583285b1fb8a76305d6d68f4ccc14e funcsigs-1.0.2.tar.gz"
+sha256sums="a7bb0f2cf3a3fd1ab2732cb49eba4252c2af4240442415b4abce3b87022a8f50 funcsigs-1.0.2.tar.gz"
+sha512sums="4e583bb7081bb1d6c0fe5a6935ca03032d562b93ef5c11b51a72ce9e7ac12902451cc2233c7e6f70440629d88d8e6e9625965ee408100b80b0024f3a6204afda funcsigs-1.0.2.tar.gz"