[arch-commits] Commit in python-prance/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Fri Jan 22 17:53:28 UTC 2021
Date: Friday, January 22, 2021 @ 17:53:28
Author: felixonmars
Revision: 824693
archrelease: copy trunk to community-any
Added:
python-prance/repos/community-any/PKGBUILD
(from rev 824692, python-prance/trunk/PKGBUILD)
Deleted:
python-prance/repos/community-any/PKGBUILD
----------+
PKGBUILD | 80 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 40 insertions(+), 40 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-01-22 17:53:18 UTC (rev 824692)
+++ PKGBUILD 2021-01-22 17:53:28 UTC (rev 824693)
@@ -1,40 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=python-prance
-pkgver=0.20.1
-_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=('9632c617759b0c7f462da7218c3f793dc4f00f67b0251e859922f514c72d265a1e53d4d97579770bb56150ed8444eb0cc8a216d2ab3de1e64e0754cee4540ad4'
- '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 824692, python-prance/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-01-22 17:53:28 UTC (rev 824693)
@@ -0,0 +1,40 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-prance
+pkgver=0.20.2
+_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=('44ec74236c0b6c8ac7018b2a6d34e5b0437844031e6cd3ee58d57139266eebccb55c7d2b7c080be519e355546a521ddd553b0a9f5a4a72ae7a35bce4326e71bf'
+ '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