Antonio Rojas pushed to branch main at Arch Linux / Packaging / Packages /
python-flask-wtf
Commits:
7f268cca by Antonio Rojas at 2024-04-08T23:18:54+02:00
upgpkg: 1.2.1-2: Python 3.12 rebuild
- - - - -
2 changed files:
- .SRCINFO
- PKGBUILD
Changes:
=====================================
.SRCINFO
=====================================
@@ -1,11 +1,11 @@
pkgbase = python-flask-wtf
pkgdesc = Simple integration of Flask and WTForms
pkgver = 1.2.1
- pkgrel = 1
+ pkgrel = 2
url = https://flask-wtf.readthedocs.io/
arch = any
license = BSD
- checkdepends = python-tox
+ checkdepends = python-pytest
makedepends = python-build
makedepends = python-installer
makedepends = python-sphinx
=====================================
PKGBUILD
=====================================
@@ -4,7 +4,7 @@
_pyname=flask-wtf
pkgname=python-flask-wtf
pkgver=1.2.1
-pkgrel=1
+pkgrel=2
pkgdesc='Simple integration of Flask and WTForms'
url='https://flask-wtf.readthedocs.io/'
arch=('any')
@@ -12,7 +12,7 @@ license=('BSD')
depends=('python-flask' 'python-wtforms' 'python-werkzeug'
'python-flask-babel')
makedepends=('python-build' 'python-installer' 'python-sphinx'
'python-pallets-sphinx-themes'
'python-sphinxcontrib-log-cabinet' 'python-sphinx-issues'
'python-hatchling')
-checkdepends=('python-tox')
+checkdepends=('python-pytest')
options=('!makeflags')
source=(${pkgname}-${pkgver}.tar.gz::https://github.com/wtforms/flask-wtf/archive/v${pkgver}.tar.gz)
sha512sums=('07590fa757d92a9f0bf0afae9b726344ab79227a187ddbe62805e3b5b50f7bcad521772c884d342bf687d530a100fa4cb41c4989ebbd670955dbb950bf675501')
@@ -30,8 +30,9 @@ 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}
+ python -m venv --system-site-packages test-env
+ test-env/bin/python -m installer dist/*.whl
+ test-env/bin/python -m pytest -v
}
package() {
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/python-flask-wtf/-/commit/7f268cca99c2b4b4a614742656ae70cd39bc883a
--
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/python-flask-wtf/-/commit/7f268cca99c2b4b4a614742656ae70cd39bc883a
You're receiving this email because of your account on gitlab.archlinux.org.