[arch-commits] Commit in python-flask-autoindex/repos (2 files)

Antonio Rojas arojas at archlinux.org
Sun Sep 20 10:14:35 UTC 2015


    Date: Sunday, September 20, 2015 @ 12:14:35
  Author: arojas
Revision: 141228

archrelease: copy trunk to community-staging-any

Added:
  python-flask-autoindex/repos/community-staging-any/
  python-flask-autoindex/repos/community-staging-any/PKGBUILD
    (from rev 141227, python-flask-autoindex/trunk/PKGBUILD)

----------+
 PKGBUILD |   40 ++++++++++++++++++++++++++++++++++++++++
 1 file changed, 40 insertions(+)

Copied: python-flask-autoindex/repos/community-staging-any/PKGBUILD (from rev 141227, python-flask-autoindex/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2015-09-20 10:14:35 UTC (rev 141228)
@@ -0,0 +1,40 @@
+# $Id$
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Maintainer: Moritz Lipp <mlq at pwmt.org>
+
+_pipname=Flask-AutoIndex
+pkgbase=python-flask-autoindex
+pkgname=(python2-flask-autoindex python-flask-autoindex)
+pkgver=0.5
+pkgrel=3
+pkgdesc="Flask-AutoIndex generates an index page for your Flask application automatically"
+arch=(any)
+url="http://packages.python.org/Flask-AutoIndex/"
+license=(BSD)
+makedepends=(python2-setuptools python-setuptools)
+source=("https://pypi.python.org/packages/source/${_pipname:0:1}/$_pipname/$_pipname-0.5.tar.gz")
+md5sums=('24984602365704737468bb4d2586a739')
+
+prepare() {
+    cp -R $_pipname-$pkgver python2-$_pipname-$pkgver
+}
+
+package_python2-flask-autoindex() {
+depends=(python2-flask-silk)
+
+    cd python2-$_pipname-$pkgver
+    python2 setup.py install --root="$pkgdir/" --optimize=1
+
+    mkdir -p "$pkgdir"/usr/share/licenses/$pkgname
+    install -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname
+}
+
+package_python-flask-autoindex() {
+depends=(python-flask-silk)
+
+    cd $_pipname-$pkgver 
+    python setup.py install --root="$pkgdir/" --optimize=1
+
+    mkdir -p "$pkgdir"/usr/share/licenses/$pkgname
+    install -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname
+}



More information about the arch-commits mailing list