pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
py-cityhash: add missing dependency
Module Name: pkgsrc-wip
Committed By: Matthew Danielson <matthewd%fastmail.us@localhost>
Pushed By: matthewd
Date: Sun Nov 10 14:01:51 2024 -0800
Changeset: b5c5125190772bcc0419888b55551550eb481a41
Modified Files:
py-cityhash/Makefile
py-cityhash/distinfo
Added Files:
py-cityhash/patches/patch-setup.py
Log Message:
py-cityhash: add missing dependency
This (for now) disables components that are built when SSE4 is detected
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=b5c5125190772bcc0419888b55551550eb481a41
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
py-cityhash/Makefile | 3 ++-
py-cityhash/distinfo | 1 +
py-cityhash/patches/patch-setup.py | 15 +++++++++++++++
3 files changed, 18 insertions(+), 1 deletion(-)
diffs:
diff --git a/py-cityhash/Makefile b/py-cityhash/Makefile
index 91f1779fd2..3cf40b8969 100644
--- a/py-cityhash/Makefile
+++ b/py-cityhash/Makefile
@@ -10,13 +10,14 @@ MAINTAINER= matthewd%fastmail.us@localhost
HOMEPAGE= https://github.com/escherba/cityhash
COMMENT= Python wrapper for FarmHash and CityHash
LICENSE= modified-bsd
-PKGREVISION= 1
+PKGREVISION= 2
WRKSRC= ${WRKDIR}/python-${DISTNAME}
PYTHON_VERSIONS_INCOMPATIBLE= 27
TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel>=0.41:../../devel/py-wheel
TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools>=68:../../devel/py-setuptools
+TOOL_DEPENDS+= ${PYPKGPREFIX}-cpuinfo>=9.0.0:../../sysutils/py-cpuinfo
DEPENDS+= cityhash-[0-9]*:../../textproc/cityhash
TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
diff --git a/py-cityhash/distinfo b/py-cityhash/distinfo
index 80f9bfd6c2..160607c62e 100644
--- a/py-cityhash/distinfo
+++ b/py-cityhash/distinfo
@@ -3,3 +3,4 @@ $NetBSD$
BLAKE2s (cityhash-0.4.7.tar.gz) = a0216b710b261afccf0372cd3a6e231278d93ce672441bf7319897d0f2a76ce0
SHA512 (cityhash-0.4.7.tar.gz) = c3f58ba6581cca8b25c8a0bbfeb80fcbc23b156d90b6b65d65fe18d555453028e17d92666a942a516132fb5e93afc581756b99c02e58cee079297c13ff4f8d58
Size (cityhash-0.4.7.tar.gz) = 329465 bytes
+SHA1 (patch-setup.py) = a201e915bf7cc0cd62635c6da940ec2c4d79c588
diff --git a/py-cityhash/patches/patch-setup.py b/py-cityhash/patches/patch-setup.py
new file mode 100644
index 0000000000..9a276ded37
--- /dev/null
+++ b/py-cityhash/patches/patch-setup.py
@@ -0,0 +1,15 @@
+$NetBSD$
+
+TODO: Figure out how to detect sse4 for PLIST.
+
+--- setup.py.orig 2024-11-10 21:47:10.445879576 +0000
++++ setup.py
+@@ -111,7 +111,7 @@ EXT_MODULES = [
+ ),
+ ]
+
+-if HAVE_SSE42 and (TARGET_ARCH == "x86_64") and (BITS == 64):
++if False and HAVE_SSE42 and (TARGET_ARCH == "x86_64") and (BITS == 64):
+ EXT_MODULES.append(
+ Extension(
+ "cityhashcrc",
Home |
Main Index |
Thread Index |
Old Index