pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

cityhash: Update to 0.4.10



Module Name:	pkgsrc-wip
Committed By:	matthew <matthewd%fastmail.us@localhost>
Pushed By:	matthewd
Date:		Wed Feb 18 20:55:38 2026 -0700
Changeset:	ea324eb05921c4704031975f56a797777c492151

Modified Files:
	py-cityhash/Makefile
	py-cityhash/PLIST
	py-cityhash/distinfo
Removed Files:
	py-cityhash/patches/patch-setup.py

Log Message:
cityhash: Update to 0.4.10

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=ea324eb05921c4704031975f56a797777c492151

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 py-cityhash/Makefile               | 15 +++------------
 py-cityhash/PLIST                  |  3 ++-
 py-cityhash/distinfo               |  7 +++----
 py-cityhash/patches/patch-setup.py | 15 ---------------
 4 files changed, 8 insertions(+), 32 deletions(-)

diffs:
diff --git a/py-cityhash/Makefile b/py-cityhash/Makefile
index 3cf40b8969..854c4e9b35 100644
--- a/py-cityhash/Makefile
+++ b/py-cityhash/Makefile
@@ -1,30 +1,21 @@
 # $NetBSD$
 
-DISTNAME=	cityhash-0.4.7
+DISTNAME=	cityhash-0.4.10
 PKGNAME=	${PYPKGPREFIX}-${DISTNAME}
 GITHUB_PROJECT=	python-cityhash
 CATEGORIES=	devel
-MASTER_SITES=	${MASTER_SITE_GITHUB:=escherba/}
+MASTER_SITES=	${MASTER_SITE_PYPI:=c/cityhash/}
 
 MAINTAINER=	matthewd%fastmail.us@localhost
 HOMEPAGE=	https://github.com/escherba/cityhash
 COMMENT=	Python wrapper for FarmHash and CityHash
 LICENSE=	modified-bsd
-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
 
-TEST_ENV+=	PYTHONPATH=${WRKSRC}/src
-do-test:
-	cd ${WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHONBIN} setup.py build_ext -i
-	cd ${WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHONBIN} -m pytest -s
+DEPENDS+=	cityhash-[0-9]*:../../textproc/cityhash
 
 USE_LANGUAGES=	c c++
 
diff --git a/py-cityhash/PLIST b/py-cityhash/PLIST
index f26c60e07e..8979ac0b08 100644
--- a/py-cityhash/PLIST
+++ b/py-cityhash/PLIST
@@ -1,8 +1,9 @@
 @comment $NetBSD$
-${PYSITELIB}/${WHEEL_INFODIR}/LICENSE
 ${PYSITELIB}/${WHEEL_INFODIR}/METADATA
 ${PYSITELIB}/${WHEEL_INFODIR}/RECORD
 ${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
+${PYSITELIB}/${WHEEL_INFODIR}/licenses/LICENSE
 ${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt
 ${PYSITELIB}/cityhash.so
+${PYSITELIB}/cityhashcrc.so
 ${PYSITELIB}/farmhash.so
diff --git a/py-cityhash/distinfo b/py-cityhash/distinfo
index 160607c62e..d475b1fe11 100644
--- a/py-cityhash/distinfo
+++ b/py-cityhash/distinfo
@@ -1,6 +1,5 @@
 $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
+BLAKE2s (cityhash-0.4.10.tar.gz) = 40ae7a4da74fdfeb6ed6ee28ccf69e85289955d9bb013ade4dd3b0551f910f74
+SHA512 (cityhash-0.4.10.tar.gz) = de2d260fb380ffaa1b863e013da13f9ec40508dabe24db4fdb48e197a8ba8079ef6b59590e40dfa5d2b39b61dfc32b53f7de16e38c5bdb38cd83b819e71a510e
+Size (cityhash-0.4.10.tar.gz) = 274911 bytes
diff --git a/py-cityhash/patches/patch-setup.py b/py-cityhash/patches/patch-setup.py
deleted file mode 100644
index 9a276ded37..0000000000
--- a/py-cityhash/patches/patch-setup.py
+++ /dev/null
@@ -1,15 +0,0 @@
-$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