diff options
Diffstat (limited to 'devel/py-construct-classes')
-rw-r--r-- | devel/py-construct-classes/Makefile | 8 | ||||
-rw-r--r-- | devel/py-construct-classes/distinfo | 6 | ||||
-rw-r--r-- | devel/py-construct-classes/files/patch-pyproject.toml | 30 |
3 files changed, 38 insertions, 6 deletions
diff --git a/devel/py-construct-classes/Makefile b/devel/py-construct-classes/Makefile index b3b4e09e0d51..2d3f7c862424 100644 --- a/devel/py-construct-classes/Makefile +++ b/devel/py-construct-classes/Makefile @@ -1,9 +1,9 @@ PORTNAME= construct-classes -PORTVERSION= 0.1.2 -PORTREVISION= 1 +PORTVERSION= 0.2.2 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +DISTNAME= ${PORTNAME:C/-/_/}-${PORTVERSION} MAINTAINER= ehaupt@FreeBSD.org COMMENT= Parse your binary structs into dataclasses @@ -12,10 +12,12 @@ WWW= https://pypi.org/project/construct-classes/ LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}construct>=2.10:devel/py-construct@${PY_FLAVOR} USES= python -USE_PYTHON= autoplist distutils +USE_PYTHON= autoplist pep517 NO_ARCH= yes diff --git a/devel/py-construct-classes/distinfo b/devel/py-construct-classes/distinfo index c798431c772c..7ccb31ec97cd 100644 --- a/devel/py-construct-classes/distinfo +++ b/devel/py-construct-classes/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1667833393 -SHA256 (construct-classes-0.1.2.tar.gz) = 72ac1abbae5bddb4918688713f991f5a7fb6c9b593646a82f4bf3ac53de7eeb5 -SIZE (construct-classes-0.1.2.tar.gz) = 5018 +TIMESTAMP = 1758980660 +SHA256 (construct_classes-0.2.2.tar.gz) = c644026fef4d082fd6632efa974376d77e8be7d95e4e57a6df74407fc0954efd +SIZE (construct_classes-0.2.2.tar.gz) = 4622 diff --git a/devel/py-construct-classes/files/patch-pyproject.toml b/devel/py-construct-classes/files/patch-pyproject.toml new file mode 100644 index 000000000000..a1c6c9d9d92b --- /dev/null +++ b/devel/py-construct-classes/files/patch-pyproject.toml @@ -0,0 +1,30 @@ +--- pyproject.toml.orig 1970-01-01 00:00:00 UTC ++++ pyproject.toml +@@ -5,7 +5,7 @@ readme = "README.rst" + authors = [{ name = "matejcik", email = "ja@matejcik.cz" }] + requires-python = ">=3.10,<4.0" + readme = "README.rst" +-license = "MIT" ++license = { text = "MIT" } + classifiers = [ + "Development Status :: 2 - Pre-Alpha", + "Intended Audience :: Developers", +@@ -36,16 +36,8 @@ dev = [ + "typing-extensions>4.2", + ] + +-[build-system] +-requires = ["uv_build>=0.8.13,<0.9.0"] +-build-backend = "uv_build" +- +-[tool.uv.build-backend] +-source-include = [ +- "CHANGELOG.rst", +- "LICENSE", +- "README.rst", +-] ++requires = ["setuptools>=68", "wheel"] ++build-backend = "setuptools.build_meta:__legacy__" + + [tool.isort] + profile = "black" |