[arch-commits] Commit in python-apispec/trunk (PKGBUILD)

Felix Yan felixonmars at archlinux.org
Sat May 25 04:26:19 UTC 2019


    Date: Saturday, May 25, 2019 @ 04:26:19
  Author: felixonmars
Revision: 469700

upgpkg: python-apispec 1.3.3-1

remove python2 tests

Modified:
  python-apispec/trunk/PKGBUILD

----------+
 PKGBUILD |   21 +++++++--------------
 1 file changed, 7 insertions(+), 14 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-05-25 04:21:47 UTC (rev 469699)
+++ PKGBUILD	2019-05-25 04:26:19 UTC (rev 469700)
@@ -2,7 +2,7 @@
 
 pkgbase=python-apispec
 pkgname=(python-apispec python2-apispec)
-pkgver=1.2.1
+pkgver=1.3.3
 pkgrel=1
 pkgdesc="A pluggable API specification generator. Currently supports the OpenAPI Specification."
 url="https://github.com/marshmallow-code/apispec"
@@ -9,13 +9,11 @@
 license=('MIT')
 arch=('any')
 makedepends=('python-setuptools' 'python2-setuptools')
-checkdepends=('python-pytest-runner' 'python2-pytest-runner' 'python-tornado' 'python2-tornado'
-              'python-bottle' 'python2-bottle' 'python-marshmallow' 'python2-marshmallow'
-              'python-flask' 'python2-flask' 'python-prance' 'python2-prance' 'python-yaml'
-              'python2-yaml' 'python-mock' 'python2-mock' 'python-openapi-spec-validator'
-              'python2-openapi-spec-validator')
+checkdepends=('python-pytest-runner' 'python-tornado' 'python-bottle' 'python-marshmallow'
+              'python-flask' 'python-prance' 'python-yaml' 'python-mock'
+              'python-openapi-spec-validator')
 source=("$pkgbase-$pkgver.tar.gz::https://github.com/marshmallow-code/apispec/archive/$pkgver.tar.gz")
-sha512sums=('dae5658b046afa2437f46f948ad44c5d9199fe481e9e6ab34bceb430186dcef4ce4c665e11c3235c4a698339ebdb6327d38c2a2259a30fd8de6f5d9553a653aa')
+sha512sums=('27b7b69ddc501ac81cabce06e9ba780273d4d2762b5ae492eae3d46261a06473c752305df383d2e2eaa9c3ff8e1b010b56966e9a3bf928a550e352647aa28787')
 
 prepare() {
   cp -a apispec-$pkgver{,-py2}
@@ -30,11 +28,8 @@
 }
 
 check() {
-  cd "$srcdir"/apispec-$pkgver
+  cd apispec-$pkgver
   python setup.py pytest
-
-  cd "$srcdir"/apispec-$pkgver-py2
-  python2 setup.py pytest
 }
 
 package_python-apispec() {
@@ -50,9 +45,7 @@
 
 package_python2-apispec() {
   depends=('python2')
-  optdepends=('python2-yaml: for yaml support'
-              'python2-prance: for validation'
-              'python2-openapi-spec-validator: for validation')
+  optdepends=('python2-yaml: for yaml support')
 
   cd apispec-$pkgver-py2
   python2 setup.py install --root="$pkgdir" --optimize=1



More information about the arch-commits mailing list