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

Filipe Laíns ffy00 at archlinux.org
Tue Aug 27 10:08:18 UTC 2019


    Date: Tuesday, August 27, 2019 @ 10:08:17
  Author: ffy00
Revision: 502614

upgpkg: python-connexion 2.3.0-1

Added:
  python-connexion/trunk/PKGBUILD

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

Added: PKGBUILD
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-08-27 10:08:17 UTC (rev 502614)
@@ -0,0 +1,35 @@
+# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
+
+_pkgname=connexion
+pkgname=python-$_pkgname
+pkgver=2.3.0
+pkgrel=1
+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-six'
+         'python-inflection' 'python-pathlib2' 'python-openapi-spec-validator')
+makedepends=('python-setuptools')
+#checkdepends=('python-pytest-runner')
+source=("$pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz")
+sha512sums=('4d678a1ab9648bc4da5ff5fb69345c37e961f9f154130ca17418aa476798f3b815edd5f887796f2317d64f3dfcaf17d080861c6bded6ef34ab07b12c603fcf9b')
+
+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