summaryrefslogtreecommitdiff
path: root/textproc/py-markupsafe
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/py-markupsafe')
-rw-r--r--textproc/py-markupsafe/Makefile14
-rw-r--r--textproc/py-markupsafe/distinfo6
-rw-r--r--textproc/py-markupsafe/files/patch-pyproject.toml18
-rw-r--r--textproc/py-markupsafe/files/patch-setup.py11
4 files changed, 28 insertions, 21 deletions
diff --git a/textproc/py-markupsafe/Makefile b/textproc/py-markupsafe/Makefile
index 7d5e4f199ed6..a49b01b26258 100644
--- a/textproc/py-markupsafe/Makefile
+++ b/textproc/py-markupsafe/Makefile
@@ -1,19 +1,19 @@
PORTNAME= markupsafe
-PORTVERSION= 2.1.5
-PORTREVISION= 1
+PORTVERSION= 3.0.2
CATEGORIES= textproc python
-MASTER_SITES= PYPI
+MASTER_SITES= PYPI \
+ https://github.com/pallets/markupsafe/releases/download/${PORTVERSION}/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
-DISTNAME= MarkupSafe-${PORTVERSION}
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Implements XML/HTML/XHTML Markup safe string for Python
-WWW= https://github.com/pallets/markupsafe
+WWW= https://markupsafe.palletsprojects.com/en/stable/ \
+ https://github.com/pallets/markupsafe
LICENSE= BSD3CLAUSE
-LICENSE_FILE= ${WRKSRC}/LICENSE.rst
+LICENSE_FILE= ${WRKSRC}/LICENSE.txt
-BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=61:devel/py-setuptools@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
USES= python
diff --git a/textproc/py-markupsafe/distinfo b/textproc/py-markupsafe/distinfo
index 1d4d74b5e419..bebf8bdb3afa 100644
--- a/textproc/py-markupsafe/distinfo
+++ b/textproc/py-markupsafe/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1708449466
-SHA256 (MarkupSafe-2.1.5.tar.gz) = d283d37a890ba4c1ae73ffadf8046435c76e7bc2247bbb63c00bd1a709c6544b
-SIZE (MarkupSafe-2.1.5.tar.gz) = 19384
+TIMESTAMP = 1748107946
+SHA256 (markupsafe-3.0.2.tar.gz) = ee55d3edf80167e48ea11a923c7386f4669df67d7994554387f84e7d8b0a2bf0
+SIZE (markupsafe-3.0.2.tar.gz) = 20537
diff --git a/textproc/py-markupsafe/files/patch-pyproject.toml b/textproc/py-markupsafe/files/patch-pyproject.toml
new file mode 100644
index 000000000000..2fb0a6ed1624
--- /dev/null
+++ b/textproc/py-markupsafe/files/patch-pyproject.toml
@@ -0,0 +1,18 @@
+--- pyproject.toml.orig 2024-10-18 15:03:06 UTC
++++ pyproject.toml
+@@ -1,5 +1,5 @@
+ [project]
+-name = "MarkupSafe"
++name = "markupsafe"
+ version = "3.0.2"
+ description = "Safely add untrusted strings to HTML/XML markup."
+ readme = "README.md"
+@@ -26,7 +26,7 @@ Chat = "https://discord.gg/pallets"
+ Chat = "https://discord.gg/pallets"
+
+ [build-system]
+-requires = ["setuptools>=70.1"]
++requires = ["setuptools>=61"]
+ build-backend = "setuptools.build_meta"
+
+ [tool.pytest.ini_options]
diff --git a/textproc/py-markupsafe/files/patch-setup.py b/textproc/py-markupsafe/files/patch-setup.py
deleted file mode 100644
index 7f80db046e9c..000000000000
--- a/textproc/py-markupsafe/files/patch-setup.py
+++ /dev/null
@@ -1,11 +0,0 @@
---- setup.py.orig 2024-02-02 16:03:42 UTC
-+++ setup.py
-@@ -39,7 +39,7 @@ def run_setup(with_binary):
-
- def run_setup(with_binary):
- setup(
-- name="MarkupSafe",
-+ name="markupsafe",
- cmdclass={"build_ext": ve_build_ext},
- ext_modules=ext_modules if with_binary else [],
- )