diff options
author | Roberto Oliveira <robertoguimaraes8@gmail.com> | 2018-06-12 14:55:30 +0000 |
---|---|---|
committer | Roberto Oliveira <robertoguimaraes8@gmail.com> | 2018-06-12 14:57:36 +0000 |
commit | f6df643f0768dfe1f1f72121e6cd0b24171f247b (patch) | |
tree | 8bfd8e5b00af308d0673b583fefa610925f1ffa8 /testing/py-bottle-werkzeug | |
parent | cf657bf09d01bc67e66fb39ce8ebec1ca93cbec1 (diff) | |
download | aports-f6df643f0768dfe1f1f72121e6cd0b24171f247b.tar.bz2 aports-f6df643f0768dfe1f1f72121e6cd0b24171f247b.tar.xz |
testing/py-bottle-werkzeug: upgrade to 0.1.1 and modernize
Diffstat (limited to 'testing/py-bottle-werkzeug')
-rw-r--r-- | testing/py-bottle-werkzeug/APKBUILD | 28 |
1 files changed, 8 insertions, 20 deletions
diff --git a/testing/py-bottle-werkzeug/APKBUILD b/testing/py-bottle-werkzeug/APKBUILD index b567889998..0b0056a37c 100644 --- a/testing/py-bottle-werkzeug/APKBUILD +++ b/testing/py-bottle-werkzeug/APKBUILD @@ -2,7 +2,7 @@ # Maintainer: Fabian Affolter <fabian@affolter-engineering.ch> pkgname=py-bottle-werkzeug _pkgname=bottle-werkzeug -pkgver=0.1 +pkgver=0.1.1 pkgrel=0 pkgdesc="Bottle werkzeug plugin" url="https://pypi.python.org/pypi/bottle-werkzeug" @@ -11,31 +11,19 @@ license="MIT" depends="python2 py-bottle py-werkzeug" depends_dev="" makedepends="python2-dev py-setuptools" -install="" -subpackages="" +options="!check" 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 -} +builddir="$srcdir/$_pkgname-$pkgver" build() { - cd "$_builddir" - python2 setup.py build || return 1 + cd "$builddir" + python2 setup.py build } package() { - cd "$_builddir" - python2 setup.py install --prefix=/usr --root="$pkgdir" || return 1 + cd "$builddir" + python2 setup.py install --prefix=/usr --root="$pkgdir" } -md5sums="b8d63aa1d562d66a82d8cb22c768366a bottle-werkzeug-0.1.tar.gz" -sha256sums="98093936e8d3734b5c4218a87b6137bee645e365f55e1580663090e844a597f2 bottle-werkzeug-0.1.tar.gz" -sha512sums="7f578a3daec101588c82d0a991bc2a916fa6920a98bddceedde371adef68baa1b6d9195efd87a44418101916068630e6b54f24499afbe32551103601cfe53701 bottle-werkzeug-0.1.tar.gz" +sha512sums="13fce3be73caa42c8cbdf437799c1fdb32a6e1ea513055ce9cd53788cea318a6d990b0975b39bcbad3b6fb2994d17d29651603687f59604e81508e61b3b0319a bottle-werkzeug-0.1.1.tar.gz" |