[arch-commits] Commit in python-connexion/repos (2 files)

Felix Yan felixonmars at archlinux.org
Thu Nov 12 18:58:04 UTC 2020


    Date: Thursday, November 12, 2020 @ 18:58:04
  Author: felixonmars
Revision: 753282

archrelease: copy trunk to community-staging-any

Added:
  python-connexion/repos/community-staging-any/
  python-connexion/repos/community-staging-any/PKGBUILD
    (from rev 753281, python-connexion/trunk/PKGBUILD)

----------+
 PKGBUILD |   37 +++++++++++++++++++++++++++++++++++++
 1 file changed, 37 insertions(+)

Copied: python-connexion/repos/community-staging-any/PKGBUILD (from rev 753281, python-connexion/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-11-12 18:58:04 UTC (rev 753282)
@@ -0,0 +1,37 @@
+# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
+
+_pkgname=connexion
+pkgname=python-$_pkgname
+pkgver=2.7.0
+pkgrel=3
+pkgdesc='Swagger/OpenAPI First framework for Python on top of Flask with automatic endpoint validation & OAuth2 support'
+arch=('any')
+url='https://github.com/zalando/connexion'
+license=('Apache')
+depends=('python-clickclick' 'python-jsonschema' 'python-pyaml' 'python-requests'
+         'python-inflection' 'python-openapi-spec-validator' 'python-flask')
+optdepends=('python-aiohttp: AIOHTTP backend'
+            'python-ujson: Faster JSON parsing'
+            'python-swagger-ui-bundle: Swagger UI (web UI for the API) support')
+makedepends=('python-setuptools')
+#checkdepends=('python-pytest-runner')
+source=("$pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz")
+sha512sums=('4f278b3dea78b852e4051bf046a9224a7fd2a0af1056d9cdfbf55e2562b49061329330fc623f9b2c61f54f0710f028674e6dceb037f503d7afd8d7fec736a6ea')
+
+build() {
+  cd $_pkgname-$pkgver
+
+  python setup.py build
+}
+
+check() {
+  cd $_pkgname-$pkgver
+
+#  python setup.py test
+}
+
+package() {
+  cd $_pkgname-$pkgver
+
+  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+}



More information about the arch-commits mailing list