git: 2185ce27cd9f - main - devel/py-mmh3: Update to 5.0.1
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 25 Sep 2024 18:25:35 UTC
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=2185ce27cd9f69b02a75707516a1da4c783a8465 commit 2185ce27cd9f69b02a75707516a1da4c783a8465 Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2024-09-25 17:48:41 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2024-09-25 18:21:58 +0000 devel/py-mmh3: Update to 5.0.1 Changes: https://github.com/hajimes/mmh3/releases --- devel/py-mmh3/Makefile | 2 +- devel/py-mmh3/distinfo | 6 +++--- devel/py-mmh3/files/patch-pyproject.toml | 20 ++++++++++++++++++++ devel/py-mmh3/files/patch-setup.py | 13 +++++++++++++ 4 files changed, 37 insertions(+), 4 deletions(-) diff --git a/devel/py-mmh3/Makefile b/devel/py-mmh3/Makefile index 9f0e8ad70dfc..7e4f9d73d20d 100644 --- a/devel/py-mmh3/Makefile +++ b/devel/py-mmh3/Makefile @@ -1,5 +1,5 @@ PORTNAME= mmh3 -PORTVERSION= 4.1.0 +PORTVERSION= 5.0.1 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} diff --git a/devel/py-mmh3/distinfo b/devel/py-mmh3/distinfo index c3265c5ac32a..2081c28f1bd5 100644 --- a/devel/py-mmh3/distinfo +++ b/devel/py-mmh3/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1708448824 -SHA256 (mmh3-4.1.0.tar.gz) = a1cf25348b9acd229dda464a094d6170f47d2850a1fcb762a3b6172d2ce6ca4a -SIZE (mmh3-4.1.0.tar.gz) = 26357 +TIMESTAMP = 1727260409 +SHA256 (mmh3-5.0.1.tar.gz) = 7dab080061aeb31a6069a181f27c473a1f67933854e36a3464931f2716508896 +SIZE (mmh3-5.0.1.tar.gz) = 32008 diff --git a/devel/py-mmh3/files/patch-pyproject.toml b/devel/py-mmh3/files/patch-pyproject.toml new file mode 100644 index 000000000000..2cb7a89da955 --- /dev/null +++ b/devel/py-mmh3/files/patch-pyproject.toml @@ -0,0 +1,20 @@ +--- pyproject.toml.orig 2024-09-22 16:34:49 UTC ++++ pyproject.toml +@@ -1,6 +1,6 @@ + [build-system] + # setuptools >= 74.1.0 required to build C extensions via pyproject.toml +-requires = ["setuptools >= 74.1.0", "wheel"] ++requires = ["setuptools >= 61.0.0", "wheel"] + build-backend = "setuptools.build_meta" + + [project] +@@ -71,9 +71,6 @@ include-package-data = true + + [tool.setuptools] + include-package-data = true +-ext-modules = [ +- {name = "mmh3", sources = ["./src/mmh3/mmh3module.c", "./src/mmh3/murmurhash3.c"]} +-] + + [tool.setuptools.package-data] + mmh3 = ["*.h"] diff --git a/devel/py-mmh3/files/patch-setup.py b/devel/py-mmh3/files/patch-setup.py new file mode 100644 index 000000000000..b3ea71ffb5b8 --- /dev/null +++ b/devel/py-mmh3/files/patch-setup.py @@ -0,0 +1,13 @@ +--- setup.py.orig 2024-09-25 13:21:49 UTC ++++ setup.py +@@ -0,0 +1,10 @@ ++from setuptools import Extension, setup ++ ++mmh3module = Extension( ++ "mmh3", sources=["./src/mmh3/mmh3module.c", "./src/mmh3/murmurhash3.c"] ++) ++ ++setup( ++ ext_modules=[mmh3module], ++ package_data={"mmh3": ["./src/mmh3/py.typed", "./src/mmh3/**.pyi"]}, ++)