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

Sven-Hendrik Haase svenstaro at archlinux.org
Wed Feb 12 13:21:36 UTC 2020


    Date: Wednesday, February 12, 2020 @ 13:21:36
  Author: svenstaro
Revision: 569323

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |   88 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 44 insertions(+), 44 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-02-12 13:21:29 UTC (rev 569322)
+++ PKGBUILD	2020-02-12 13:21:36 UTC (rev 569323)
@@ -1,44 +0,0 @@
-# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
-# Contributor: Serge Victor <arch at random.re>
-
-_pyname=flask-wtf
-pkgname=python-flask-wtf
-pkgver=0.14.2
-pkgrel=5
-pkgdesc='Simple integration of Flask and WTForms'
-url='https://flask-wtf.readthedocs.io/'
-arch=('any')
-license=('BSD')
-depends=('python-flask' 'python-wtforms' 'python-werkzeug')
-makedepends=('python-setuptools' 'python-sphinx')
-checkdepends=('python-flask-babel' 'python-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
-}
-
-build() {
-  cd ${_pyname}-${pkgver}
-  make -C docs man text SPHINXBUILD=sphinx-build
-}
-
-check() {
-  cd ${_pyname}-${pkgver}
-  nosetests
-}
-
-package() {
-  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"
-}
-
-# vim: ts=2 sw=2 et:

Copied: python-flask-wtf/repos/community-any/PKGBUILD (from rev 569322, python-flask-wtf/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-02-12 13:21:36 UTC (rev 569323)
@@ -0,0 +1,44 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor: Serge Victor <arch at random.re>
+
+_pyname=flask-wtf
+pkgname=python-flask-wtf
+pkgver=0.14.3
+pkgrel=1
+pkgdesc='Simple integration of Flask and WTForms'
+url='https://flask-wtf.readthedocs.io/'
+arch=('any')
+license=('BSD')
+depends=('python-flask' 'python-wtforms' 'python-werkzeug')
+makedepends=('python-setuptools' 'python-sphinx')
+checkdepends=('python-flask-babel' 'python-tox')
+options=('!makeflags')
+source=(${pkgname}-${pkgver}.tar.gz::https://github.com/lepture/flask-wtf/archive/${pkgver}.tar.gz)
+sha512sums=('f6d3c1e94647b33dbbc5ee9da86a749c879de4e43f98a58f43811393a5e05b5e6a1cc2546adc381ccdefeabafeb90cc75a00464491872465f9b60b641112e3c9')
+
+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
+}
+
+build() {
+  cd ${_pyname}-${pkgver}
+  make -C docs man text SPHINXBUILD=sphinx-build
+}
+
+check() {
+  cd ${_pyname}-${pkgver}
+  tox -e py38
+}
+
+package() {
+  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"
+}
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list