[arch-commits] Commit in python-flask-autoindex/trunk (PKGBUILD)
Antonio Rojas
arojas at archlinux.org
Wed May 29 17:22:38 UTC 2019
Date: Wednesday, May 29, 2019 @ 17:22:38
Author: arojas
Revision: 474407
Update to 0.6.4
Modified:
python-flask-autoindex/trunk/PKGBUILD
----------+
PKGBUILD | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2019-05-29 16:52:22 UTC (rev 474406)
+++ PKGBUILD 2019-05-29 17:22:38 UTC (rev 474407)
@@ -1,10 +1,10 @@
# Maintainer: Antonio Rojas <arojas at archlinux.org>
# Maintainer: Moritz Lipp <mlq at pwmt.org>
-_pipname=Flask-AutoIndex
+_pipname=flask-autoindex
pkgbase=python-flask-autoindex
pkgname=(python2-flask-autoindex python-flask-autoindex)
-pkgver=0.6.2
+pkgver=0.6.4
pkgrel=1
pkgdesc="Flask-AutoIndex generates an index page for your Flask application automatically"
arch=(any)
@@ -11,8 +11,8 @@
url="https://packages.python.org/Flask-AutoIndex/"
license=(BSD)
makedepends=(python2-setuptools python-setuptools)
-source=("https://pypi.io/packages/source/${_pipname:0:1}/$_pipname/$_pipname-$pkgver.tar.gz")
-sha256sums=('af2cdb34eefe6edbf43ce19200880829e8c2df3598000e75dc63c9b7e3478706')
+source=($pkgbase-$pkgver.tar.gz::"https://github.com/general03/flask-autoindex/archive/v$pkgver.tar.gz")
+sha256sums=('44df9cc770d7fc30f8e90d77c468035329855b90aaff18bf4c2a7dc5fac63b77')
package_python2-flask-autoindex() {
depends=(python2-flask-silk python2-future)
@@ -20,7 +20,7 @@
python2 setup.py install --root="$pkgdir" --optimize=1
mkdir -p "$pkgdir"/usr/share/licenses/$pkgname
- install -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname
+ install -m644 LICENSE.md "$pkgdir"/usr/share/licenses/$pkgname
# Fix conflict with python-flask-autoindex
mv "$pkgdir"/usr/bin/fai{,2}
@@ -32,5 +32,5 @@
python setup.py install --root="$pkgdir" --optimize=1
mkdir -p "$pkgdir"/usr/share/licenses/$pkgname
- install -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname
+ install -m644 LICENSE.md "$pkgdir"/usr/share/licenses/$pkgname
}
More information about the arch-commits
mailing list