git: 2c0c6aeb0493 - main - devel/py-cwcwidth: Remove cython hack

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Thu, 26 Jun 2025 17:30:20 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=2c0c6aeb0493611c9200dabde947967bb7561ac6

commit 2c0c6aeb0493611c9200dabde947967bb7561ac6
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2025-06-26 17:28:09 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2025-06-26 17:30:01 +0000

    devel/py-cwcwidth: Remove cython hack
    
    - Bump PORTREVISION for potential package change
---
 devel/py-cwcwidth/Makefile                   |  3 ++-
 devel/py-cwcwidth/files/patch-pyproject.toml | 11 -----------
 2 files changed, 2 insertions(+), 12 deletions(-)

diff --git a/devel/py-cwcwidth/Makefile b/devel/py-cwcwidth/Makefile
index 386a391ac4ee..24235d492fa6 100644
--- a/devel/py-cwcwidth/Makefile
+++ b/devel/py-cwcwidth/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	cwcwidth
 PORTVERSION=	0.1.10
+PORTREVISION=	1
 CATEGORIES=	devel python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -15,7 +16,7 @@ BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools>=43:devel/py-setuptools@${PY_FL
 		${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
 
 USES=		python:3.9+
-USE_PYTHON=	autoplist concurrent cython pep517
+USE_PYTHON=	autoplist concurrent cython3 pep517
 
 post-install:
 	${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} +
diff --git a/devel/py-cwcwidth/files/patch-pyproject.toml b/devel/py-cwcwidth/files/patch-pyproject.toml
deleted file mode 100644
index 4e400138e15c..000000000000
--- a/devel/py-cwcwidth/files/patch-pyproject.toml
+++ /dev/null
@@ -1,11 +0,0 @@
---- pyproject.toml.orig	2025-02-09 21:07:05 UTC
-+++ pyproject.toml
-@@ -1,7 +1,7 @@ requires = [
- [build-system]
- requires = [
-   "setuptools >= 43",
--  "Cython >= 3",
-+  "Cython >= 0.28",
- ]
- build-backend = "setuptools.build_meta"
-