Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Apr 2023 00:00:58 GMT
From:      Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 125676fc9dc7 - main - www/py-werkzeug: Update to 2.3.1
Message-ID:  <202304280000.33S00wr9036366@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=125676fc9dc7c971e2d14427ed25c83d9807a9fc

commit 125676fc9dc7c971e2d14427ed25c83d9807a9fc
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-04-27 23:59:11 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-04-27 23:59:11 +0000

    www/py-werkzeug: Update to 2.3.1
    
    - Convert to USE_PYTHON=pep517
    
    Changes:        https://github.com/pallets/werkzeug/releases
---
 www/py-werkzeug/Makefile                   | 8 +++++---
 www/py-werkzeug/distinfo                   | 6 +++---
 www/py-werkzeug/files/patch-pyproject.toml | 9 +++++++++
 3 files changed, 17 insertions(+), 6 deletions(-)

diff --git a/www/py-werkzeug/Makefile b/www/py-werkzeug/Makefile
index fc7169a2746a..a6ba043ddd90 100644
--- a/www/py-werkzeug/Makefile
+++ b/www/py-werkzeug/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	werkzeug
-PORTVERSION=	2.2.3
+PORTVERSION=	2.3.1
 CATEGORIES=	www python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -13,10 +13,12 @@ WWW=		https://palletsprojects.com/p/werkzeug/ \
 LICENSE=	BSD3CLAUSE
 LICENSE_FILE=	${WRKSRC}/LICENSE.rst
 
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}markupsafe>=2.1.1:textproc/py-markupsafe@${PY_FLAVOR}
 
-USES=		cpe python:3.7+
-USE_PYTHON=	autoplist concurrent distutils
+USES=		cpe python:3.8+
+USE_PYTHON=	autoplist concurrent pep517
 
 NO_ARCH=	yes
 
diff --git a/www/py-werkzeug/distinfo b/www/py-werkzeug/distinfo
index 42cd2755ed40..0d27bc2e2b9b 100644
--- a/www/py-werkzeug/distinfo
+++ b/www/py-werkzeug/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1677771383
-SHA256 (Werkzeug-2.2.3.tar.gz) = 2e1ccc9417d4da358b9de6f174e3ac094391ea1d4fbef2d667865d819dfd0afe
-SIZE (Werkzeug-2.2.3.tar.gz) = 845884
+TIMESTAMP = 1682616710
+SHA256 (Werkzeug-2.3.1.tar.gz) = 2d35a28a75ae03727eae14ea7d13627c0f77aed6b9998441e6dae0b387f697fc
+SIZE (Werkzeug-2.3.1.tar.gz) = 831228
diff --git a/www/py-werkzeug/files/patch-pyproject.toml b/www/py-werkzeug/files/patch-pyproject.toml
new file mode 100644
index 000000000000..7b366d96be2c
--- /dev/null
+++ b/www/py-werkzeug/files/patch-pyproject.toml
@@ -0,0 +1,9 @@
+--- pyproject.toml.orig	2023-04-27 13:38:50 UTC
++++ pyproject.toml
+@@ -1,5 +1,5 @@
+ [project]
+-name = "Werkzeug"
++name = "werkzeug"
+ description = "The comprehensive WSGI web application library."
+ readme = "README.rst"
+ license = {text = "BSD-3-Clause"}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202304280000.33S00wr9036366>