[arch-commits] Commit in python-aiohttp-apispec/repos (2 files)

Filipe Laíns ffy00 at archlinux.org
Sat Feb 15 21:30:25 UTC 2020


    Date: Saturday, February 15, 2020 @ 21:30:25
  Author: ffy00
Revision: 571862

archrelease: copy trunk to community-any

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

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

Copied: python-aiohttp-apispec/repos/community-any/PKGBUILD (from rev 571861, python-aiohttp-apispec/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD	                        (rev 0)
+++ community-any/PKGBUILD	2020-02-15 21:30:25 UTC (rev 571862)
@@ -0,0 +1,37 @@
+# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
+
+_pkgname=aiohttp-apispec
+pkgname=python-$_pkgname
+pkgver=1.5.0
+pkgrel=1
+pkgdesc='Build and document REST APIs with aiohttp and apispec'
+arch=('any')
+url='https://github.com/maximdanilchenko/aiohttp-apispec'
+license=('MIT')
+depends=('python-aiohttp' 'python-apispec' 'python-webargs' 'python-jinja')
+makedepends=('python-setuptools')
+checkdepends=('python-pytest-runner' 'python-pytest-aiohttp')
+source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
+sha512sums=('e6c271abd0664da55fa4300b5de90c6585af17de2701b366d06c6a611401353445e8abb94e19dea640571fa071d688745aeadaa82fbccf6659e92409ade7276f')
+
+build() {
+  cd $_pkgname-$pkgver
+
+  python setup.py build
+}
+
+check() {
+  cd $_pkgname-$pkgver
+
+  python setup.py pytest
+}
+
+package() {
+  cd $_pkgname-$pkgver
+
+  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+
+  install -Dm 644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list