Date: Thursday, April 13, 2023 @ 17:02:43
  Author: arojas
Revision: 1445901

archrelease: copy trunk to community-staging-any

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD    2023-04-13 17:02:30 UTC (rev 1445900)
+++ PKGBUILD    2023-04-13 17:02:43 UTC (rev 1445901)
@@ -1,44 +0,0 @@
-# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
-# Contributor: Serge Victor <[email protected]>
-
-_pyname=flask-wtf
-pkgname=python-flask-wtf
-pkgver=1.0.1
-pkgrel=2
-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' 'python-pallets-sphinx-themes'
-             'python-sphinxcontrib-log-cabinet' 'python-sphinx-issues')
-checkdepends=('python-flask-babel' 'python-tox')
-options=('!makeflags')
-source=(${pkgname}-${pkgver}.tar.gz::https://github.com/wtforms/flask-wtf/archive/v${pkgver}.tar.gz)
-sha512sums=('75774e230b913551c9a21065951f867e0c2ea5e6dcff248a7473045fe6fd67c548de0dd5d4432c2521d22d313e8bd4a465b69bd29d295da4b1d43a8989b41bae')
-
-prepare() {
-  cd ${_pyname}-${pkgver}
-  sed -i "s/^release, version =/& '${pkgver}', '${pkgver%.*}.x' #/" 
docs/conf.py
-}
-
-build() {
-  cd ${_pyname}-${pkgver}
-  make -C docs man text SPHINXBUILD=sphinx-build
-}
-
-check() {
-  cd ${_pyname}-${pkgver}
-  tox -e py310
-}
-
-package() {
-  cd ${_pyname}-${pkgver}
-  python setup.py install --root="${pkgdir}" -O1
-  install -Dm 644 LICENSE.rst -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-staging-any/PKGBUILD (from rev 
1445900, python-flask-wtf/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2023-04-13 17:02:43 UTC (rev 1445901)
@@ -0,0 +1,45 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor: Serge Victor <[email protected]>
+
+_pyname=flask-wtf
+pkgname=python-flask-wtf
+pkgver=1.1.1
+pkgrel=2
+pkgdesc='Simple integration of Flask and WTForms'
+url='https://flask-wtf.readthedocs.io/'
+arch=('any')
+license=('BSD')
+depends=('python-flask' 'python-wtforms' 'python-werkzeug' 
'python-flask-babel')
+makedepends=('python-setuptools' 'python-sphinx' 'python-pallets-sphinx-themes'
+             'python-sphinxcontrib-log-cabinet' 'python-sphinx-issues')
+checkdepends=('python-tox')
+options=('!makeflags')
+source=(${pkgname}-${pkgver}.tar.gz::https://github.com/wtforms/flask-wtf/archive/v${pkgver}.tar.gz)
+sha512sums=('4e893ac29051d7c0793f47b8d046b2402902d832a4164408221369d65c170c5c6a16b0d2c7d78e166e82e7fc665118df8c3f1ee51503afaabc053ba236c1f178')
+
+prepare() {
+  cd ${_pyname}-${pkgver}
+  sed -i "s/^release, version =/& '${pkgver}', '${pkgver%.*}.x' #/" 
docs/conf.py
+}
+
+build() {
+  cd ${_pyname}-${pkgver}
+  make -C docs man text SPHINXBUILD=sphinx-build
+}
+
+check() {
+  cd ${_pyname}-${pkgver}
+  local python_version=$(python -c 'import sys; print("".join(map(str, 
sys.version_info[:2])))')
+  tox -e py${python_version}
+}
+
+package() {
+  cd ${_pyname}-${pkgver}
+  python setup.py install --root="${pkgdir}" -O1
+  install -Dm 644 LICENSE.rst -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:

Reply via email to