[arch-commits] Commit in python-flask/repos/community-any (PKGBUILD PKGBUILD)
Sven-Hendrik Haase
svenstaro at archlinux.org
Tue May 1 09:52:53 UTC 2018
Date: Tuesday, May 1, 2018 @ 09:52:52
Author: svenstaro
Revision: 318577
archrelease: copy trunk to community-any
Added:
python-flask/repos/community-any/PKGBUILD
(from rev 318576, python-flask/trunk/PKGBUILD)
Deleted:
python-flask/repos/community-any/PKGBUILD
----------+
PKGBUILD | 114 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 57 insertions(+), 57 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-05-01 09:52:43 UTC (rev 318576)
+++ PKGBUILD 2018-05-01 09:52:52 UTC (rev 318577)
@@ -1,57 +0,0 @@
-# $Id$
-# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
-# Contributor: Alexander Rødseth <rodseth at gmail.com>
-# Contributor: Thomas Dziedzic < gostrc at gmail >
-# Contributor: Tarmo Heiskanen <turskii at gmail.com>
-
-pkgbase=python-flask
-pkgname=('python-flask' 'python2-flask')
-pkgver=1.0
-pkgrel=1
-pkgdesc='Micro webdevelopment framework for Python'
-url='http://flask.pocoo.org/'
-arch=('any')
-license=('custom:BSD')
-makedepends=('python-setuptools' 'python2-setuptools')
-source=("https://github.com/pallets/flask/archive/${pkgver}.tar.gz")
-sha512sums=('6841aecf973e6601efb616f05979728d50566c8351df78b5961b95a771dc498211604a51c8d36dbd2b9b27a07ef0abf7cd6203e93d95632262a916c4c8d68acf')
-
-prepare() {
- cp -r "flask-$pkgver" "python-flask-$pkgver"
- cp -r "flask-$pkgver" "python2-flask-$pkgver"
-}
-
-buildk() {
- cd "$srcdir/python-flask-$pkgver"
- python setup.py build
-
- cd "$srcdir/python2-flask-$pkgver"
- python setup.py build
-}
-
-check() {
- cd "$srcdir/python-flask-$pkgver"
- python setup.py test
-
- cd "$srcdir/python2-flask-$pkgver"
- python2 setup.py test
-}
-
-package_python-flask() {
- depends=('python-werkzeug' 'python-jinja' 'python-itsdangerous' 'python-click')
- cd "$srcdir/python-flask-$pkgver"
-
- python setup.py install --prefix=/usr --root="$pkgdir" --optimize=1
- install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-}
-
-package_python2-flask() {
- depends=('python2-werkzeug' 'python2-jinja' 'python2-itsdangerous' 'python2-click')
- cd "$srcdir/python2-flask-$pkgver"
-
- python2 setup.py install --root="$pkgdir" --optimize=1
- mv "$pkgdir"/usr/bin/flask "$pkgdir"/usr/bin/flask2
- install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-}
-
-# vim:set ts=2 sw=2 et:
Copied: python-flask/repos/community-any/PKGBUILD (from rev 318576, python-flask/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-05-01 09:52:52 UTC (rev 318577)
@@ -0,0 +1,57 @@
+# $Id$
+# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
+# Contributor: Alexander Rødseth <rodseth at gmail.com>
+# Contributor: Thomas Dziedzic < gostrc at gmail >
+# Contributor: Tarmo Heiskanen <turskii at gmail.com>
+
+pkgbase=python-flask
+pkgname=('python-flask' 'python2-flask')
+pkgver=1.0.1
+pkgrel=1
+pkgdesc='Micro webdevelopment framework for Python'
+url='http://flask.pocoo.org/'
+arch=('any')
+license=('custom:BSD')
+makedepends=('python-setuptools' 'python2-setuptools')
+source=("https://github.com/pallets/flask/archive/${pkgver}.tar.gz")
+sha512sums=('f5be813d4eb5440194d8f953d901fa471d3a60d69deb031150f4d92e1918850c136257a39884f69cb53a3f92a07b4eac52641afaf7695b597c3dc002b79c9c5b')
+
+prepare() {
+ cp -r "flask-$pkgver" "python-flask-$pkgver"
+ cp -r "flask-$pkgver" "python2-flask-$pkgver"
+}
+
+buildk() {
+ cd "$srcdir/python-flask-$pkgver"
+ python setup.py build
+
+ cd "$srcdir/python2-flask-$pkgver"
+ python setup.py build
+}
+
+check() {
+ cd "$srcdir/python-flask-$pkgver"
+ python setup.py test
+
+ cd "$srcdir/python2-flask-$pkgver"
+ python2 setup.py test
+}
+
+package_python-flask() {
+ depends=('python-werkzeug' 'python-jinja' 'python-itsdangerous' 'python-click')
+ cd "$srcdir/python-flask-$pkgver"
+
+ python setup.py install --prefix=/usr --root="$pkgdir" --optimize=1
+ install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+package_python2-flask() {
+ depends=('python2-werkzeug' 'python2-jinja' 'python2-itsdangerous' 'python2-click')
+ cd "$srcdir/python2-flask-$pkgver"
+
+ python2 setup.py install --root="$pkgdir" --optimize=1
+ mv "$pkgdir"/usr/bin/flask "$pkgdir"/usr/bin/flask2
+ install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list