Date: Saturday, April 8, 2023 @ 17:45:03
  Author: felixonmars
Revision: 1442826

archrelease: copy trunk to community-staging-any

Added:
  python-apispec-webframeworks/repos/community-staging-any/
  python-apispec-webframeworks/repos/community-staging-any/PKGBUILD
    (from rev 1442825, python-apispec-webframeworks/trunk/PKGBUILD)

----------+
 PKGBUILD |   31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

Copied: python-apispec-webframeworks/repos/community-staging-any/PKGBUILD (from 
rev 1442825, python-apispec-webframeworks/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD                              (rev 0)
+++ community-staging-any/PKGBUILD      2023-04-08 17:45:03 UTC (rev 1442826)
@@ -0,0 +1,31 @@
+# Maintainer: Felix Yan <[email protected]>
+
+pkgname=python-apispec-webframeworks
+pkgver=0.5.2
+pkgrel=6
+pkgdesc="Web framework plugins for apispec"
+url="https://github.com/marshmallow-code/apispec-webframeworks";
+license=('MIT')
+arch=('any')
+depends=('python-apispec' 'python-yaml')
+makedepends=('python-setuptools')
+checkdepends=('python-pytest-runner' 'python-bottle' 'python-flask' 
'python-tornado')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/marshmallow-code/apispec-webframeworks/archive/$pkgver.tar.gz";)
+sha512sums=('56e39f69da7909d6db81c331dc00cb16414832c9393c272d1b1329282ff2e49f36fee51e3e131bf2586d0c2960c08cd4ba5f04f2d984a2d6a73a17942268f2e6')
+
+build() {
+  cd apispec-webframeworks-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd apispec-webframeworks-$pkgver
+  python setup.py pytest || echo 
"https://github.com/marshmallow-code/apispec-webframeworks/issues/45";
+}
+
+package() {
+  cd apispec-webframeworks-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+
+  install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+}

Reply via email to