diff options
author | GI_Jack | 2021-07-20 17:13:48 -0400 |
---|---|---|
committer | GI_Jack | 2021-07-20 17:13:48 -0400 |
commit | 096ade2bb1bb902e962c12ee74ddac09cb7f2cc1 (patch) | |
tree | 68f64ce9258ca2b9e9a4daced98f9458f4ac3721 /PKGBUILD | |
download | aur-096ade2bb1bb902e962c12ee74ddac09cb7f2cc1.tar.gz |
initial commit
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..cea86659d842 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,39 @@ +# Maintainer: GI Jack <GI_Jack@hackermail.com> + +# Contributor: Sven-Hendrik Haase <svenstaro@gmail.com> +# Contributor: Alexander Rødseth <rodseth@gmail.com> +# Contributor: Thomas Dziedzic < gostrc at gmail > +# Contributor: Tarmo Heiskanen <turskii@gmail.com> + +pkgname=python-flask1 +pkgver=1.1.4 +pkgrel=2 +pkgdesc='Micro webdevelopment framework for Python(1.x Branch)' +url='http://flask.pocoo.org/' +arch=('any') +license=('custom:BSD') +provides=("python-flask=1.1.4") +conflicts=("python-flask") +depends=('python-werkzeug' 'python-jinja' 'python-itsdangerous' 'python-click') +makedepends=('python-setuptools' 'python-werkzeug' + 'python-jinja' 'python-itsdangerous' 'python-click') +source=("$pkgname-$pkgver.tar.gz::https://github.com/pallets/flask/archive/${pkgver}.tar.gz") +sha512sums=('e7ca33d599c0f7b83542620e827c999124ffe30e31006815b49993a81f9cf0d61dd0433b73f57f922da5aeb76101beccfe63d9a7236e1850e326f838dc1f453f') + +build() { + cd "flask-$pkgver" + python setup.py build +} + +check() { + cd "flask-$pkgver" + python setup.py test +} + +package() { + cd "flask-$pkgver" + + python setup.py install --prefix=/usr --root="$pkgdir" --optimize=1 + install -Dm644 LICENSE.rst "$pkgdir/usr/share/licenses/$pkgname/LICENSE.rst" +} + |