diff options
author | Eivind Uggedal <eivind@uggedal.com> | 2014-06-26 06:15:57 +0000 |
---|---|---|
committer | Eivind Uggedal <eivind@uggedal.com> | 2014-06-26 06:15:57 +0000 |
commit | a8553b29065f5164e6a06bfdc55f9616e1c38c0b (patch) | |
tree | 7bd4025322380d3719d1373c54cdd3b0a748dc58 /main/py-flask-script | |
parent | cd7f277a5bcd364d22bb8225ed1db2499045d627 (diff) | |
download | aports-a8553b29065f5164e6a06bfdc55f9616e1c38c0b.tar.bz2 aports-a8553b29065f5164e6a06bfdc55f9616e1c38c0b.tar.xz |
main/py-flask-script: moved from testing and claim maintainership
Diffstat (limited to 'main/py-flask-script')
-rw-r--r-- | main/py-flask-script/APKBUILD | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/main/py-flask-script/APKBUILD b/main/py-flask-script/APKBUILD new file mode 100644 index 0000000000..d09f03a28d --- /dev/null +++ b/main/py-flask-script/APKBUILD @@ -0,0 +1,41 @@ +# 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="python-dev py-setuptools" +install="" +subpackages="" +source="http://pypi.python.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" |