upgpkg: python2-flask-compress 1.4.0-1
correct split PKGBUILD
This commit is contained in:
parent
4ae5706c07
commit
ad16af76f7
2 changed files with 5 additions and 2 deletions
|
@ -5,6 +5,10 @@ pkgbase = python2-flask-compress
|
||||||
url = http://pypi.python.org/pypi/Flask-Compress/
|
url = http://pypi.python.org/pypi/Flask-Compress/
|
||||||
arch = any
|
arch = any
|
||||||
license = BSD
|
license = BSD
|
||||||
|
makedepends = python-setuptools
|
||||||
|
makedepends = python-flask
|
||||||
|
makedepends = python2-setuptools
|
||||||
|
makedepends = python2-flask
|
||||||
source = https://pypi.io/packages/source/F/Flask-Compress/Flask-Compress-1.4.0.tar.gz
|
source = https://pypi.io/packages/source/F/Flask-Compress/Flask-Compress-1.4.0.tar.gz
|
||||||
sha1sums = 68b5eb124b02993c9466dfb2438e0ba79d2d5809
|
sha1sums = 68b5eb124b02993c9466dfb2438e0ba79d2d5809
|
||||||
|
|
||||||
|
|
|
@ -8,19 +8,18 @@ pkgdesc='compress responses in your Flask app with gzip'
|
||||||
arch=('any')
|
arch=('any')
|
||||||
url='http://pypi.python.org/pypi/Flask-Compress/'
|
url='http://pypi.python.org/pypi/Flask-Compress/'
|
||||||
license=('BSD')
|
license=('BSD')
|
||||||
|
makedepends=('python-setuptools' 'python-flask' 'python2-setuptools' 'python2-flask')
|
||||||
source=("https://pypi.io/packages/source/${_pythonmod:0:1}/${_pythonmod}/${_pythonmod}-$pkgver.tar.gz")
|
source=("https://pypi.io/packages/source/${_pythonmod:0:1}/${_pythonmod}/${_pythonmod}-$pkgver.tar.gz")
|
||||||
sha1sums=('68b5eb124b02993c9466dfb2438e0ba79d2d5809')
|
sha1sums=('68b5eb124b02993c9466dfb2438e0ba79d2d5809')
|
||||||
|
|
||||||
package_python2-flask-compress() {
|
package_python2-flask-compress() {
|
||||||
depends=('python2-flask')
|
depends=('python2-flask')
|
||||||
makedepends=('python2-setuptools')
|
|
||||||
cd "Flask-Compress-${pkgver}"
|
cd "Flask-Compress-${pkgver}"
|
||||||
python2 ./setup.py install --root="${pkgdir}" --prefix="/usr"
|
python2 ./setup.py install --root="${pkgdir}" --prefix="/usr"
|
||||||
}
|
}
|
||||||
|
|
||||||
package_python-flask-compress() {
|
package_python-flask-compress() {
|
||||||
depends=('python-flask')
|
depends=('python-flask')
|
||||||
makedepends=('python-setuptools')
|
|
||||||
cd "Flask-Compress-${pkgver}"
|
cd "Flask-Compress-${pkgver}"
|
||||||
python ./setup.py install --root="${pkgdir}" --prefix="/usr"
|
python ./setup.py install --root="${pkgdir}" --prefix="/usr"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue