Add 'python2-flask-restplus/' from commit '6f283a27d3d7d91c0103a369747121422e977f46'
git-subtree-dir: python2-flask-restplus git-subtree-mainline:b372383064
git-subtree-split:6f283a27d3
This commit is contained in:
commit
9d01761fc1
2 changed files with 68 additions and 0 deletions
24
python2-flask-restplus/.SRCINFO
Normal file
24
python2-flask-restplus/.SRCINFO
Normal file
|
@ -0,0 +1,24 @@
|
||||||
|
pkgbase = python2-flask-restplus
|
||||||
|
pkgdesc = custom actions for flask to help manage your application
|
||||||
|
pkgver = 0.11.0
|
||||||
|
pkgrel = 1
|
||||||
|
url = http://pypi.python.org/pypi/Flask-Restplus/
|
||||||
|
arch = any
|
||||||
|
license = BSD
|
||||||
|
source = https://github.com/noirbizarre/flask-restplus/archive/0.11.0.tar.gz
|
||||||
|
sha1sums = 0851f0516c4208d24fcd98561525a7b6d0054d2d
|
||||||
|
|
||||||
|
pkgname = python2-flask-restplus
|
||||||
|
depends = python2-flask>=0.8
|
||||||
|
depends = python2-six>=1.3.0
|
||||||
|
depends = python2-jsonschema
|
||||||
|
depends = python2-pytz
|
||||||
|
depends = python2-aniso8601>=0.82
|
||||||
|
|
||||||
|
pkgname = python-flask-restplus
|
||||||
|
depends = python-flask>=0.8
|
||||||
|
depends = python-six>=1.3.0
|
||||||
|
depends = python-jsonschema
|
||||||
|
depends = python-pytz
|
||||||
|
depends = python-aniso8601>=0.82
|
||||||
|
|
44
python2-flask-restplus/PKGBUILD
Normal file
44
python2-flask-restplus/PKGBUILD
Normal file
|
@ -0,0 +1,44 @@
|
||||||
|
# Maintainer: Cedric Girard <girard.cedric@gmail.com>
|
||||||
|
_pythonmod=flask-restplus
|
||||||
|
pkgname=('python2-flask-restplus' 'python-flask-restplus')
|
||||||
|
pkgbase='python2-flask-restplus'
|
||||||
|
pkgver=0.11.0
|
||||||
|
pkgrel=1
|
||||||
|
pkgdesc='custom actions for flask to help manage your application'
|
||||||
|
arch=('any')
|
||||||
|
url='http://pypi.python.org/pypi/Flask-Restplus/'
|
||||||
|
license=('BSD')
|
||||||
|
|
||||||
|
#source=("https://pypi.io/packages/source/f/flask-restplus/flask-restplus-${pkgver}.tar.gz")
|
||||||
|
source=("https://github.com/noirbizarre/flask-restplus/archive/${pkgver}.tar.gz")
|
||||||
|
sha1sums=('0851f0516c4208d24fcd98561525a7b6d0054d2d')
|
||||||
|
|
||||||
|
check_python2-flask-restplus() {
|
||||||
|
checkdepends=('python2-blinker' 'python2-rednose' 'python2-nose' 'python2-mock' 'python2-tzlocal')
|
||||||
|
cd ${srcdir}/${_pythonmod}-$pkgver
|
||||||
|
python2 ./setup.py test
|
||||||
|
}
|
||||||
|
|
||||||
|
package_python2-flask-restplus() {
|
||||||
|
depends=('python2-flask>=0.8' 'python2-six>=1.3.0' 'python2-jsonschema' 'python2-pytz' 'python2-aniso8601>=0.82')
|
||||||
|
cd ${srcdir}/${_pythonmod}-$pkgver
|
||||||
|
python2 ./setup.py install --root="${pkgdir}" --prefix="/usr"
|
||||||
|
|
||||||
|
install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}"
|
||||||
|
}
|
||||||
|
|
||||||
|
check_python-flask-restplus() {
|
||||||
|
checkdepends=('python-blinker' 'python-rednose' 'python-nose' 'python-mock' 'python-tzlocal')
|
||||||
|
cd ${srcdir}/${_pythonmod}-$pkgver
|
||||||
|
python ./setup.py test
|
||||||
|
}
|
||||||
|
|
||||||
|
package_python-flask-restplus() {
|
||||||
|
depends=('python-flask>=0.8' 'python-six>=1.3.0' 'python-jsonschema' 'python-pytz' 'python-aniso8601>=0.82')
|
||||||
|
cd ${srcdir}/${_pythonmod}-$pkgver
|
||||||
|
python ./setup.py install --root="${pkgdir}" --prefix="/usr"
|
||||||
|
|
||||||
|
install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}"
|
||||||
|
}
|
||||||
|
|
||||||
|
# vim:set ts=2 sw=2 et:
|
Loading…
Reference in a new issue