blob: 80fd669737387701435fea143c917337c54de6e0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
# PKGBUILD generated by pipman
# Python package author: Close Engineering <engineering@close.com>
pkgname=python-flask-gzip
pkgver=0.2
pkgrel=1
pkgdesc="Compress responses in your Flask app with gzip."
arch=(any)
url="https://github.com/closeio/flask-gzip"
license=(BSD)
makedepends=("python" "python-pip")
build() {
pip install --no-deps --target="flask-gzip" flask-gzip==0.2
}
package() {
sitepackages=$(python -c "import site; print(site.getsitepackages()[0])")
mkdir -p $pkgdir/"$sitepackages"
cp -r $srcdir/flask-gzip/* $pkgdir/"$sitepackages"
}
|