[arch-commits] Commit in python-flask-wtf/repos/community-any (PKGBUILD PKGBUILD)
Antonio Rojas
arojas at gemini.archlinux.org
Tue Jul 19 20:56:23 UTC 2022
Date: Tuesday, July 19, 2022 @ 20:56:23
Author: arojas
Revision: 1254739
archrelease: copy trunk to community-any
Added:
python-flask-wtf/repos/community-any/PKGBUILD
(from rev 1254738, 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 2022-07-19 20:56:14 UTC (rev 1254738)
+++ PKGBUILD 2022-07-19 20:56:23 UTC (rev 1254739)
@@ -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=1.0.0
-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' '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=('eb9e2268954cef004faef32c98cf162daf3538bfa926ba181291eba655338755d449f2a6d436b13474e0fcb08d5736f18b1e326b1ce0b8ca502120c834c85867')
-
-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-any/PKGBUILD (from rev 1254738, python-flask-wtf/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-07-19 20:56:23 UTC (rev 1254739)
@@ -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=1.0.1
+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' '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:
More information about the arch-commits
mailing list