[arch-commits] Commit in python-flask-wtf/repos/community-any (PKGBUILD PKGBUILD)

Levente Polyak anthraxx at archlinux.org
Fri Jan 13 12:32:32 UTC 2017


    Date: Friday, January 13, 2017 @ 12:32:31
  Author: anthraxx
Revision: 207202

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |  132 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 66 insertions(+), 66 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2017-01-13 12:32:24 UTC (rev 207201)
+++ PKGBUILD	2017-01-13 12:32:31 UTC (rev 207202)
@@ -1,66 +0,0 @@
-# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
-# Contributor: Serge Victor <arch at random.re>
-
-_pyname=flask-wtf
-pkgbase=python-flask-wtf
-pkgname=('python-flask-wtf' 'python2-flask-wtf')
-pkgver=0.14
-pkgrel=1
-pkgdesc='Simple integration of Flask and WTForms'
-url='https://flask-wtf.readthedocs.io/'
-arch=('any')
-license=('BSD')
-makedepends=('python-setuptools' 'python-sphinx' 'python-flask' 'python-wtforms' 'python-werkzeug'
-             'python2-setuptools' 'python2-sphinx' 'python2-flask' 'python2-wtforms' 'python2-werkzeug')
-checkdepends=('python-flask-babel' 'python-nose'
-              'python2-flask-babel' 'python2-nose')
-options=('!makeflags')
-source=(${pkgname}-${pkgver}.tar.gz::https://github.com/lepture/flask-wtf/archive/v${pkgver}.tar.gz)
-sha512sums=('dcb3aa6643aef8350da8bc6ae8c137631c3ec5d6c671365d3c7e3901e675762c9937502bffcbc062f6a928618a0716fa420687841216dfac657392a3adbeba6c')
-
-prepare() {
-  sed -r 's|dist = get_distribution|#|' -i ${_pyname}-${pkgver}/docs/conf.py
-  sed -r "s|(version =)|\\1 '${pkgver}'  #|" -i ${_pyname}-${pkgver}/docs/conf.py
-  sed -r "s|(release =)|\\1 '${pkgver}'  #|" -i ${_pyname}-${pkgver}/docs/conf.py
-  cp -a ${_pyname}-${pkgver}{,-py2}
-}
-
-build() {
-  (cd ${_pyname}-${pkgver}
-    make -C docs man text SPHINXBUILD=sphinx-build
-  )
-  (cd ${_pyname}-${pkgver}-py2
-    make -C docs man text SPHINXBUILD=sphinx-build2
-  )
-}
-
-check() {
-  (cd ${_pyname}-${pkgver}
-    nosetests
-  )
-  (cd ${_pyname}-${pkgver}-py2
-    nosetests2
-  )
-}
-
-package_python-flask-wtf() {
-  depends=('python-flask' 'python-wtforms' 'python-werkzeug')
-  cd ${_pyname}-${pkgver}
-  python setup.py install --root="${pkgdir}" -O1
-  install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
-  install -Dm 644 README.rst  -t "${pkgdir}/usr/share/doc/${pkgname}"
-  cp -r docs/_build/text "${pkgdir}/usr/share/doc/${pkgname}/text"
-  install -Dm 644 docs/_build/man/flask-wtf.1 "${pkgdir}/usr/share/man/man1/${pkgname}.1"
-}
-
-package_python2-flask-wtf() {
-  depends=('python2-flask' 'python2-wtforms' 'python2-werkzeug')
-  cd ${_pyname}-${pkgver}-py2
-  python2 setup.py install --root="${pkgdir}" -O1
-  install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
-  install -Dm 644 README.rst  -t "${pkgdir}/usr/share/doc/${pkgname}"
-  cp -r docs/_build/text "${pkgdir}/usr/share/doc/${pkgname}/text"
-  install -Dm 644 docs/_build/man/flask-wtf.1 "${pkgdir}/usr/share/man/man1/${pkgname}.1"
-}
-
-# vim: ts=2 sw=2 et:

Copied: python-flask-wtf/repos/community-any/PKGBUILD (from rev 207201, python-flask-wtf/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2017-01-13 12:32:31 UTC (rev 207202)
@@ -0,0 +1,66 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor: Serge Victor <arch at random.re>
+
+_pyname=flask-wtf
+pkgbase=python-flask-wtf
+pkgname=('python-flask-wtf' 'python2-flask-wtf')
+pkgver=0.14.2
+pkgrel=1
+pkgdesc='Simple integration of Flask and WTForms'
+url='https://flask-wtf.readthedocs.io/'
+arch=('any')
+license=('BSD')
+makedepends=('python-setuptools' 'python-sphinx' 'python-flask' 'python-wtforms' 'python-werkzeug'
+             'python2-setuptools' 'python2-sphinx' 'python2-flask' 'python2-wtforms' 'python2-werkzeug')
+checkdepends=('python-flask-babel' 'python-nose'
+              'python2-flask-babel' 'python2-nose')
+options=('!makeflags')
+source=(${pkgname}-${pkgver}.tar.gz::https://github.com/lepture/flask-wtf/archive/v${pkgver}.tar.gz)
+sha512sums=('b4b577d545f4b6b3c86288ec004455c0559c92582c1b8900e79c2b2beff98f86e4b20a0fbb3bc52f6711375f5097491cac4cc9f33a97f6caa2fd26376ece9ceb')
+
+prepare() {
+  sed -r 's|dist = get_distribution|#|' -i ${_pyname}-${pkgver}/docs/conf.py
+  sed -r "s|(version =)|\\1 '${pkgver}'  #|" -i ${_pyname}-${pkgver}/docs/conf.py
+  sed -r "s|(release =)|\\1 '${pkgver}'  #|" -i ${_pyname}-${pkgver}/docs/conf.py
+  cp -a ${_pyname}-${pkgver}{,-py2}
+}
+
+build() {
+  (cd ${_pyname}-${pkgver}
+    make -C docs man text SPHINXBUILD=sphinx-build
+  )
+  (cd ${_pyname}-${pkgver}-py2
+    make -C docs man text SPHINXBUILD=sphinx-build2
+  )
+}
+
+check() {
+  (cd ${_pyname}-${pkgver}
+    nosetests
+  )
+  (cd ${_pyname}-${pkgver}-py2
+    nosetests2
+  )
+}
+
+package_python-flask-wtf() {
+  depends=('python-flask' 'python-wtforms' 'python-werkzeug')
+  cd ${_pyname}-${pkgver}
+  python setup.py install --root="${pkgdir}" -O1
+  install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
+  install -Dm 644 README.rst  -t "${pkgdir}/usr/share/doc/${pkgname}"
+  cp -r docs/_build/text "${pkgdir}/usr/share/doc/${pkgname}/text"
+  install -Dm 644 docs/_build/man/flask-wtf.1 "${pkgdir}/usr/share/man/man1/${pkgname}.1"
+}
+
+package_python2-flask-wtf() {
+  depends=('python2-flask' 'python2-wtforms' 'python2-werkzeug')
+  cd ${_pyname}-${pkgver}-py2
+  python2 setup.py install --root="${pkgdir}" -O1
+  install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
+  install -Dm 644 README.rst  -t "${pkgdir}/usr/share/doc/${pkgname}"
+  cp -r docs/_build/text "${pkgdir}/usr/share/doc/${pkgname}/text"
+  install -Dm 644 docs/_build/man/flask-wtf.1 "${pkgdir}/usr/share/man/man1/${pkgname}.1"
+}
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list