[arch-commits] Commit in python-connexion/repos (2 files)
Evangelos Foutras
foutrelis at archlinux.org
Mon Nov 4 08:14:40 UTC 2019
Date: Monday, November 4, 2019 @ 08:14:40
Author: foutrelis
Revision: 523644
archrelease: copy trunk to community-staging-any
Added:
python-connexion/repos/community-staging-any/
python-connexion/repos/community-staging-any/PKGBUILD
(from rev 523643, python-connexion/trunk/PKGBUILD)
----------+
PKGBUILD | 37 +++++++++++++++++++++++++++++++++++++
1 file changed, 37 insertions(+)
Copied: python-connexion/repos/community-staging-any/PKGBUILD (from rev 523643, python-connexion/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2019-11-04 08:14:40 UTC (rev 523644)
@@ -0,0 +1,37 @@
+# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
+
+_pkgname=connexion
+pkgname=python-$_pkgname
+pkgver=2.4.0
+pkgrel=2
+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' 'python-flask')
+optdepends=('python-aiohttp: AIOHTTP backend'
+ 'python-ujson: Faster JSON parsing')
+makedepends=('python-setuptools')
+#checkdepends=('python-pytest-runner')
+source=("$pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz")
+sha512sums=('8c17b1a0fe669a8038f0c310fede0492a6592708de72d392ee93ee1606e841968be7dee844f1f2912b2787f05d40e57bbddd1011b9c5630d55b279cfe808be1d')
+
+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