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

Felix Yan felixonmars at archlinux.org
Sat Feb 9 01:50:58 UTC 2019


    Date: Saturday, February 9, 2019 @ 01:50:56
  Author: felixonmars
Revision: 430783

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |  120 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 60 insertions(+), 60 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-02-09 01:50:39 UTC (rev 430782)
+++ PKGBUILD	2019-02-09 01:50:56 UTC (rev 430783)
@@ -1,60 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-apispec
-pkgname=(python-apispec python2-apispec)
-pkgver=0.39.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')
-checkdepends=('python-pytest-runner' 'python2-pytest-runner' 'python-tornado' 'python2-tornado'
-              'python-bottle' 'python2-bottle' 'python-marshmallow' 'python2-marshmallow'
-              'python-flask' 'python2-flask' 'python-prance' 'python2-prance' 'python-yaml'
-              'python2-yaml' 'python-mock' 'python2-mock' 'python-openapi-spec-validator'
-              'python2-openapi-spec-validator')
-source=("$pkgbase-$pkgver.tar.gz::https://github.com/marshmallow-code/apispec/archive/$pkgver.tar.gz")
-sha512sums=('e43ed4ef6e7ac565e306427ad3bed619d72c9f894b1d7803635505496914ac6a1b784e670f98cf2ef3c119f0aad3891ded2a4f632694ead3ce0450b4402c875a')
-
-prepare() {
-  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')
-  optdepends=('python-yaml: for yaml support'
-              'python-prance: for validation'
-              'python-openapi-spec-validator: for validation')
-
-  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')
-  optdepends=('python2-yaml: for yaml support'
-              'python2-prance: for validation'
-              'python2-openapi-spec-validator: for validation')
-
-  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 430782, python-apispec/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-02-09 01:50:56 UTC (rev 430783)
@@ -0,0 +1,60 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-apispec
+pkgname=(python-apispec python2-apispec)
+pkgver=1.0.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')
+checkdepends=('python-pytest-runner' 'python2-pytest-runner' 'python-tornado' 'python2-tornado'
+              'python-bottle' 'python2-bottle' 'python-marshmallow' 'python2-marshmallow'
+              'python-flask' 'python2-flask' 'python-prance' 'python2-prance' 'python-yaml'
+              'python2-yaml' 'python-mock' 'python2-mock' 'python-openapi-spec-validator'
+              'python2-openapi-spec-validator')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/marshmallow-code/apispec/archive/$pkgver.tar.gz")
+sha512sums=('fa369bb8662f232aff352572c81711a48a470ddae0f61c5d4dc4a29182b41344002b516579a894459031ed57ff35110fb896191f7555c8d821a908704e9c867d')
+
+prepare() {
+  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')
+  optdepends=('python-yaml: for yaml support'
+              'python-prance: for validation'
+              'python-openapi-spec-validator: for validation')
+
+  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')
+  optdepends=('python2-yaml: for yaml support'
+              'python2-prance: for validation'
+              'python2-openapi-spec-validator: for validation')
+
+  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