diff --git a/converters/py-rencode/Makefile b/converters/py-rencode/Makefile index 88c8f5e04e07..35f49b03551b 100644 --- a/converters/py-rencode/Makefile +++ b/converters/py-rencode/Makefile @@ -1,32 +1,28 @@ PORTNAME= rencode -PORTVERSION= 1.0.8 -PORTREVISION= 1 +PORTVERSION= 1.0.9 DISTVERSIONPREFIX= v CATEGORIES= converters devel python PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= python@FreeBSD.org COMMENT= Web safe object pickling/unpickling WWW= https://github.com/aresch/rencode LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING -BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}poetry-core>=0:devel/py-poetry-core@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=61.0.0:devel/py-setuptools@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} USES= cpe python USE_PYTHON= autoplist cython pep517 pytest CPE_VENDOR= rencode_project USE_GITHUB= yes GH_ACCOUNT= aresch -post-patch: - @${MV} ${WRKSRC}/build.py ${WRKSRC}/_build.py - post-install: ${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} + .include diff --git a/converters/py-rencode/distinfo b/converters/py-rencode/distinfo index 744cb7ee2e14..8dca7927a218 100644 --- a/converters/py-rencode/distinfo +++ b/converters/py-rencode/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1748831318 -SHA256 (aresch-rencode-v1.0.8_GH0.tar.gz) = 480aab74948a7f339b749b5c39bdb4caf15429f4b49a998c770d5f371098d351 -SIZE (aresch-rencode-v1.0.8_GH0.tar.gz) = 26072 +TIMESTAMP = 1789389404 +SHA256 (aresch-rencode-v1.0.9_GH0.tar.gz) = 6d7b7f2320271d8deeaadfaf98705149c4cef7ae5e104baa0c3812d7b820fe8d +SIZE (aresch-rencode-v1.0.9_GH0.tar.gz) = 52578 diff --git a/converters/py-rencode/files/patch-build.py b/converters/py-rencode/files/patch-build.py deleted file mode 100644 index 0a5bc1187c46..000000000000 --- a/converters/py-rencode/files/patch-build.py +++ /dev/null @@ -1,18 +0,0 @@ ---- build.py.orig 2025-07-30 20:26:01 UTC -+++ build.py -@@ -11,7 +11,6 @@ from setuptools.command.build_ext import build_ext - from setuptools.command.build_ext import build_ext - - --COMPILE_ARGS = ["-march=native", "-O3", "-msse", "-msse2", "-mfma", "-mfpmath=sse"] - LINK_ARGS: list[str] = [] - INCLUDE_DIRS: list[str] = [] - LIBRARIES: list[str] = [] -@@ -22,7 +21,6 @@ def build() -> None: - Extension( - "*", - ["rencode/*.pyx"], -- extra_compile_args=COMPILE_ARGS, - extra_link_args=LINK_ARGS, - include_dirs=INCLUDE_DIRS, - libraries=LIBRARIES, diff --git a/converters/py-rencode/files/patch-pyproject.toml b/converters/py-rencode/files/patch-pyproject.toml index eb1050c55f5a..a41326722807 100644 --- a/converters/py-rencode/files/patch-pyproject.toml +++ b/converters/py-rencode/files/patch-pyproject.toml @@ -1,11 +1,20 @@ ---- pyproject.toml.orig 2025-05-29 19:52:15 UTC +--- pyproject.toml.orig 2026-09-12 20:44:11 UTC +++ pyproject.toml -@@ -9,7 +9,7 @@ exclude = ['rencode/*.c'] - exclude = ['rencode/*.c'] +@@ -3,7 +3,7 @@ readme = "README.md" + version = "1.0.9" + description = "rencode is an object serialization library similar to bencode from the Bittorrent project." + readme = "README.md" +-license = "GPL-3.0-only" ++license = {text = "GPL-3.0-only"} + requires-python = ">=3.9" + authors = [ + {name = "Andrew Resch", email = "andrewresch@gmail.com"}, +@@ -47,7 +47,7 @@ dev = [ + ] - [tool.poetry.build] --script = "build.py" -+script = "_build.py" + [build-system] +-requires = ["setuptools>=64.0.0", "cython>=3.0.0"] ++requires = ["setuptools>=61.0.0", "cython>=3.0.0"] + build-backend = "setuptools.build_meta" - [tool.poetry.dependencies] - python = "^3.9" + [tool.setuptools.packages.find]