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

Felix Yan felixonmars at gemini.archlinux.org
Thu Dec 2 23:25:05 UTC 2021


    Date: Thursday, December 2, 2021 @ 23:25:05
  Author: felixonmars
Revision: 1062961

archrelease: copy trunk to community-staging-any

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-12-02 23:24:57 UTC (rev 1062960)
+++ PKGBUILD	2021-12-02 23:25:05 UTC (rev 1062961)
@@ -1,40 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=python-prance
-pkgver=0.21.8.0
-_openapi_commit=0f9d3ec7c033fef184ec54e1ffc201b2d61ce023
-pkgrel=2
-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-ruamel-yaml' 'python-requests' 'python-six' 'python-semver')
-optdepends=('python-flex' 'python-click' 'python-pyicu' 'python-openapi-spec-validator')
-makedepends=('python-setuptools')
-# 'python-flex' is broken, removed for now: https://github.com/RonnyPfannschmidt/prance/issues/116
-checkdepends=('python-pytest-cov' 'python-click' 'python-pyicu' 'python-openapi-spec-validator')
-source=("https://github.com/jfinkhaeuser/prance/archive/v$pkgver/$pkgname-$pkgver.tar.gz"
-        "https://github.com/OAI/OpenAPI-Specification/archive/$_openapi_commit/OpenAPI-Specification-$_openapi_commit.tar.gz")
-sha512sums=('654d37a50bd79177b285eca585f56ef07a6a553a09c018e2df640879ab62e0a376cbd8fc2205b6408b7fce31851be0accb123afc79114edd36c8a270e6557b84'
-            'c75ff7410c75ce23fd736ccb4294175438b66a954687d380124c0e37237112b043fa0c289269a8d792e8385264c923b0be09d6bf63112a106e4579d9d7a9808f')
-
-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 -t "$pkgdir"/usr/share/licenses/$pkgname/
-}

Copied: python-prance/repos/community-staging-any/PKGBUILD (from rev 1062960, python-prance/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-12-02 23:25:05 UTC (rev 1062961)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-prance
+pkgver=0.21.8.0
+_openapi_commit=0f9d3ec7c033fef184ec54e1ffc201b2d61ce023
+pkgrel=3
+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-ruamel-yaml' 'python-requests' 'python-six' 'python-semver')
+optdepends=('python-flex' 'python-click' 'python-pyicu' 'python-openapi-spec-validator')
+makedepends=('python-setuptools')
+# 'python-flex' is broken, removed for now: https://github.com/RonnyPfannschmidt/prance/issues/116
+checkdepends=('python-pytest-cov' 'python-click' 'python-pyicu' 'python-openapi-spec-validator')
+source=("https://github.com/jfinkhaeuser/prance/archive/v$pkgver/$pkgname-$pkgver.tar.gz"
+        "https://github.com/OAI/OpenAPI-Specification/archive/$_openapi_commit/OpenAPI-Specification-$_openapi_commit.tar.gz")
+sha512sums=('654d37a50bd79177b285eca585f56ef07a6a553a09c018e2df640879ab62e0a376cbd8fc2205b6408b7fce31851be0accb123afc79114edd36c8a270e6557b84'
+            'c75ff7410c75ce23fd736ccb4294175438b66a954687d380124c0e37237112b043fa0c289269a8d792e8385264c923b0be09d6bf63112a106e4579d9d7a9808f')
+
+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 -t "$pkgdir"/usr/share/licenses/$pkgname/
+}



More information about the arch-commits mailing list