git: f0517b6be605 - main - math/py-graphillion: Update version 1.11=>2.0

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Wed, 08 Jul 2026 20:30:24 UTC
The branch main has been updated by bofh:

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

commit f0517b6be605804a72b05aac793a577f0b6ad2dd
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2026-07-08 20:05:55 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2026-07-08 20:29:59 +0000

    math/py-graphillion: Update version 1.11=>2.0
    
    Changelog: https://github.com/graphillion/graphillion/releases/tag/v2.0
---
 math/py-graphillion/Makefile | 11 ++++++++---
 math/py-graphillion/distinfo |  6 +++---
 2 files changed, 11 insertions(+), 6 deletions(-)

diff --git a/math/py-graphillion/Makefile b/math/py-graphillion/Makefile
index 3bb94ca5412e..ce5267fe9607 100644
--- a/math/py-graphillion/Makefile
+++ b/math/py-graphillion/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	graphillion
-DISTVERSION=	1.11
+DISTVERSION=	2.0
 CATEGORIES=	math python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -12,10 +12,15 @@ WWW=		https://github.com/takemaru/graphillion
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE.txt
 
-RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}future>0:devel/py-future@${PY_FLAVOR}
+BUILD_DEPENDS=	${PY_SETUPTOOLS} \
+		${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
 
 USES=		python
-USE_PYTHON=	autoplist distutils
+USE_PYTHON=	autoplist pep517
+
+post-patch:
+	@${REINPLACE_CMD} '/license-files/d; s|^license = "MIT"|license = { text = "MIT" }|' \
+		${WRKSRC}/pyproject.toml
 
 post-install:
 	${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/_graphillion*.so
diff --git a/math/py-graphillion/distinfo b/math/py-graphillion/distinfo
index 8ab9a4a5a289..864a27497240 100644
--- a/math/py-graphillion/distinfo
+++ b/math/py-graphillion/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1783274500
-SHA256 (graphillion-1.11.tar.gz) = cbf13d9e14acbae3549389da493115dd721584637d3a2665af31d0d8340c7e13
-SIZE (graphillion-1.11.tar.gz) = 1287406
+TIMESTAMP = 1783540795
+SHA256 (graphillion-2.0.tar.gz) = 7b2a74ef244d634859178a8cd8796c0a72df56fdadb0c67c1fb8b8fd68917600
+SIZE (graphillion-2.0.tar.gz) = 1214026