[arch-commits] Commit in python-prance/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Mon Oct 8 16:25:38 UTC 2018
Date: Monday, October 8, 2018 @ 16:25:38
Author: felixonmars
Revision: 391099
archrelease: copy trunk to community-any
Added:
python-prance/repos/community-any/PKGBUILD
(from rev 391098, python-prance/trunk/PKGBUILD)
Deleted:
python-prance/repos/community-any/PKGBUILD
----------+
PKGBUILD | 128 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 64 insertions(+), 64 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-10-08 16:25:05 UTC (rev 391098)
+++ PKGBUILD 2018-10-08 16:25:38 UTC (rev 391099)
@@ -1,64 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-prance
-pkgname=(python-prance python2-prance)
-pkgver=0.13.1
-_openapi_commit=fbe62006211838a8bb7bf2433a1d15f1a5838a03
-pkgrel=2
-pkgdesc="Resolving Swagger/OpenAPI 2.0 and 3.0 Parser"
-url="https://github.com/jfinkhaeuser/prance"
-license=('custom:MITNFA')
-arch=('any')
-makedepends=('python-setuptools' 'python2-setuptools' 'python-chardet' 'python2-chardet' 'python-yaml'
- 'python2-yaml' 'python-flex' 'python2-flex' 'python-click' 'python2-click'
- 'python-requests' 'python2-requests' 'python-six' 'python2-six'
- 'python-semver' 'python2-semver')
-checkdepends=('python-pytest-runner' 'python2-pytest-runner' 'python-pytest-cov' 'python2-pytest-cov')
-source=("$pkgbase-$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=('ea95dc5352306794cb2027ae3369e6d2cebc7cdd0ade9c81557b8d0f2cd824fefc4370e566011388e67d3d6623c8b21aad8aa61adb0ffc800afcfd8d5158dbd0'
- 'd7957f1cdaa681b4c163e6e0b35ed6b808f469c3fdbba86a5e7221bb3c0c980415dca145e7f57bcebed75624562e89a893841d17c9e0ff82df4f0ff65ffaa2ae')
-
-prepare() {
- rmdir prance-$pkgver/tests/OpenAPI-Specification
- ln -s "$srcdir"/OpenAPI-Specification-$_openapi_commit prance-$pkgver/tests/OpenAPI-Specification
-
- cp -a prance-$pkgver{,-py2}
-}
-
-build() {
- cd "$srcdir"/prance-$pkgver
- python setup.py build
-
- cd "$srcdir"/prance-$pkgver-py2
- python2 setup.py build
-}
-
-check() {
- cd "$srcdir"/prance-$pkgver
- pytest
-
- cd "$srcdir"/prance-$pkgver-py2
- pytest2
-}
-
-package_python-prance() {
- depends=('python-chardet' 'python-yaml' 'python-flex' 'python-click' 'python-requests'
- 'python-six' 'python-semver')
-
- cd prance-$pkgver
- python setup.py install --root="$pkgdir" --optimize=1
- install -Dm644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.txt
-}
-
-package_python2-prance() {
- depends=('python2-chardet' 'python2-yaml' 'python2-flex' 'python2-click' 'python2-requests'
- 'python2-six' 'python2-semver')
-
- cd prance-$pkgver-py2
- python2 setup.py install --root="$pkgdir" --optimize=1
- install -Dm644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.txt
-
- mv "$pkgdir"/usr/bin/prance{,2}
-}
Copied: python-prance/repos/community-any/PKGBUILD (from rev 391098, python-prance/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-10-08 16:25:38 UTC (rev 391099)
@@ -0,0 +1,64 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-prance
+pkgname=(python-prance python2-prance)
+pkgver=0.13.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')
+makedepends=('python-setuptools' 'python2-setuptools' 'python-chardet' 'python2-chardet' 'python-yaml'
+ 'python2-yaml' 'python-flex' 'python2-flex' 'python-click' 'python2-click'
+ 'python-requests' 'python2-requests' 'python-six' 'python2-six'
+ 'python-semver' 'python2-semver')
+checkdepends=('python-pytest-runner' 'python2-pytest-runner' 'python-pytest-cov' 'python2-pytest-cov')
+source=("$pkgbase-$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=('e396c6e351fc4e9707373d6382eb105ff4b8eeb050668a80f34b44714a0d3af651efcba7e76c7fb97b1a99b261d5814254122ab33f6766e781a70dc3c8de0e58'
+ 'd7957f1cdaa681b4c163e6e0b35ed6b808f469c3fdbba86a5e7221bb3c0c980415dca145e7f57bcebed75624562e89a893841d17c9e0ff82df4f0ff65ffaa2ae')
+
+prepare() {
+ rmdir prance-$pkgver/tests/OpenAPI-Specification
+ ln -s "$srcdir"/OpenAPI-Specification-$_openapi_commit prance-$pkgver/tests/OpenAPI-Specification
+
+ cp -a prance-$pkgver{,-py2}
+}
+
+build() {
+ cd "$srcdir"/prance-$pkgver
+ python setup.py build
+
+ cd "$srcdir"/prance-$pkgver-py2
+ python2 setup.py build
+}
+
+check() {
+ cd "$srcdir"/prance-$pkgver
+ pytest
+
+ cd "$srcdir"/prance-$pkgver-py2
+ pytest2
+}
+
+package_python-prance() {
+ depends=('python-chardet' 'python-yaml' 'python-flex' 'python-click' 'python-requests'
+ 'python-six' 'python-semver')
+
+ cd prance-$pkgver
+ python setup.py install --root="$pkgdir" --optimize=1
+ install -Dm644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.txt
+}
+
+package_python2-prance() {
+ depends=('python2-chardet' 'python2-yaml' 'python2-flex' 'python2-click' 'python2-requests'
+ 'python2-six' 'python2-semver')
+
+ cd prance-$pkgver-py2
+ python2 setup.py install --root="$pkgdir" --optimize=1
+ install -Dm644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.txt
+
+ mv "$pkgdir"/usr/bin/prance{,2}
+}
More information about the arch-commits
mailing list