Date: Tuesday, August 27, 2019 @ 10:08:22
  Author: ffy00
Revision: 502615

archrelease: copy trunk to community-any

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

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

Copied: python-connexion/repos/community-any/PKGBUILD (from rev 502614, 
python-connexion/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD                              (rev 0)
+++ community-any/PKGBUILD      2019-08-27 10:08:22 UTC (rev 502615)
@@ -0,0 +1,35 @@
+# Maintainer: Filipe Laíns (FFY00) <[email protected]>
+
+_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
+}
+

Reply via email to