[arch-commits] Commit in python-prance/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Wed Jun 24 13:27:08 UTC 2020
Date: Wednesday, June 24, 2020 @ 13:27:07
Author: felixonmars
Revision: 652429
archrelease: copy trunk to community-any
Added:
python-prance/repos/community-any/PKGBUILD
(from rev 652428, python-prance/trunk/PKGBUILD)
Deleted:
python-prance/repos/community-any/PKGBUILD
----------+
PKGBUILD | 80 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 40 insertions(+), 40 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-06-24 13:26:58 UTC (rev 652428)
+++ PKGBUILD 2020-06-24 13:27:07 UTC (rev 652429)
@@ -1,40 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=python-prance
-pkgver=0.18.3
-_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=('feec73999b658f7351cbb171079fac9a159d71376c54fb3801d82bfd365569539f2f8129183e28ef457571279c51089a94a9319cde71e31915a155a8114ab7ca'
- '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 652428, python-prance/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-06-24 13:27:07 UTC (rev 652429)
@@ -0,0 +1,40 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-prance
+pkgver=0.19.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=('e04e10e025280170d4b01ff302d7bb3cde30c321d9b09c9b215eec2f4214dc05a32adcc0a171ee13b0b843639ae7978015693658e601b49286224e1dbe779bf2'
+ '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