textproc/py-markupsafe: Update to 3.0.2

- Add GitHub to MASTER_SITES
- Update WWW
- Update LICENSE_FILE

Changes:	https://github.com/pallets/markupsafe/releases
		https://markupsafe.palletsprojects.com/en/stable/changes/
This commit is contained in:
Po-Chuan Hsieh 2025-05-29 12:44:21 +08:00
parent 84b9a1d8cc
commit 398b23918a
No known key found for this signature in database
GPG Key ID: 9A4BD10F002DD04B
4 changed files with 28 additions and 21 deletions

View File

@ -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

View File

@ -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

View File

@ -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]

View File

@ -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 [],
)