diff options
author | Fabian Affolter <fabian@affolter-engineering.ch> | 2013-09-14 09:48:00 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2013-09-17 15:01:27 +0000 |
commit | 8eb707df04d36436823ec57d93709730f48f821c (patch) | |
tree | 575f66d38977c48dd704158cf7ffd73017419a9f /testing/py-flask-mobility | |
parent | 0de03340478f9ac8d45f71c3c0d540ff35478abe (diff) | |
download | aports-8eb707df04d36436823ec57d93709730f48f821c.tar.bz2 aports-8eb707df04d36436823ec57d93709730f48f821c.tar.xz |
testing/py-flask-mobility: new aport
Flask mobile-friendly sites extension
https://pypi.python.org/pypi/Flask-Mobility
Diffstat (limited to 'testing/py-flask-mobility')
-rw-r--r-- | testing/py-flask-mobility/APKBUILD | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/testing/py-flask-mobility/APKBUILD b/testing/py-flask-mobility/APKBUILD new file mode 100644 index 0000000000..d296045890 --- /dev/null +++ b/testing/py-flask-mobility/APKBUILD @@ -0,0 +1,41 @@ +# Contributor: Fabian Affolter <fabian@affolter-engineering.ch> +# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch> +pkgname=py-flask-mobility +_pkgname=Flask-Mobility +pkgver=0.1.1 +pkgrel=0 +pkgdesc="Flask mobile-friendly sites extension" +url="https://pypi.python.org/pypi/Flask-Mobility" +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="1c50b98784815daa7dea2420095a7cc7 Flask-Mobility-0.1.1.tar.gz" +sha256sums="5c5c93ec3ab38a9a05f7f881d677c6c9867519ee3d9227f057a94835ab32d153 Flask-Mobility-0.1.1.tar.gz" +sha512sums="8a7d7185d39d8c84697f731c312c530e40452ae4b8e8bc14c5defd3a8cddb437c7def723e93f2282acc78c54686b801f898e6eb16e0acf5e96cdaea001808ff8 Flask-Mobility-0.1.1.tar.gz" |