[arch-commits] Commit in python-flask-autoindex (3 files)
Antonio Rojas
arojas at archlinux.org
Sun Dec 21 15:39:03 UTC 2014
Date: Sunday, December 21, 2014 @ 16:39:03
Author: arojas
Revision: 124313
archrelease: copy trunk to community-any
Added:
python-flask-autoindex/repos/
python-flask-autoindex/repos/community-any/
python-flask-autoindex/repos/community-any/PKGBUILD
(from rev 124312, python-flask-autoindex/trunk/PKGBUILD)
----------+
PKGBUILD | 40 ++++++++++++++++++++++++++++++++++++++++
1 file changed, 40 insertions(+)
Copied: python-flask-autoindex/repos/community-any/PKGBUILD (from rev 124312, python-flask-autoindex/trunk/PKGBUILD)
===================================================================
--- repos/community-any/PKGBUILD (rev 0)
+++ repos/community-any/PKGBUILD 2014-12-21 15:39:03 UTC (rev 124313)
@@ -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
+}
+
More information about the arch-commits
mailing list