[arch-commits] Commit in python-aiohttp-cors/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Mon Nov 4 04:55:48 UTC 2019
Date: Monday, November 4, 2019 @ 04:55:45
Author: felixonmars
Revision: 523146
archrelease: copy trunk to community-staging-any
Added:
python-aiohttp-cors/repos/community-staging-any/
python-aiohttp-cors/repos/community-staging-any/PKGBUILD
(from rev 523145, python-aiohttp-cors/trunk/PKGBUILD)
----------+
PKGBUILD | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)
Copied: python-aiohttp-cors/repos/community-staging-any/PKGBUILD (from rev 523145, python-aiohttp-cors/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2019-11-04 04:55:45 UTC (rev 523146)
@@ -0,0 +1,24 @@
+# Maintainer: Daniel M. Capella <polyzen at archlinux.org>
+
+_name=aiohttp-cors
+pkgname=python-aiohttp-cors
+pkgver=0.7.0
+pkgrel=2
+pkgdesc='CORS support for aiohttp'
+depends=('python-aiohttp')
+makedepends=('python-setuptools')
+arch=('any')
+url=https://github.com/aio-libs/aiohttp-cors
+license=('Apache')
+source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz")
+sha256sums=('4d39c6d7100fd9764ed1caf8cebf0eb01bf5e3f24e2e073fda6234bc48b19f5d')
+
+build() {
+ cd $_name-$pkgver
+ python setup.py build
+}
+
+package() {
+ cd $_name-$pkgver
+ python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+}
More information about the arch-commits
mailing list