git: b7ab5b69f9fd - main - korean/py-korean-lunar-calendar: update 0.3.1 → 0.4.0

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Wed, 17 Jun 2026 03:19:04 UTC
The branch main has been updated by yuri:

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

commit b7ab5b69f9fd9846138a13d218eff0ada3b6678a
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2026-06-16 21:41:56 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2026-06-17 03:19:01 +0000

    korean/py-korean-lunar-calendar: update 0.3.1 → 0.4.0
---
 korean/py-korean-lunar-calendar/Makefile               |  8 +++++---
 korean/py-korean-lunar-calendar/distinfo               |  6 +++---
 .../files/patch-pyproject.toml                         | 18 ++++++++++++++++++
 3 files changed, 26 insertions(+), 6 deletions(-)

diff --git a/korean/py-korean-lunar-calendar/Makefile b/korean/py-korean-lunar-calendar/Makefile
index fec7f529b6ae..9828813ea26d 100644
--- a/korean/py-korean-lunar-calendar/Makefile
+++ b/korean/py-korean-lunar-calendar/Makefile
@@ -1,6 +1,5 @@
 PORTNAME=	korean-lunar-calendar
-DISTVERSION=	0.3.1
-PORTREVISION=	1
+DISTVERSION=	0.4.0
 CATEGORIES=	korean python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -13,8 +12,11 @@ WWW=		https://github.com/usingsky/korean_lunar_calendar_py
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
+BUILD_DEPENDS=	${PY_SETUPTOOLS} \
+		${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
+
 USES=		python
-USE_PYTHON=	distutils autoplist pytest
+USE_PYTHON=	pep517 autoplist pytest
 
 NO_ARCH=	yes
 
diff --git a/korean/py-korean-lunar-calendar/distinfo b/korean/py-korean-lunar-calendar/distinfo
index 928988cfce4e..b83b15bb5d9f 100644
--- a/korean/py-korean-lunar-calendar/distinfo
+++ b/korean/py-korean-lunar-calendar/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1672005953
-SHA256 (korean_lunar_calendar-0.3.1.tar.gz) = eb2c485124a061016926bdea6d89efdf9b9fdbf16db55895b6cf1e5bec17b857
-SIZE (korean_lunar_calendar-0.3.1.tar.gz) = 9877
+TIMESTAMP = 1781645846
+SHA256 (korean_lunar_calendar-0.4.0.tar.gz) = be56f27bc0594fdbbdf7bbe00f504a9f929a31e311bd7d9bb93561b645afade7
+SIZE (korean_lunar_calendar-0.4.0.tar.gz) = 13425
diff --git a/korean/py-korean-lunar-calendar/files/patch-pyproject.toml b/korean/py-korean-lunar-calendar/files/patch-pyproject.toml
new file mode 100644
index 000000000000..47128d13fcfb
--- /dev/null
+++ b/korean/py-korean-lunar-calendar/files/patch-pyproject.toml
@@ -0,0 +1,18 @@
+--- pyproject.toml.orig	2026-06-15 03:18:56 UTC
++++ pyproject.toml
+@@ -1,5 +1,5 @@
+ [build-system]
+-requires = ["setuptools>=77"]
++requires = ["setuptools"]
+ build-backend = "setuptools.build_meta"
+ 
+ [project]
+@@ -8,8 +8,6 @@ requires-python = ">=3.6"
+ description = "Convert the Korean lunar calendar to/from the Gregorian solar calendar (KARI standard)."
+ readme = "README.md"
+ requires-python = ">=3.6"
+-license = "MIT"
+-license-files = ["LICENSE"]
+ authors = [{ name = "Jinil Lee", email = "usingsky@gmail.com" }]
+ maintainers = [{ name = "Jinil Lee", email = "usingsky@gmail.com" }]
+ keywords = ["calendar", "korean", "lunar", "solar", "음력", "양력", "달력"]