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,26 +1,28 @@ PORTNAME= korean-lunar-calendar -DISTVERSION= 0.3.1 -PORTREVISION= 1 +DISTVERSION= 0.4.0 CATEGORIES= korean python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= ${PORTNAME:S/-/_/g}-${PORTVERSION} MAINTAINER= yuri@FreeBSD.org COMMENT= Korean Lunar Calendar 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 TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} do-test: @${SETENV} ${TEST_ENV} ${PYTHON_CMD} ${FILESDIR}/test.py .include 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", "음력", "양력", "달력"]