diff options
| author | Leo <thinkabit.ukim@gmail.com> | 2019-09-08 14:08:47 -0300 |
|---|---|---|
| committer | Leo <thinkabit.ukim@gmail.com> | 2019-09-08 14:23:44 -0300 |
| commit | 997ea8ca959b2952fc1661e802929d10065e5fd7 (patch) | |
| tree | 78b3e71c8058bd16797f04ccd299ab3cdd4a4e9e /testing | |
| parent | 0f145a2fa2221c3851be2600fecd77224ec41020 (diff) | |
| download | aports-997ea8ca959b2952fc1661e802929d10065e5fd7.tar.bz2 aports-997ea8ca959b2952fc1661e802929d10065e5fd7.tar.xz | |
testing/py3-flask-autoindex: upgrade to 0.6.4
Diffstat (limited to 'testing')
| -rw-r--r-- | testing/py3-flask-autoindex/APKBUILD | 41 |
1 files changed, 14 insertions, 27 deletions
diff --git a/testing/py3-flask-autoindex/APKBUILD b/testing/py3-flask-autoindex/APKBUILD index 2c48c1937d..0e91a32d11 100644 --- a/testing/py3-flask-autoindex/APKBUILD +++ b/testing/py3-flask-autoindex/APKBUILD @@ -1,41 +1,28 @@ # Contributor: Fabian Affolter <fabian@affolter-engineering.ch> # Maintainer: Fabian Affolter <fabian@affolter-engineering.ch> -pkgname=py-flask-autoindex -_pkgname=Flask-AutoIndex -pkgver=0.5 +pkgname=py3-flask-autoindex +_pkgname=flask-autoindex +pkgver=0.6.4 pkgrel=0 pkgdesc="Flask autoindex" url="https://pypi.python.org/pypi/Flask-AutoIndex" arch="noarch" -license="BSD" -depends="python2 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" +license="MIT" +# Missing 'flask-silk' +depends="python3 py3-flask py3-future" +makedepends="py3-setuptools" +source="$pkgname-$pkgver.tar.gz::https://github.com/general03/flask-autoindex/archive/v$pkgver.tar.gz" +builddir="$srcdir"/$_pkgname-$pkgver -_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 -} +replaces="py-flask-autoindex" # Backwards compatibility +provides="py-flask-autoindex=$pkgver-r$pkgrel" # Backwards compatibility build() { - cd "$_builddir" - python2 setup.py build || return 1 + python3 setup.py build } package() { - cd "$_builddir" - python2 setup.py install --prefix=/usr --root="$pkgdir" || return 1 + python3 setup.py install --prefix=/usr --root="$pkgdir" } -md5sums="24984602365704737468bb4d2586a739 Flask-AutoIndex-0.5.tar.gz" -sha256sums="12904135a3092dfdbfc3eec0f573ec0cf483e46252e7e12fedff89407a9f2c75 Flask-AutoIndex-0.5.tar.gz" -sha512sums="715c27976f065aeee995adcbc6405a7eab2f197c69712181774e7474f04c3419358beb90663f7ec043cf3862d23daca7aa2add29f1708b26b21118444fe3caeb Flask-AutoIndex-0.5.tar.gz" +sha512sums="57888c2349c5dfbb2d567f92a377eaee7f011418cb8fcbf0bda8f063f1083ea5b436b52cb65ccf1b6f40c2db104b876e2da33a9d5a07b46d725a4579c4eaf2bd py3-flask-autoindex-0.6.4.tar.gz" |
