user/py3-django-compression-middleware: new aport
This commit is contained in:
parent
12523ac1eb
commit
f466969928
1 changed files with 27 additions and 0 deletions
27
user/py3-django-compression-middleware/APKBUILD
Normal file
27
user/py3-django-compression-middleware/APKBUILD
Normal file
|
@ -0,0 +1,27 @@
|
|||
# Maintainer: Antoine Martin (ayakael) <dev@ayakael.net>
|
||||
# Contributor: Antoine Martin (ayakael) <dev@ayakael.net>
|
||||
|
||||
pkgname=py3-django-compression-middleware
|
||||
_pyname="django-compression-middleware"
|
||||
pkgver=0.5.0
|
||||
pkgrel=0
|
||||
arch="!armv7 noarch"
|
||||
pkgdesc="Django middleware to compress responses using several algorithms."
|
||||
url="https://pypi.python.org/project/$_pyname"
|
||||
license="MPL-2.0"
|
||||
depends='python3 py3-django'
|
||||
makedepends='py3-setuptools'
|
||||
options="!check" # No testsuite
|
||||
source="$pkgname-$pkgver.tar.gz::https://pypi.io/packages/source/${_pyname:0:1}/$_pyname/$_pyname-$pkgver.tar.gz"
|
||||
builddir="$srcdir"/$_pyname-$pkgver
|
||||
|
||||
build() {
|
||||
python3 setup.py build
|
||||
}
|
||||
|
||||
package() {
|
||||
python3 setup.py install --root="$pkgdir"/ --optimize=1 --skip-build
|
||||
}
|
||||
sha512sums="
|
||||
070e7f19daf4811188e12b657b0dd53069b851a9c5f315d44aec87b92ccdc4d053c0a64fede2a40702963f86286b3bbbebe69722ac1b720febf93d0870d2f50e py3-django-compression-middleware-0.5.0.tar.gz
|
||||
"
|
Loading…
Reference in a new issue