[arch-commits] Commit in (3 files)

Antonio Rojas arojas at archlinux.org
Sun Dec 21 15:38:33 UTC 2014


    Date: Sunday, December 21, 2014 @ 16:38:32
  Author: arojas
Revision: 124312

Sage notebook dependency

Added:
  python-flask-autoindex/
  python-flask-autoindex/trunk/
  python-flask-autoindex/trunk/PKGBUILD

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

Added: python-flask-autoindex/trunk/PKGBUILD
===================================================================
--- python-flask-autoindex/trunk/PKGBUILD	                        (rev 0)
+++ python-flask-autoindex/trunk/PKGBUILD	2014-12-21 15:38:32 UTC (rev 124312)
@@ -0,0 +1,40 @@
+# 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=1
+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-distribute' 'python2-flask' 'python-distribute' 'python-flask')
+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')
+
+    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')
+
+    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
+}
+


Property changes on: python-flask-autoindex/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property



More information about the arch-commits mailing list