[arch-commits] Commit in python-flask-cors (trunk trunk/PKGBUILD)

Johannes Löthberg demize at archlinux.org
Sat Nov 7 17:30:27 UTC 2020


    Date: Saturday, November 7, 2020 @ 17:30:27
  Author: demize
Revision: 745895

upgpkg: python-flask-cors 3.0.9-1

Added:
  python-flask-cors/trunk/
  python-flask-cors/trunk/PKGBUILD

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

Added: trunk/PKGBUILD
===================================================================
--- trunk/PKGBUILD	                        (rev 0)
+++ trunk/PKGBUILD	2020-11-07 17:30:27 UTC (rev 745895)
@@ -0,0 +1,28 @@
+# Maintainer: Johannes Löthberg <johannes at kyriasis.com>
+
+pkgname=python-flask-cors
+pkgver=3.0.9
+pkgrel=1
+
+pkgdesc='A Flask extension adding a decorator for CORS support'
+url='https://pypi.org/project/Flask-Cors'
+arch=('any')
+license=('MIT')
+
+depends=('python-flask' 'python-six')
+makedepends=('python-setuptools')
+
+source=("https://pypi.org/packages/source/F/Flask-Cors/Flask-Cors-$pkgver.tar.gz")
+
+sha256sums=('6bcfc100288c5d1bcb1dbb854babd59beee622ffd321e444b05f24d6d58466b8')
+
+build() {
+	cd Flask-Cors-$pkgver
+	python setup.py build
+}
+
+package() {
+	cd Flask-Cors-$pkgver
+	python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+	install -Dm655 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}


More information about the arch-commits mailing list