[arch-commits] Commit in python-prance/repos/community-any (PKGBUILD PKGBUILD)

Felix Yan felixonmars at archlinux.org
Sat Nov 16 17:49:04 UTC 2019


    Date: Saturday, November 16, 2019 @ 17:49:03
  Author: felixonmars
Revision: 529669

archrelease: copy trunk to community-any

Added:
  python-prance/repos/community-any/PKGBUILD
    (from rev 529668, python-prance/trunk/PKGBUILD)
Deleted:
  python-prance/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   80 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 40 insertions(+), 40 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-11-16 17:48:48 UTC (rev 529668)
+++ PKGBUILD	2019-11-16 17:49:03 UTC (rev 529669)
@@ -1,40 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=python-prance
-pkgver=0.16.0
-_openapi_commit=fbe62006211838a8bb7bf2433a1d15f1a5838a03
-pkgrel=7
-pkgdesc="Resolving Swagger/OpenAPI 2.0 and 3.0 Parser"
-url="https://github.com/jfinkhaeuser/prance"
-license=('custom:MITNFA')
-arch=('any')
-depends=('python-chardet' 'python-yaml' 'python-flex' 'python-click' 'python-requests'
-         'python-six' 'python-semver')
-makedepends=('python-setuptools')
-checkdepends=('python-pytest-cov')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/jfinkhaeuser/prance/archive/v$pkgver.tar.gz"
-        "OpenAPI-Specification-$_openapi_commit.tar.gz::https://github.com/OAI/OpenAPI-Specification/archive/$_openapi_commit.tar.gz")
-sha512sums=('999dc5cbaf979d4a3d1ec005eb620fc4f1e2bb809e3931d5bec2711eb15f3682c2be6d7de2e7b434a145294de2968b448e3cfb6b4b7b01a3b133e8e48ed08724'
-            'd7957f1cdaa681b4c163e6e0b35ed6b808f469c3fdbba86a5e7221bb3c0c980415dca145e7f57bcebed75624562e89a893841d17c9e0ff82df4f0ff65ffaa2ae')
-
-prepare() {
-  rmdir prance-$pkgver/tests/OpenAPI-Specification
-  ln -s "$srcdir"/OpenAPI-Specification-$_openapi_commit prance-$pkgver/tests/OpenAPI-Specification
-}
-
-build() {
-  cd prance-$pkgver
-  python setup.py build
-}
-
-check() {
-  cd prance-$pkgver
-  pytest
-}
-
-package() {
-  cd prance-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1
-  install -Dm644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.txt
-}

Copied: python-prance/repos/community-any/PKGBUILD (from rev 529668, python-prance/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-11-16 17:49:03 UTC (rev 529669)
@@ -0,0 +1,40 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-prance
+pkgver=0.17.0
+_openapi_commit=fbe62006211838a8bb7bf2433a1d15f1a5838a03
+pkgrel=1
+pkgdesc="Resolving Swagger/OpenAPI 2.0 and 3.0 Parser"
+url="https://github.com/jfinkhaeuser/prance"
+license=('custom:MITNFA')
+arch=('any')
+depends=('python-chardet' 'python-yaml' 'python-flex' 'python-click' 'python-requests'
+         'python-six' 'python-semver')
+makedepends=('python-setuptools')
+checkdepends=('python-pytest-cov')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/jfinkhaeuser/prance/archive/v$pkgver.tar.gz"
+        "OpenAPI-Specification-$_openapi_commit.tar.gz::https://github.com/OAI/OpenAPI-Specification/archive/$_openapi_commit.tar.gz")
+sha512sums=('314c9b0b126d4afed10b6de6cfcbfbbb60a507f98ae6f02bfdf8eb8fd58dc40e60684c613fe37f18969d4fe0a888a42a2383b264ad2322c74dfa2e9ed7ea6a80'
+            'd7957f1cdaa681b4c163e6e0b35ed6b808f469c3fdbba86a5e7221bb3c0c980415dca145e7f57bcebed75624562e89a893841d17c9e0ff82df4f0ff65ffaa2ae')
+
+prepare() {
+  rmdir prance-$pkgver/tests/OpenAPI-Specification
+  ln -s "$srcdir"/OpenAPI-Specification-$_openapi_commit prance-$pkgver/tests/OpenAPI-Specification
+}
+
+build() {
+  cd prance-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd prance-$pkgver
+  pytest
+}
+
+package() {
+  cd prance-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+  install -Dm644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.txt
+}



More information about the arch-commits mailing list