Add 'python2-flask-compress/' from commit 'e8397688913bad858b95e1640b144f699b29b262'
git-subtree-dir: python2-flask-compress git-subtree-mainline:1b911403c4
git-subtree-split:e839768891
This commit is contained in:
commit
c383231145
2 changed files with 44 additions and 0 deletions
16
python2-flask-compress/.SRCINFO
Normal file
16
python2-flask-compress/.SRCINFO
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
pkgbase = python2-flask-compress
|
||||||
|
pkgdesc = compress responses in your Flask app with gzip
|
||||||
|
pkgver = 1.4.0
|
||||||
|
pkgrel = 1
|
||||||
|
url = http://pypi.python.org/pypi/Flask-Compress/
|
||||||
|
arch = any
|
||||||
|
license = BSD
|
||||||
|
source = https://pypi.io/packages/source/F/Flask-Compress/Flask-Compress-1.4.0.tar.gz
|
||||||
|
sha1sums = 68b5eb124b02993c9466dfb2438e0ba79d2d5809
|
||||||
|
|
||||||
|
pkgname = python2-flask-compress
|
||||||
|
depends = python2-flask
|
||||||
|
|
||||||
|
pkgname = python-flask-compress
|
||||||
|
depends = python-flask
|
||||||
|
|
28
python2-flask-compress/PKGBUILD
Normal file
28
python2-flask-compress/PKGBUILD
Normal file
|
@ -0,0 +1,28 @@
|
||||||
|
# Maintainer: Cedric Girard <girard.cedric@gmail.com>
|
||||||
|
_pythonmod=Flask-Compress
|
||||||
|
pkgname=('python2-flask-compress' 'python-flask-compress')
|
||||||
|
pkgbase='python2-flask-compress'
|
||||||
|
pkgver='1.4.0'
|
||||||
|
pkgrel='1'
|
||||||
|
pkgdesc='compress responses in your Flask app with gzip'
|
||||||
|
arch=('any')
|
||||||
|
url='http://pypi.python.org/pypi/Flask-Compress/'
|
||||||
|
license=('BSD')
|
||||||
|
source=("https://pypi.io/packages/source/${_pythonmod:0:1}/${_pythonmod}/${_pythonmod}-$pkgver.tar.gz")
|
||||||
|
sha1sums=('68b5eb124b02993c9466dfb2438e0ba79d2d5809')
|
||||||
|
|
||||||
|
package_python2-flask-compress() {
|
||||||
|
depends=('python2-flask')
|
||||||
|
makedepends=('python2-setuptools')
|
||||||
|
cd "Flask-Compress-${pkgver}"
|
||||||
|
python2 ./setup.py install --root="${pkgdir}" --prefix="/usr"
|
||||||
|
}
|
||||||
|
|
||||||
|
package_python-flask-compress() {
|
||||||
|
depends=('python-flask')
|
||||||
|
makedepends=('python-setuptools')
|
||||||
|
cd "Flask-Compress-${pkgver}"
|
||||||
|
python ./setup.py install --root="${pkgdir}" --prefix="/usr"
|
||||||
|
}
|
||||||
|
|
||||||
|
# vim:set ts=2 sw=2 et:
|
Loading…
Reference in a new issue