[arch-commits] Commit in python-wtforms/repos/community-any (PKGBUILD PKGBUILD)
Levente Polyak
anthraxx at gemini.archlinux.org
Tue Mar 8 21:41:17 UTC 2022
Date: Tuesday, March 8, 2022 @ 21:41:17
Author: anthraxx
Revision: 1145588
archrelease: copy trunk to community-any
Added:
python-wtforms/repos/community-any/PKGBUILD
(from rev 1145587, python-wtforms/trunk/PKGBUILD)
Deleted:
python-wtforms/repos/community-any/PKGBUILD
----------+
PKGBUILD | 78 +++++++++++++++++++++++++++++++------------------------------
1 file changed, 40 insertions(+), 38 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-03-08 21:41:12 UTC (rev 1145587)
+++ PKGBUILD 2022-03-08 21:41:17 UTC (rev 1145588)
@@ -1,38 +0,0 @@
-# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
-# Contributor: nblock <nblock [/at\] archlinux DOT us>
-# Contributor: neithere <neithere at gmail>
-# Contributor: mitsuse <mitsuse at gmail>
-
-_pyname=wtforms
-pkgname=python-wtforms
-pkgver=2.3.3
-pkgrel=3
-pkgdesc='Flexible forms validation and rendering library for python web development'
-url='https://wtforms.readthedocs.io/'
-arch=('any')
-license=('BSD')
-depends=('python')
-makedepends=('python-setuptools' 'python-babel' 'python-sphinx'
- 'python-pallets-sphinx-themes' 'python-sphinx-issues'
- 'python-sphinxcontrib-log-cabinet')
-source=(https://github.com/wtforms/wtforms/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz)
-sha512sums=('f2b825a85f46a5eca2c8ecb7e0d1945e9697ad98c430b3043952eb5df87b77e180ac26aea0ad10c134438ef8f9d9c8d00ffc5b38a9fa413c6c95d43a681456a2')
-b2sums=('96a504e5a5334086372c81f3691edc0a598d3df9bb3eecce007daae1f445930e80aeea5c943e10500b2cba24ebff16e6e89ec31c9e6a1a33c5008297bbc1b064')
-
-build() {
- cd ${_pyname}-${pkgver}
- python setup.py compile_catalog build
- export PYTHONPATH=..
- make -C docs html SPHINXBUILD=sphinx-build
-}
-
-package() {
- cd ${_pyname}-${pkgver}
- python setup.py install --root="${pkgdir}" -O1
- find "$pkgdir" -type f -name \*.po -delete
- install -Dm 644 LICENSE.rst -t "${pkgdir}/usr/share/licenses/${pkgname}"
- install -Dm 644 CHANGES.rst README.rst -t "${pkgdir}/usr/share/doc/${pkgname}"
- cp -r docs/_build/html "${pkgdir}/usr/share/doc/${pkgname}/html"
-}
-
-# vim: ts=2 sw=2 et:
Copied: python-wtforms/repos/community-any/PKGBUILD (from rev 1145587, python-wtforms/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-03-08 21:41:17 UTC (rev 1145588)
@@ -0,0 +1,40 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor: nblock <nblock [/at\] archlinux DOT us>
+# Contributor: neithere <neithere at gmail>
+# Contributor: mitsuse <mitsuse at gmail>
+
+_pyname=wtforms
+pkgname=python-wtforms
+pkgver=3.0.1
+pkgrel=1
+pkgdesc='Flexible forms validation and rendering library for python web development'
+url='https://wtforms.readthedocs.io/'
+arch=('any')
+license=('BSD')
+depends=('python' 'python-markupsafe')
+makedepends=('python-setuptools' 'python-babel')
+checkdepends=('python-pytest' 'python-email-validator')
+optdepends=('python-email-validator: Email validation')
+source=(https://github.com/wtforms/wtforms/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz)
+sha512sums=('3e8b78026e3f0252113951aca20699477a753bdc0b0f7f01b934ddc8281ee89fc7a559ee519bc8501ff61dc7984b7ec3248d63ea57dd1c1b2c71d845a4479a49')
+b2sums=('57bd60cad3955a6097108c6f5bd151ee044812bd3830213a4c8470a168ef27d42336cb75341bdfa8a8b779faab318585f0760bd652115480b8441bf11c07c912')
+
+build() {
+ cd ${_pyname}-${pkgver}
+ python setup.py compile_catalog build
+}
+
+check() {
+ cd ${_pyname}-${pkgver}
+ PYTHONPATH="build/lib" pytest
+}
+
+package() {
+ cd ${_pyname}-${pkgver}
+ python setup.py install --root="${pkgdir}" -O1
+ find "$pkgdir" -type f -name \*.po -delete
+ install -Dm 644 LICENSE.rst -t "${pkgdir}/usr/share/licenses/${pkgname}"
+ install -Dm 644 CHANGES.rst README.rst -t "${pkgdir}/usr/share/doc/${pkgname}"
+}
+
+# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list