pkgsrc-WIP-changes archive

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

python-cityhash: 0.4.1



Module Name:	pkgsrc-wip
Committed By:	Matthew Danielson <matthewd%fastmail.us@localhost>
Pushed By:	matthewd
Date:		Mon Apr 11 12:07:38 2022 -0700
Changeset:	5e008e742ba8aa8564c5a46fcfe028ea080dcf7f

Added Files:
	py-cityhash/DESCR
	py-cityhash/Makefile
	py-cityhash/PLIST
	py-cityhash/distinfo

Log Message:
python-cityhash: 0.4.1

Python wrappers for cityhash

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

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

diffstat:
 py-cityhash/DESCR    |  2 ++
 py-cityhash/Makefile | 25 +++++++++++++++++++++++++
 py-cityhash/PLIST    | 11 +++++++++++
 py-cityhash/distinfo |  5 +++++
 4 files changed, 43 insertions(+)

diffs:
diff --git a/py-cityhash/DESCR b/py-cityhash/DESCR
new file mode 100644
index 0000000000..b73553e50b
--- /dev/null
+++ b/py-cityhash/DESCR
@@ -0,0 +1,2 @@
+Python wrapper for FarmHash and CityHash, a family of fast
+non-cryptographic hash functions.
diff --git a/py-cityhash/Makefile b/py-cityhash/Makefile
new file mode 100644
index 0000000000..ac1ec4453a
--- /dev/null
+++ b/py-cityhash/Makefile
@@ -0,0 +1,25 @@
+# $NetBSD$
+
+DISTNAME=	cityhash-0.4.1
+PKGNAME=	${PYPKGPREFIX}-${DISTNAME}
+GITHUB_PROJECT=	python-cityhash
+CATEGORIES=	devel
+MASTER_SITES=	${MASTER_SITE_GITHUB:=escherba/}
+
+MAINTAINER=	matthewd%fastmail.us@localhost
+HOMEPAGE=	https://github.com/escherba/cityhash
+COMMENT=	Python wrapper for FarmHash and CityHash
+LICENSE=	modified-bsd
+
+WRKSRC=	${WRKDIR}/python-${DISTNAME}
+
+DEPENDS+=	cityhash-[0-9]*:../../textproc/cityhash
+TEST_DEPENDS+=	${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
+
+do-test:
+	cd ${WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHONBIN} -m pytest -s
+
+USE_LANGUAGES=	c c++
+
+.include "../../lang/python/wheel.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/py-cityhash/PLIST b/py-cityhash/PLIST
new file mode 100644
index 0000000000..5404c88982
--- /dev/null
+++ b/py-cityhash/PLIST
@@ -0,0 +1,11 @@
+@comment $NetBSD$
+${PYSITELIB}/${WHEEL_INFODIR}/INSTALLER
+${PYSITELIB}/${WHEEL_INFODIR}/LICENSE
+${PYSITELIB}/${WHEEL_INFODIR}/METADATA
+${PYSITELIB}/${WHEEL_INFODIR}/RECORD
+${PYSITELIB}/${WHEEL_INFODIR}/REQUESTED
+${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
+${PYSITELIB}/${WHEEL_INFODIR}/direct_url.json
+${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt
+${PYSITELIB}/cityhash.so
+${PYSITELIB}/farmhash.so
diff --git a/py-cityhash/distinfo b/py-cityhash/distinfo
new file mode 100644
index 0000000000..63dd8e8a6c
--- /dev/null
+++ b/py-cityhash/distinfo
@@ -0,0 +1,5 @@
+$NetBSD$
+
+BLAKE2s (cityhash-0.4.1.tar.gz) = 598e6429f86ff2330bdb9f41651096ffc8ff91ea827cf95976fb592bbc18dbf0
+SHA512 (cityhash-0.4.1.tar.gz) = c9ed870360988d26accbc0b065a67e467d50dfc8f8ca63708978e4b894b1d67fb5e108d65eab03d14473afc1e0698f4f63a5ba73eed9beac1dd85c2e305673f4
+Size (cityhash-0.4.1.tar.gz) = 327538 bytes


Home | Main Index | Thread Index | Old Index