From 622ea97e39113de6600dfbd233859e3e9728739f Mon Sep 17 00:00:00 2001 From: Cedric Girard Date: Thu, 21 Apr 2022 14:36:45 +0200 Subject: [PATCH] upgpkg: python2-flask-restplus 0.13.0-2 remove python2 --- python2-flask-restplus/.SRCINFO | 13 +------------ python2-flask-restplus/PKGBUILD | 20 +++----------------- 2 files changed, 4 insertions(+), 29 deletions(-) diff --git a/python2-flask-restplus/.SRCINFO b/python2-flask-restplus/.SRCINFO index 1bafbdc..57e2425 100644 --- a/python2-flask-restplus/.SRCINFO +++ b/python2-flask-restplus/.SRCINFO @@ -1,25 +1,15 @@ pkgbase = python2-flask-restplus pkgdesc = custom actions for flask to help manage your application pkgver = 0.13.0 - pkgrel = 1 + pkgrel = 2 url = http://pypi.python.org/pypi/Flask-Restplus/ arch = any license = BSD makedepends = python 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 - depends = python2 - 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 depends = python-flask>=0.8 @@ -27,4 +17,3 @@ pkgname = python-flask-restplus depends = python-jsonschema depends = python-pytz depends = python-aniso8601>=0.82 - diff --git a/python2-flask-restplus/PKGBUILD b/python2-flask-restplus/PKGBUILD index ca83d33..d38332f 100644 --- a/python2-flask-restplus/PKGBUILD +++ b/python2-flask-restplus/PKGBUILD @@ -1,33 +1,19 @@ # Maintainer: Cedric Girard _pythonmod=flask-restplus -pkgname=('python2-flask-restplus' 'python-flask-restplus') +pkgname='python-flask-restplus' pkgbase='python2-flask-restplus' pkgver=0.13.0 -pkgrel=1 +pkgrel=2 pkgdesc='custom actions for flask to help manage your application' arch=('any') url='http://pypi.python.org/pypi/Flask-Restplus/' license=('BSD') -makedepends=('python' 'python-setuptools' 'python2' 'python2-setuptools') +makedepends=('python' 'python-setuptools') #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") sha256sums=('5fd64c04bf224912965df54d29efbab423e65ea52ec61f37cf5d0aec553723da') -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' '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