[arch-commits] Commit in python-flask/repos/community-any (PKGBUILD PKGBUILD)
Sven-Hendrik Haase
svenstaro at archlinux.org
Mon May 30 06:00:07 UTC 2016
Date: Monday, May 30, 2016 @ 08:00:07
Author: svenstaro
Revision: 177454
archrelease: copy trunk to community-any
Added:
python-flask/repos/community-any/PKGBUILD
(from rev 177453, python-flask/trunk/PKGBUILD)
Deleted:
python-flask/repos/community-any/PKGBUILD
----------+
PKGBUILD | 119 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 60 insertions(+), 59 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2016-05-30 06:00:02 UTC (rev 177453)
+++ PKGBUILD 2016-05-30 06:00:07 UTC (rev 177454)
@@ -1,59 +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>
-
-pkgname=('python-flask' 'python2-flask')
-pkgver=0.10.1
-pkgrel=6
-pkgdesc='Micro webdevelopment framework for Python'
-url='http://flask.pocoo.org/'
-arch=('any')
-license=('custom:BSD')
-makedepends=('python-setuptools' 'python2-setuptools')
-source=("http://pypi.python.org/packages/source/F/Flask/Flask-$pkgver.tar.gz")
-sha256sums=('4c83829ff83d408b5e1d4995472265411d2c414112298f2eb4b359d9e4563373')
-
-prepare() {
- cp -r "Flask-$pkgver" "python-flask-$pkgver"
- cp -r "Flask-$pkgver" "python2-flask-$pkgver"
-}
-
-build_python-flask() {
- cd "$pkgname-$pkgver"
-
- python setup.py build
-}
-
-build_python2-flask() {
- cd "$pkgname-$pkgver"
-
- python setup.py build
-}
-
-check_python-flask() {
- cd "$pkgname-$pkgver"
- python setup.py test
-
- cd "$pkgname-$pkgver"
- python2 setup.py test
-}
-
-package_python-flask() {
- depends=('python-werkzeug' 'python-jinja' 'python-itsdangerous')
- cd "$pkgname-$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')
- cd "$pkgname-$pkgver"
-
- python2 setup.py install --root="$pkgdir" --optimize=1
- 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 177453, python-flask/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2016-05-30 06:00:07 UTC (rev 177454)
@@ -0,0 +1,60 @@
+# $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>
+
+pkgname=('python-flask' 'python2-flask')
+pkgver=0.11
+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")
+sha256sums=('c222c4507f8120201767c30189f99092d9f81c10013b7b1888fc838e5d0d3c16')
+
+prepare() {
+ cp -r "flask-$pkgver" "python-flask-$pkgver"
+ cp -r "flask-$pkgver" "python2-flask-$pkgver"
+}
+
+build_python-flask() {
+ cd "$pkgname-$pkgver"
+
+ python setup.py build
+}
+
+build_python2-flask() {
+ cd "$pkgname-$pkgver"
+
+ python setup.py build
+}
+
+check_python-flask() {
+ cd "$pkgname-$pkgver"
+ python setup.py test
+
+ cd "$pkgname-$pkgver"
+ python2 setup.py test
+}
+
+package_python-flask() {
+ depends=('python-werkzeug' 'python-jinja' 'python-itsdangerous')
+ cd "$pkgname-$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')
+ cd "$pkgname-$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