mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-06 05:47:13 +02:00
42 lines
1.2 KiB
Plaintext
42 lines
1.2 KiB
Plaintext
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
|
|
# Maintainer: Eivind Uggedal <eivind@uggedal.com>
|
|
pkgname=py-flask-script
|
|
_pkgname=Flask-Script
|
|
pkgver=2.0.5
|
|
pkgrel=0
|
|
pkgdesc="Flask scripting support"
|
|
url="https://pypi.python.org/pypi/Flask-Script"
|
|
arch="noarch"
|
|
license="BSD"
|
|
depends="python py-flask"
|
|
depends_dev=""
|
|
makedepends="python2-dev py-setuptools"
|
|
install=""
|
|
subpackages=""
|
|
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
|
|
|
|
_builddir="$srcdir"/$_pkgname-$pkgver
|
|
prepare() {
|
|
local i
|
|
cd "$_builddir"
|
|
for i in $source; do
|
|
case $i in
|
|
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
|
|
esac
|
|
done
|
|
}
|
|
|
|
build() {
|
|
cd "$_builddir"
|
|
python setup.py build || return 1
|
|
}
|
|
|
|
package() {
|
|
cd "$_builddir"
|
|
python setup.py install --prefix=/usr --root="$pkgdir" || return 1
|
|
}
|
|
|
|
md5sums="e5c73d3b7937f5b88942f342f9617029 Flask-Script-2.0.5.tar.gz"
|
|
sha256sums="cef76eac751396355429a14c38967bb14d4973c53e07dec94af5cc8fb017107f Flask-Script-2.0.5.tar.gz"
|
|
sha512sums="257b724c05dde79c99b028c7fa1980b700f273010de82fa9f1bb090b23519297d8bad87e436fa88a63feabfcd8908041d4a5ad9a673e08f4ed15e97310f16fbb Flask-Script-2.0.5.tar.gz"
|