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

Antonio Rojas arojas at archlinux.org
Fri Jul 6 16:57:56 UTC 2018


    Date: Friday, July 6, 2018 @ 16:57:55
  Author: arojas
Revision: 353903

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |   83 +++++++++++++++++++++++++++----------------------------------
 1 file changed, 37 insertions(+), 46 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-07-06 16:57:51 UTC (rev 353902)
+++ PKGBUILD	2018-07-06 16:57:55 UTC (rev 353903)
@@ -1,46 +0,0 @@
-# $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.6
-pkgrel=4
-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.io/packages/source/${_pipname:0:1}/$_pipname/$_pipname-$pkgver.tar.gz"
-        autoindex-flask-1.0.patch::"https://github.com/sublee/flask-autoindex/commit/bb842705.patch")
-sha256sums=('1a3b1fd9258769ddcbdd3e7abf161811576457b6dcc4e994970e671b560561a5'
-            '4c110833e611b794b8b32bac4df9e11efa10ff8634965f9c9d56abaf71754a2e')
-
-prepare() {
-  cd $_pipname-$pkgver
-    patch -p1 -i ../autoindex-flask-1.0.patch # Fix imports removed in flask 1.0
-  cd ..
-  cp -R $_pipname-$pkgver python2-$_pipname-$pkgver
-}
-
-package_python2-flask-autoindex() {
-  depends=(python2-flask-silk python2-future)
-  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
-
-# Fix conflict with python-flask-autoindex
-  mv "$pkgdir"/usr/bin/fai{,2}
-}
-
-package_python-flask-autoindex() {
-  depends=(python-flask-silk python-future)
-  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
-}

Copied: python-flask-autoindex/repos/community-any/PKGBUILD (from rev 353902, python-flask-autoindex/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-07-06 16:57:55 UTC (rev 353903)
@@ -0,0 +1,37 @@
+# $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.6.1
+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-setuptools python-setuptools)
+source=("https://pypi.io/packages/source/${_pipname:0:1}/$_pipname/$_pipname-$pkgver.tar.gz")
+sha256sums=('a789e4033b984b8240690b80e055d7dd4f04785c5fe9431c31b2c27180d2076d')
+
+package_python2-flask-autoindex() {
+  depends=(python2-flask-silk python2-future)
+  cd $_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
+
+# Fix conflict with python-flask-autoindex
+  mv "$pkgdir"/usr/bin/fai{,2}
+}
+
+package_python-flask-autoindex() {
+  depends=(python-flask-silk python-future)
+  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