Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 05 Jun 2026 06:28:50 +0000
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 541a6e22f85f - main - textproc/py-mwparserfromhell: update 0.6=?utf-8?Q?=2E6 =E2=86=92 0?=.7.2
Message-ID:  <6a226ca2.253f9.4b95a909@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=541a6e22f85f2fcf9d6bf7972b0765ba66d480fb

commit 541a6e22f85f2fcf9d6bf7972b0765ba66d480fb
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2026-06-05 06:10:15 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2026-06-05 06:28:20 +0000

    textproc/py-mwparserfromhell: update 0.6.6 → 0.7.2
---
 textproc/py-mwparserfromhell/Makefile                   |  8 +++-----
 textproc/py-mwparserfromhell/distinfo                   |  6 +++---
 textproc/py-mwparserfromhell/files/patch-pyproject.toml | 11 +++++++++++
 textproc/py-mwparserfromhell/files/patch-setup.py       | 11 -----------
 4 files changed, 17 insertions(+), 19 deletions(-)

diff --git a/textproc/py-mwparserfromhell/Makefile b/textproc/py-mwparserfromhell/Makefile
index b36bd8431c17..d5a905770428 100644
--- a/textproc/py-mwparserfromhell/Makefile
+++ b/textproc/py-mwparserfromhell/Makefile
@@ -1,6 +1,5 @@
 PORTNAME=	mwparserfromhell
-DISTVERSION=	0.6.6
-PORTREVISION=	1
+DISTVERSION=	0.7.2
 CATEGORIES=	textproc python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -15,12 +14,11 @@ LICENSE_FILE=	${WRKSRC}/LICENSE
 TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR}
 
 USES=		python
-USE_PYTHON=	autoplist distutils
+USE_PYTHON=	autoplist distutils pytest
 
 post-install:
 	${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/mwparserfromhell/parser/_tokenizer*.so
 
-do-test:
-	@cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test
+# tests as of 0.7.2: 2 failed, 2006 passed, 1 skipped in 9.34s
 
 .include <bsd.port.mk>
diff --git a/textproc/py-mwparserfromhell/distinfo b/textproc/py-mwparserfromhell/distinfo
index c6225c10d733..0fc2734c27f5 100644
--- a/textproc/py-mwparserfromhell/distinfo
+++ b/textproc/py-mwparserfromhell/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1710180110
-SHA256 (mwparserfromhell-0.6.6.tar.gz) = 71afec1e9784ba576e95d6f34845582d3c733a3a52ba770dd8a9c3a40e5b649f
-SIZE (mwparserfromhell-0.6.6.tar.gz) = 138899
+TIMESTAMP = 1780639615
+SHA256 (mwparserfromhell-0.7.2.tar.gz) = f4193072e9ea93b9e88f772f60a02125c0602d32890d0bbdcb275ed58c8b3763
+SIZE (mwparserfromhell-0.7.2.tar.gz) = 196317
diff --git a/textproc/py-mwparserfromhell/files/patch-pyproject.toml b/textproc/py-mwparserfromhell/files/patch-pyproject.toml
new file mode 100644
index 000000000000..afa93f384fd0
--- /dev/null
+++ b/textproc/py-mwparserfromhell/files/patch-pyproject.toml
@@ -0,0 +1,11 @@
+--- pyproject.toml.orig	2026-06-05 06:08:23 UTC
++++ pyproject.toml
+@@ -5,8 +5,6 @@ authors = [
+ authors = [
+     {name = "Ben Kurtovic", email = "ben@benkurtovic.com"},
+ ]
+-license = "MIT"
+-license-files = ["LICENSE"]
+ keywords = [
+     "mwparserfromhell", "wikipedia", "wiki", "mediawiki", "wikicode", "wikitext"
+ ]
diff --git a/textproc/py-mwparserfromhell/files/patch-setup.py b/textproc/py-mwparserfromhell/files/patch-setup.py
deleted file mode 100644
index c5ca89daaf4f..000000000000
--- a/textproc/py-mwparserfromhell/files/patch-setup.py
+++ /dev/null
@@ -1,11 +0,0 @@
---- setup.py.orig	2025-03-16 19:50:17 UTC
-+++ setup.py
-@@ -82,7 +82,7 @@ setup(
-     packages=find_packages("src"),
-     package_dir={"": "src"},
-     ext_modules=[tokenizer] if use_extension else [],
--    setup_requires=["pytest-runner"]
-+    setup_requires=[]
-     if "test" in sys.argv or "pytest" in sys.argv
-     else [],
-     tests_require=["pytest"],


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6a226ca2.253f9.4b95a909>