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

Felix Yan felixonmars at archlinux.org
Tue May 29 05:01:45 UTC 2018


    Date: Tuesday, May 29, 2018 @ 05:01:38
  Author: felixonmars
Revision: 333101

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |  108 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 54 insertions(+), 54 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-05-29 05:00:56 UTC (rev 333100)
+++ PKGBUILD	2018-05-29 05:01:38 UTC (rev 333101)
@@ -1,54 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-apispec
-pkgname=(python-apispec python2-apispec)
-pkgver=0.37.0
-pkgrel=1
-pkgdesc="A pluggable API specification generator. Currently supports the OpenAPI Specification."
-url="https://github.com/marshmallow-code/apispec"
-license=('MIT')
-arch=('any')
-makedepends=('python-setuptools' 'python2-setuptools' 'python-yaml' 'python2-yaml')
-checkdepends=('python-pytest-runner' 'python2-pytest-runner' 'python-tornado' 'python2-tornado'
-              'python-bottle' 'python2-bottle' 'python-marshmallow' 'python2-marshmallow'
-              'python-flask' 'python2-flask' 'python-mock' 'python2-mock' 'check_api')
-source=("$pkgbase-$pkgver.tar.gz::https://github.com/marshmallow-code/apispec/archive/$pkgver.tar.gz")
-sha512sums=('438e49e537c757368eec1e0c7776e402f6b176a6f2653804c0b349318fb85a4fad8029f927455c1d9380be166b91331ab384ace041617c6773c9e36f46c14f4d')
-
-prepare() {
-  sed -i 's/<2/<3/' apispec-$pkgver/setup.py
-  cp -a apispec-$pkgver{,-py2}
-}
-
-build() {
-  cd "$srcdir"/apispec-$pkgver
-  python setup.py build
-
-  cd "$srcdir"/apispec-$pkgver-py2
-  python2 setup.py build
-}
-
-check() {
-  cd "$srcdir"/apispec-$pkgver
-  python setup.py pytest
-
-  cd "$srcdir"/apispec-$pkgver-py2
-  python2 setup.py pytest
-}
-
-package_python-apispec() {
-  depends=('python-yaml')
-
-  cd apispec-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1
-  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-
-package_python2-apispec() {
-  depends=('python2-yaml')
-
-  cd apispec-$pkgver-py2
-  python2 setup.py install --root="$pkgdir" --optimize=1
-  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}

Copied: python-apispec/repos/community-any/PKGBUILD (from rev 333100, python-apispec/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-05-29 05:01:38 UTC (rev 333101)
@@ -0,0 +1,54 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-apispec
+pkgname=(python-apispec python2-apispec)
+pkgver=0.37.1
+pkgrel=1
+pkgdesc="A pluggable API specification generator. Currently supports the OpenAPI Specification."
+url="https://github.com/marshmallow-code/apispec"
+license=('MIT')
+arch=('any')
+makedepends=('python-setuptools' 'python2-setuptools' 'python-yaml' 'python2-yaml')
+checkdepends=('python-pytest-runner' 'python2-pytest-runner' 'python-tornado' 'python2-tornado'
+              'python-bottle' 'python2-bottle' 'python-marshmallow' 'python2-marshmallow'
+              'python-flask' 'python2-flask' 'python-mock' 'python2-mock' 'check_api')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/marshmallow-code/apispec/archive/$pkgver.tar.gz")
+sha512sums=('cbf6de044d8d70b9ea0171d3067e690c5c6cb15f0bc3bee8a1729e6bfc420f3bcd978c7d3ab42e68658ca7bf90df7357bb2a0c03e299abd696afd4bb48927af2')
+
+prepare() {
+  sed -i 's/<2/<3/' apispec-$pkgver/setup.py
+  cp -a apispec-$pkgver{,-py2}
+}
+
+build() {
+  cd "$srcdir"/apispec-$pkgver
+  python setup.py build
+
+  cd "$srcdir"/apispec-$pkgver-py2
+  python2 setup.py build
+}
+
+check() {
+  cd "$srcdir"/apispec-$pkgver
+  python setup.py pytest
+
+  cd "$srcdir"/apispec-$pkgver-py2
+  python2 setup.py pytest
+}
+
+package_python-apispec() {
+  depends=('python-yaml')
+
+  cd apispec-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+package_python2-apispec() {
+  depends=('python2-yaml')
+
+  cd apispec-$pkgver-py2
+  python2 setup.py install --root="$pkgdir" --optimize=1
+  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}



More information about the arch-commits mailing list