[arch-commits] Commit in python-flask-cors (3 files)

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


    Date: Saturday, November 7, 2020 @ 17:30:33
  Author: demize
Revision: 745896

archrelease: copy trunk to community-testing-any

Added:
  python-flask-cors/repos/
  python-flask-cors/repos/community-testing-any/
  python-flask-cors/repos/community-testing-any/PKGBUILD
    (from rev 745895, python-flask-cors/trunk/PKGBUILD)

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

Copied: python-flask-cors/repos/community-testing-any/PKGBUILD (from rev 745895, python-flask-cors/trunk/PKGBUILD)
===================================================================
--- repos/community-testing-any/PKGBUILD	                        (rev 0)
+++ repos/community-testing-any/PKGBUILD	2020-11-07 17:30:33 UTC (rev 745896)
@@ -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