upgpkg: python2-flask-restplus 0.13.0-1

upstream release
This commit is contained in:
Cedric Girard 2019-09-25 11:16:52 +02:00
parent b55dfb6634
commit 568f2fab14
Signed by: X-dark
GPG key ID: E7D0E125DB9519E4
2 changed files with 14 additions and 7 deletions

View file

@ -1,14 +1,19 @@
pkgbase = python2-flask-restplus pkgbase = python2-flask-restplus
pkgdesc = custom actions for flask to help manage your application pkgdesc = custom actions for flask to help manage your application
pkgver = 0.11.0 pkgver = 0.13.0
pkgrel = 1 pkgrel = 1
url = http://pypi.python.org/pypi/Flask-Restplus/ url = http://pypi.python.org/pypi/Flask-Restplus/
arch = any arch = any
license = BSD license = BSD
source = https://github.com/noirbizarre/flask-restplus/archive/0.11.0.tar.gz makedepends = python
sha1sums = 0851f0516c4208d24fcd98561525a7b6d0054d2d makedepends = python-setuptools
makedepends = python2
makedepends = python2-setuptools
source = https://github.com/noirbizarre/flask-restplus/archive/0.13.0.tar.gz
sha256sums = 5fd64c04bf224912965df54d29efbab423e65ea52ec61f37cf5d0aec553723da
pkgname = python2-flask-restplus pkgname = python2-flask-restplus
depends = python2
depends = python2-flask>=0.8 depends = python2-flask>=0.8
depends = python2-six>=1.3.0 depends = python2-six>=1.3.0
depends = python2-jsonschema depends = python2-jsonschema
@ -16,6 +21,7 @@ pkgname = python2-flask-restplus
depends = python2-aniso8601>=0.82 depends = python2-aniso8601>=0.82
pkgname = python-flask-restplus pkgname = python-flask-restplus
depends = python
depends = python-flask>=0.8 depends = python-flask>=0.8
depends = python-six>=1.3.0 depends = python-six>=1.3.0
depends = python-jsonschema depends = python-jsonschema

View file

@ -2,16 +2,17 @@
_pythonmod=flask-restplus _pythonmod=flask-restplus
pkgname=('python2-flask-restplus' 'python-flask-restplus') pkgname=('python2-flask-restplus' 'python-flask-restplus')
pkgbase='python2-flask-restplus' pkgbase='python2-flask-restplus'
pkgver=0.11.0 pkgver=0.13.0
pkgrel=1 pkgrel=1
pkgdesc='custom actions for flask to help manage your application' pkgdesc='custom actions for flask to help manage your application'
arch=('any') arch=('any')
url='http://pypi.python.org/pypi/Flask-Restplus/' url='http://pypi.python.org/pypi/Flask-Restplus/'
license=('BSD') license=('BSD')
makedepends=('python' 'python-setuptools' 'python2' 'python2-setuptools')
#source=("https://pypi.io/packages/source/f/flask-restplus/flask-restplus-${pkgver}.tar.gz") #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") source=("https://github.com/noirbizarre/flask-restplus/archive/${pkgver}.tar.gz")
sha1sums=('0851f0516c4208d24fcd98561525a7b6d0054d2d') sha256sums=('5fd64c04bf224912965df54d29efbab423e65ea52ec61f37cf5d0aec553723da')
check_python2-flask-restplus() { check_python2-flask-restplus() {
checkdepends=('python2-blinker' 'python2-rednose' 'python2-nose' 'python2-mock' 'python2-tzlocal') checkdepends=('python2-blinker' 'python2-rednose' 'python2-nose' 'python2-mock' 'python2-tzlocal')
@ -20,7 +21,7 @@ check_python2-flask-restplus() {
} }
package_python2-flask-restplus() { package_python2-flask-restplus() {
depends=('python2-flask>=0.8' 'python2-six>=1.3.0' 'python2-jsonschema' 'python2-pytz' 'python2-aniso8601>=0.82') depends=('python2' 'python2-flask>=0.8' 'python2-six>=1.3.0' 'python2-jsonschema' 'python2-pytz' 'python2-aniso8601>=0.82')
cd ${srcdir}/${_pythonmod}-$pkgver cd ${srcdir}/${_pythonmod}-$pkgver
python2 ./setup.py install --root="${pkgdir}" --prefix="/usr" python2 ./setup.py install --root="${pkgdir}" --prefix="/usr"
@ -34,7 +35,7 @@ check_python-flask-restplus() {
} }
package_python-flask-restplus() { package_python-flask-restplus() {
depends=('python-flask>=0.8' 'python-six>=1.3.0' 'python-jsonschema' 'python-pytz' 'python-aniso8601>=0.82') depends=('python' 'python-flask>=0.8' 'python-six>=1.3.0' 'python-jsonschema' 'python-pytz' 'python-aniso8601>=0.82')
cd ${srcdir}/${_pythonmod}-$pkgver cd ${srcdir}/${_pythonmod}-$pkgver
python ./setup.py install --root="${pkgdir}" --prefix="/usr" python ./setup.py install --root="${pkgdir}" --prefix="/usr"