2015-10-09 15:18:26 +02:00
|
|
|
# Maintainer: Cedric Girard <girard.cedric@gmail.com>
|
|
|
|
pkgname='python2-flask-restplus'
|
2017-03-06 23:43:47 +01:00
|
|
|
pkgver='0.10.1'
|
2015-10-09 15:18:26 +02:00
|
|
|
pkgrel='1'
|
|
|
|
pkgdesc='custom actions for flask to help manage your application'
|
|
|
|
arch=('any')
|
|
|
|
url='http://pypi.python.org/pypi/Flask-Restplus/'
|
|
|
|
license=('BSD')
|
2016-02-29 15:31:06 +01:00
|
|
|
depends=('python2-flask>=0.8' 'python2-six>=1.3.0' 'python2-jsonschema' 'python2-pytz' 'python2-aniso8601>=0.82')
|
2016-01-05 11:45:30 +01:00
|
|
|
checkdepends=('python2-blinker' 'python2-rednose' 'python2-nose' 'python2-mock' 'python2-tzlocal')
|
2016-09-01 12:35:52 +02:00
|
|
|
makedepends=('python2-setuptools')
|
2015-10-09 15:18:26 +02:00
|
|
|
|
2016-04-28 17:42:47 +02:00
|
|
|
source=("https://pypi.io/packages/source/f/flask-restplus/flask-restplus-${pkgver}.tar.gz")
|
2017-03-06 23:43:47 +01:00
|
|
|
sha1sums=('d6162efccd7e7c794f435252adcf78a262cfa969')
|
2015-10-09 15:18:26 +02:00
|
|
|
|
|
|
|
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:
|