desktop/python2-funcsigs/PKGBUILD

29 lines
773 B
Bash

# Maintainer: Ram-Z <ram-z[at]chakraos[dot]org>
# Contributor: Andrzej Giniewicz <gginiu@gmail.com>
# Contributor: Jelle van der Waa <jelle@archlinux.org>
pkgname=python2-funcsigs
pkgver=0.4
pkgrel=1
pkgdesc="Python function signatures from PEP362"
arch=('any')
url="https://pypi.python.org/pypi/funcsigs/"
license=('Apache')
depends=('python2')
makedepends=('python2-setuptools')
checkdepends=('python2-nose')
source=(https://pypi.python.org/packages/source/f/funcsigs/funcsigs-${pkgver}.tar.gz)
sha256sums=('d83ce6df0b0ea6618700fe1db353526391a8a3ada1b7aba52fed7a61da772033')
package() {
cd "$srcdir/funcsigs-$pkgver"
python2 setup.py install --root="${pkgdir}" --optimize=1
}
check() {
cd "$srcdir/funcsigs-$pkgver/tests"
nosetests2 .
}
# vim:ts=2:sw=2:et: