FreeBSD Bugzilla – Attachment 247593 Details for
Bug 275931
textproc/py-wtforms: Update to 3.1.2
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Update to 3.1.2
0001-textproc-py-wtforms-Update-to-3.1.2.patch (text/plain), 5.17 KB, created by
Alastair Hogge
on 2024-01-11 13:25:50 UTC
(
hide
)
Description:
Update to 3.1.2
Filename:
MIME Type:
Creator:
Alastair Hogge
Created:
2024-01-11 13:25:50 UTC
Size:
5.17 KB
patch
obsolete
>From fc01c2a688d291c3ab8c68bbf7d92921c3edc63a Mon Sep 17 00:00:00 2001 >From: Alastair Hogge <agh@riseup.net> >Date: Thu, 11 Jan 2024 21:21:54 +0800 >Subject: [PATCH] textproc/py-wtforms: Update to 3.1.2 > >Update to 3.1.2: > >- Use ${DISTVERSION} over ${PORTVERSION} >- ${DISTNAME} is no longer needed >- Switch to Python PEP517 build >- Add EMAIL option for email validation in forms >- Build and install wtforms(1) man page (depends on Sphinx) >- Configure ${DOCS} build to use Sphinx for generating extensive > project documentation >- Switch to py-tox for do-test > >https://github.com/wtforms/wtforms/compare/2.1...3.1.2 > > PR 275931 >--- > textproc/py-wtforms/Makefile | 68 ++++++++++++++++++++++++++++-------- > textproc/py-wtforms/distinfo | 5 +-- > 2 files changed, 56 insertions(+), 17 deletions(-) > >diff --git a/textproc/py-wtforms/Makefile b/textproc/py-wtforms/Makefile >index 056167102bd8..4f89c98317da 100644 >--- a/textproc/py-wtforms/Makefile >+++ b/textproc/py-wtforms/Makefile >@@ -1,39 +1,77 @@ > PORTNAME= wtforms >-PORTVERSION= 2.1 >-PORTREVISION= 1 >+DISTVERSION= 3.1.2 > CATEGORIES= textproc python > MASTER_SITES= PYPI > PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} >-DISTNAME= WTForms-${DISTVERSION} > > MAINTAINER= rm@FreeBSD.org > COMMENT= Flexible forms validation and rendering library for python > WWW= http://wtforms.simplecodes.com/ > > LICENSE= BSD3CLAUSE >-LICENSE_FILE= ${WRKSRC}/LICENSE.txt >+LICENSE_FILE= ${WRKSRC}/LICENSE.rst > >-RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}Babel>0:devel/py-babel@${PY_FLAVOR} >+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}Babel>0:devel/py-babel@${PY_FLAVOR} \ >+ ${PYTHON_PKGNAMEPREFIX}dateutil>0:devel/py-dateutil@${PY_FLAVOR} \ >+ ${PYTHON_PKGNAMEPREFIX}hatchling>0:devel/py-hatchling@${PY_FLAVOR} \ >+ ${PYTHON_PKGNAMEPREFIX}markupsafe>0:textproc/py-markupsafe@${PY_FLAVOR} \ >+ ${PYTHON_PKGNAMEPREFIX}Pallets-Sphinx-Themes>0:textproc/py-pallets-sphinx-themes@${PY_FLAVOR} \ >+ ${PYTHON_PKGNAMEPREFIX}pip>0:devel/py-pip@${PY_FLAVOR} \ >+ ${PYTHON_PKGNAMEPREFIX}sphinx-issues>0:textproc/py-sphinx-issues@${PY_FLAVOR} \ >+ ${PYTHON_PKGNAMEPREFIX}sphinx>0:textproc/py-sphinx@${PY_FLAVOR} \ >+ ${PYTHON_PKGNAMEPREFIX}sphinxcontrib-log-cabinet>0:textproc/py-sphinxcontrib-log-cabinet@${PY_FLAVOR} \ >+ ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} >+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}Babel>0:devel/py-babel@${PY_FLAVOR} \ >+ ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} > TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}coverage>0:devel/py-coverage@${PY_FLAVOR} \ >- ${PYTHON_PKGNAMEPREFIX}sqlalchemy10>0:databases/py-sqlalchemy10@${PY_FLAVOR} \ >- ${PYTHON_PKGNAMEPREFIX}pep8>0:devel/pep8@${PY_FLAVOR} \ >- ${PYTHON_PKGNAMEPREFIX}dateutil>0:devel/py-dateutil@${PY_FLAVOR} >+ ${PYTHON_PKGNAMEPREFIX}email-validator>=0:mail/py-email-validator@${PY_FLAVOR} \ >+ ${PYTHON_PKGNAMEPREFIX}pre-commit>0:devel/py-pre-commit@${PY_FLAVOR} \ >+ ${PYTHON_PKGNAMEPREFIX}pyproject-flake8>0:devel/py-pyproject-flake8@${PY_FLAVOR} \ >+ ${PYTHON_PKGNAMEPREFIX}tox>0:devel/py-tox@${PY_FLAVOR} > >-OPTIONS_DEFINE= DOCS >+USES= python >+USE_PYTHON= autoplist pep517 > > NO_ARCH= yes >-USES= python zip >-USE_PYTHON= autoplist distutils > >+PLIST_FILES= share/man/man1/${PORTNAME}.1.gz > PORTDOCS= * > >+OPTIONS_DEFINE= DOCS EMAIL >+OPTIONS_DEFAULT= EMAIL >+ >+EMAIL_DESC= Form email validation >+ >+EMAIL_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}email-validator>=0:mail/py-email-validator@${PY_FLAVOR} >+EMAIL_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}email-validator>=0:mail/py-email-validator@${PY_FLAVOR} >+ >+_DOCS_BUILD_ENV= PYTHONPATH="${PYTHONPATH}:${INSTALL_WRKSRC}${PYTHON_SITELIBDIR}" >+ >+do-build-DOCS-on: >+ (cd ${WRKSRC}/docs && \ >+ pip-${PYTHON_VER} install --ignore-installed --isolated \ >+ --no-deps --root=${INSTALL_WRKSRC} ${WRKSRC}/dist/*.whl && \ >+ ${SETENV} ${_DOCS_BUILD_ENV} sphinx-build-${PYTHON_VER} \ >+ -M html . _build/html) >+ >+post-build: >+ (cd ${WRKSRC}/docs && \ >+ pip-${PYTHON_VER} install --ignore-installed --isolated \ >+ --no-deps --root=${INSTALL_WRKSRC} ${WRKSRC}/dist/*.whl && \ >+ ${SETENV} ${_DOCS_BUILD_ENV} sphinx-build-${PYTHON_VER} \ >+ -M man . _build/man) >+ >+post-install: >+ ${INSTALL_MAN} ${WRKSRC}/docs/_build/man/man/*.1 \ >+ ${STAGEDIR}${PREFIX}/share/man/man1 >+ > post-install-DOCS-on: > @${MKDIR} ${STAGEDIR}${DOCSDIR} >- (cd ${WRKSRC}/docs/html/ && ${COPYTREE_SHARE} _static/ ${STAGEDIR}${DOCSDIR}/) >- (cd ${WRKSRC}/docs/html/ && ${CP} *.html ${STAGEDIR}${DOCSDIR}/) >- (cd ${WRKSRC}/docs/html/ && ${CP} *.js ${STAGEDIR}${DOCSDIR}/) >+ (cd ${WRKSRC}/docs/_build/html/html && \ >+ ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}/ "-not -name .buildinfo -not -regex ^./_sources.*") > > do-test: >- @cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test >+ @cd ${WRKSRC} && \ >+ ${SETENV} ${TEST_ENV} tox-${PYTHON_VER} -e ${PY_FLAVOR} > > .include <bsd.port.mk> >diff --git a/textproc/py-wtforms/distinfo b/textproc/py-wtforms/distinfo >index 443f5083e650..463f4fc734c8 100644 >--- a/textproc/py-wtforms/distinfo >+++ b/textproc/py-wtforms/distinfo >@@ -1,2 +1,3 @@ >-SHA256 (WTForms-2.1.zip) = ffdf10bd1fa565b8233380cb77a304cd36fd55c73023e91d4b803c96bc11d46f >-SIZE (WTForms-2.1.zip) = 553644 >+TIMESTAMP = 1704978549 >+SHA256 (wtforms-3.1.2.tar.gz) = f8d76180d7239c94c6322f7990ae1216dae3659b7aa1cee94b6318bdffb474b9 >+SIZE (wtforms-3.1.2.tar.gz) = 134705 >-- >2.43.0 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 275931
:
247246
| 247593