[arch-commits] Commit in python-flask-cors/repos (2 files)

Johannes Löthberg demize at archlinux.org
Fri Jan 22 23:35:57 UTC 2021


    Date: Friday, January 22, 2021 @ 23:35:57
  Author: demize
Revision: 825360

archrelease: copy trunk to community-testing-any

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

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

Copied: python-flask-cors/repos/community-testing-any/PKGBUILD (from rev 825359, python-flask-cors/trunk/PKGBUILD)
===================================================================
--- community-testing-any/PKGBUILD	                        (rev 0)
+++ community-testing-any/PKGBUILD	2021-01-22 23:35:57 UTC (rev 825360)
@@ -0,0 +1,33 @@
+# Maintainer: Johannes Löthberg <johannes at kyriasis.com>
+
+pkgname=python-flask-cors
+pkgver=3.0.10
+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=('b60839393f3b84a0f3746f6cdca56c1ad7426aa738b70d6c61375857823181de')
+
+build() {
+	cd Flask-Cors-$pkgver
+	python setup.py build
+}
+
+check() {
+	cd Flask-Cors-$pkgver
+	python setup.py test
+}
+
+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