33 lines
1,001 B
Bash
33 lines
1,001 B
Bash
# Maintainer: Cedric Girard <girard.cedric@gmail.com>
|
|
pkgname='python2-flask-restplus'
|
|
pkgver='0.9.2'
|
|
pkgrel='1'
|
|
pkgdesc='custom actions for flask to help manage your application'
|
|
arch=('any')
|
|
url='http://pypi.python.org/pypi/Flask-Restplus/'
|
|
license=('BSD')
|
|
depends=('python2-flask>=0.8' 'python2-six>=1.3.0' 'python2-jsonschema' 'python2-pytz' 'python2-aniso8601>=0.82')
|
|
checkdepends=('python2-blinker' 'python2-rednose' 'python2-nose' 'python2-mock' 'python2-tzlocal')
|
|
makedepends=('python2-setuptools')
|
|
|
|
source=("https://pypi.io/packages/source/f/flask-restplus/flask-restplus-${pkgver}.tar.gz")
|
|
sha1sums=('0b386cfffe8fbf07092bd0b02e887cae4a1c7360')
|
|
|
|
build() {
|
|
cd "flask-restplus-${pkgver}"
|
|
python2 ./setup.py build
|
|
}
|
|
|
|
check() {
|
|
cd "flask-restplus-${pkgver}"
|
|
python2 ./setup.py test
|
|
}
|
|
|
|
package() {
|
|
cd "flask-restplus-${pkgver}"
|
|
python2 ./setup.py install --root="${pkgdir}" --prefix="/usr"
|
|
|
|
install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}"
|
|
}
|
|
|
|
# vim:set ts=2 sw=2 et:
|