2015-10-09 14:50:50 +02:00
|
|
|
# Maintainer: Cedric Girard <girard.cedric@gmail.com>
|
2016-09-22 10:10:07 +02:00
|
|
|
_pythonmod=Flask-Compress
|
2017-08-23 16:15:25 +02:00
|
|
|
pkgname=('python2-flask-compress' 'python-flask-compress')
|
|
|
|
pkgbase='python2-flask-compress'
|
2017-01-05 11:37:24 +01:00
|
|
|
pkgver='1.4.0'
|
2015-10-09 14:50:50 +02:00
|
|
|
pkgrel='1'
|
|
|
|
pkgdesc='custom actions for flask to help manage your application'
|
|
|
|
arch=('any')
|
|
|
|
url='http://pypi.python.org/pypi/Flask-Compress/'
|
|
|
|
license=('BSD')
|
2016-09-22 10:10:07 +02:00
|
|
|
source=("https://pypi.io/packages/source/${_pythonmod:0:1}/${_pythonmod}/${_pythonmod}-$pkgver.tar.gz")
|
2017-01-05 11:37:24 +01:00
|
|
|
sha1sums=('68b5eb124b02993c9466dfb2438e0ba79d2d5809')
|
2015-10-09 14:50:50 +02:00
|
|
|
|
2017-08-23 16:15:25 +02:00
|
|
|
package_python2-flask-compress() {
|
|
|
|
depends=('python2-flask')
|
|
|
|
makedepends=('python2-setuptools')
|
2015-10-09 14:50:50 +02:00
|
|
|
cd "Flask-Compress-${pkgver}"
|
2017-08-23 16:15:25 +02:00
|
|
|
python2 ./setup.py install --root="${pkgdir}" --prefix="/usr"
|
2015-10-09 14:50:50 +02:00
|
|
|
}
|
|
|
|
|
2017-08-23 16:15:25 +02:00
|
|
|
package_python-flask-compress() {
|
|
|
|
depends=('python-flask')
|
|
|
|
makedepends=('python-setuptools')
|
2015-10-09 14:50:50 +02:00
|
|
|
cd "Flask-Compress-${pkgver}"
|
2017-08-23 16:15:25 +02:00
|
|
|
python ./setup.py install --root="${pkgdir}" --prefix="/usr"
|
2015-10-09 14:50:50 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
# vim:set ts=2 sw=2 et:
|