git: 5deeecf14acd - main - devel/py-mutf8: Update to 1.1.0
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 12 Jul 2026 05:03:49 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=5deeecf14acdda7cc4ff031a260a1a9df057a355
commit 5deeecf14acdda7cc4ff031a260a1a9df057a355
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2026-07-12 04:51:44 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2026-07-12 04:51:44 +0000
devel/py-mutf8: Update to 1.1.0
Changes: https://github.com/TkTech/mutf8/releases
---
devel/py-mutf8/Makefile | 2 +-
devel/py-mutf8/distinfo | 6 +++---
devel/py-mutf8/files/patch-pyproject.toml | 30 ++++++++++++++++++++++++++++++
devel/py-mutf8/files/patch-setup.py | 16 ++++++++++++++++
4 files changed, 50 insertions(+), 4 deletions(-)
diff --git a/devel/py-mutf8/Makefile b/devel/py-mutf8/Makefile
index 07b2c204e6fb..6bb6a44a18f6 100644
--- a/devel/py-mutf8/Makefile
+++ b/devel/py-mutf8/Makefile
@@ -1,5 +1,5 @@
PORTNAME= mutf8
-PORTVERSION= 1.0.6
+PORTVERSION= 1.1.0
CATEGORIES= devel python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
diff --git a/devel/py-mutf8/distinfo b/devel/py-mutf8/distinfo
index 43655a50d614..de18b1cf6187 100644
--- a/devel/py-mutf8/distinfo
+++ b/devel/py-mutf8/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1720022670
-SHA256 (mutf8-1.0.6.tar.gz) = 1bbbefb67c2e5a57104750bb04b0912200b57b2fa9841be245279e83859cb346
-SIZE (mutf8-1.0.6.tar.gz) = 6424
+TIMESTAMP = 1783784404
+SHA256 (mutf8-1.1.0.tar.gz) = 279796be8926ea53ac226a831727725387f3acadcfc5aa723f8a5ada559dae3a
+SIZE (mutf8-1.1.0.tar.gz) = 11827
diff --git a/devel/py-mutf8/files/patch-pyproject.toml b/devel/py-mutf8/files/patch-pyproject.toml
new file mode 100644
index 000000000000..fc90d74a7db6
--- /dev/null
+++ b/devel/py-mutf8/files/patch-pyproject.toml
@@ -0,0 +1,30 @@
+--- pyproject.toml.orig 2026-07-10 18:11:46 UTC
++++ pyproject.toml
+@@ -1,5 +1,5 @@
+ [build-system]
+-requires = ["setuptools>=77"]
++requires = ["setuptools>=61"]
+ build-backend = "setuptools.build_meta"
+
+ [project]
+@@ -8,8 +8,7 @@ requires-python = ">=3.9"
+ description = "Fast MUTF-8 encoder & decoder"
+ readme = "README.md"
+ requires-python = ">=3.9"
+-license = "MIT"
+-license-files = ["LICENCE"]
++license = { text = "MIT" }
+ authors = [{ name = "Tyler Kennedy", email = "tk@tkte.ch" }]
+ keywords = ["mutf-8", "cesu-8", "jvm"]
+ classifiers = [
+@@ -38,10 +37,6 @@ packages = ["mutf8"]
+
+ [tool.setuptools]
+ packages = ["mutf8"]
+-# optional=true so a failed compile falls back to the pure-Python mutf8/mutf8.py.
+-ext-modules = [
+- { name = "mutf8.cmutf8", sources = ["mutf8/cmutf8.c"], language = "c", optional = true },
+-]
+
+ [tool.setuptools.dynamic]
+ version = { attr = "mutf8.__version__" }
diff --git a/devel/py-mutf8/files/patch-setup.py b/devel/py-mutf8/files/patch-setup.py
new file mode 100644
index 000000000000..5c9bed40bd5e
--- /dev/null
+++ b/devel/py-mutf8/files/patch-setup.py
@@ -0,0 +1,16 @@
+--- setup.py.orig 2026-07-12 00:34:51 UTC
++++ setup.py
+@@ -0,0 +1,13 @@
++from setuptools import setup, find_packages, Extension
++
++setup(
++ name='mutf8',
++ ext_modules=[
++ Extension(
++ 'mutf8.cmutf8',
++ ['mutf8/cmutf8.c'],
++ language='c',
++ optional=True
++ )
++ ]
++)