[arch-commits] Commit in python2-flask/repos (2 files)

Ángel Velásquez angvp at nymeria.archlinux.org
Mon Aug 19 09:59:43 UTC 2013


    Date: Monday, August 19, 2013 @ 11:59:43
  Author: angvp
Revision: 96001

archrelease: copy trunk to community-testing-any

Added:
  python2-flask/repos/community-testing-any/
  python2-flask/repos/community-testing-any/PKGBUILD
    (from rev 96000, python2-flask/trunk/PKGBUILD)

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

Copied: python2-flask/repos/community-testing-any/PKGBUILD (from rev 96000, python2-flask/trunk/PKGBUILD)
===================================================================
--- community-testing-any/PKGBUILD	                        (rev 0)
+++ community-testing-any/PKGBUILD	2013-08-19 09:59:43 UTC (rev 96001)
@@ -0,0 +1,36 @@
+# $Id$
+# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
+# Contributor: Thomas Dziedzic < gostrc at gmail >
+# Contributor: Tarmo Heiskanen <turskii at gmail.com>
+
+pkgname=python2-flask
+pkgver=0.10.1
+pkgrel=3
+pkgdesc='Micro webdevelopment framework for Python'
+url='http://flask.pocoo.org/'
+arch=('any')
+license=('custom:BSD')
+depends=('python2-werkzeug' 'python2-jinja' 'python2-itsdangerous')
+makedepends=('python2-setuptools')
+source=("http://pypi.python.org/packages/source/F/Flask/Flask-${pkgver}.tar.gz")
+md5sums=('378670fe456957eb3c27ddaef60b2b24')
+
+build() {
+  cd Flask-${pkgver}
+
+  python2 setup.py build
+}
+
+check() {
+  cd Flask-${pkgver}
+
+  python2 setup.py test
+}
+
+package() {
+  cd Flask-${pkgver}
+
+  python2 setup.py install --root=${pkgdir} --optimize=1
+
+  install -Dm644 LICENSE ${pkgdir}/usr/share/licenses/python2-flask
+}




More information about the arch-commits mailing list