mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-19 00:13:33 +00:00
devel/py-mmh3: Update to 5.0.1
Changes: https://github.com/hajimes/mmh3/releases
This commit is contained in:
parent
5f718af50e
commit
2185ce27cd
@ -1,5 +1,5 @@
|
||||
PORTNAME= mmh3
|
||||
PORTVERSION= 4.1.0
|
||||
PORTVERSION= 5.0.1
|
||||
CATEGORIES= devel python
|
||||
MASTER_SITES= PYPI
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
|
@ -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
|
||||
|
20
devel/py-mmh3/files/patch-pyproject.toml
Normal file
20
devel/py-mmh3/files/patch-pyproject.toml
Normal file
@ -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"]
|
13
devel/py-mmh3/files/patch-setup.py
Normal file
13
devel/py-mmh3/files/patch-setup.py
Normal file
@ -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"]},
|
||||
+)
|
Loading…
Reference in New Issue
Block a user