From nobody Wed Feb 21 15:17:09 2024 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Tg0Hn2zsyz59dj9; Wed, 21 Feb 2024 15:17:09 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Tg0Hn1q93z4tBG; Wed, 21 Feb 2024 15:17:09 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1708528629; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=d2EPFX1v5mCwUJFaBgaije9BflnMPlafNMYVE/zH8eY=; b=MILS89vQc5IJmLUHnUj4CDdE1aACo2l5FzBpoCv08H0o/RhY9nN4w5aiCpwjCPxM1//Bgt uXrSU+zO/tqn3cNRRCssxSvfS1dH6syC7ioqcEe5yQpuZdEPqn0rNnLxTeP76PRCdGLzXy Un85aVYnaakJrofj3MqzqkoUflG1zUnJhm5blUPLarWg3Y1ygjr/KZBIf1jn3ldKYaQTWK 8llVYnj3ehnCIuwd/wfFr9xiEj9DpF++mcfBM1SX2K+PFhSk9L7YHO3J2srIeULjbHjNAT 8Mfm2vJI0kabuEzDTvdH2zhNQ0uAtrVxD2qCALmpSHok3d/ZPfmh1hDTdOr1cQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1708528629; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=d2EPFX1v5mCwUJFaBgaije9BflnMPlafNMYVE/zH8eY=; b=bIZ+yA3Atb0o1/AOga9Qb5NNZViUVpHbvsiCbBc+2krjA+KoJY2dOWHS3xRwjFwxeTKI4M 5evfqoS1r8raXapkQ91uwvhunDnIz4tIGkkbsoGurHEecot8NSaNHH/N+afH16/Mqwyerv KpefkLlbqJosjT42oLsSouPPPN4qNe0+U+N5RyHvG6ugceDZtxZP15eCOJ2mRkQQqAo4CA VjDiAhinGIJDMCkeXYw2NwslWhGFPWD8d5OfRl/P2F0wbXPQGBH40fNazr0AtJQJsOj8dm vZ5O/Da6z3YzfBna74LaLbEgiBe4BR3/ho1sQI+CPo9EatRRoITQDizslro22g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1708528629; a=rsa-sha256; cv=none; b=Zj7dsOjPq3j5AXHHRFHunhYaIy7MUZW9TMt/HMQJn/ZTk2HflER1YjCqismZkrFnVE8sO1 JOcrU1tqrLIZY98gY0+nuU+9nOe47LN8W7G4uvrRfyaDfmIY2XD0c2KLZha7iSeGCmEmTS lHPPfwBx0czG54srhBAbAWKaCAU7LwwZwmc/OHHXEnK1Wdn2jlRrOoFLNMBp99m6XcW8dG ZDFQjFn46mzBGAQdGBIGbrHGBKwD8Rd6rMrjqvgO5+aFPsabge2FWIpJuHC1fFd0gMUt5x UcPoWK7l6v3vTr9qijMXuJjhIAStpcmJMDoc4OU3HtubJPmgfU+dq52NjZ9iSQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Tg0Hn0wW1z16kM; Wed, 21 Feb 2024 15:17:09 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 41LFH9L0011964; Wed, 21 Feb 2024 15:17:09 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 41LFH9me011961; Wed, 21 Feb 2024 15:17:09 GMT (envelope-from git) Date: Wed, 21 Feb 2024 15:17:09 GMT Message-Id: <202402211517.41LFH9me011961@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Po-Chuan Hsieh Subject: git: e0bab44c0245 - main - devel/py-mmh3: Add py-mmh3 4.1.0 List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: sunpoet X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: e0bab44c0245be5c46717f8342f652b6f0a27380 Auto-Submitted: auto-generated The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=e0bab44c0245be5c46717f8342f652b6f0a27380 commit e0bab44c0245be5c46717f8342f652b6f0a27380 Author: Po-Chuan Hsieh AuthorDate: 2024-02-21 14:12:50 +0000 Commit: Po-Chuan Hsieh CommitDate: 2024-02-21 15:06:05 +0000 devel/py-mmh3: Add py-mmh3 4.1.0 mmh3 is a Python extension for MurmurHash (MurmurHash3), a set of fast and robust non-cryptographic hash functions invented by Austin Appleby. Combined with probabilistic techniques like a Bloom filter, MinHash, and feature hashing, mmh3 allows you to develop high-performance systems in fields such as data mining, machine learning, and natural language processing. Another common use of mmh3 is to calculate favicon hashes used by Shodan, the world's first IoT search engine. --- devel/Makefile | 1 + devel/py-mmh3/Makefile | 23 +++++++++++++++++++++++ devel/py-mmh3/distinfo | 3 +++ devel/py-mmh3/pkg-descr | 9 +++++++++ 4 files changed, 36 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index 32dfe11ad80b..4c50a5c732c7 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -5030,6 +5030,7 @@ SUBDIR += py-minimal-snowplow-tracker SUBDIR += py-minimongo SUBDIR += py-minio + SUBDIR += py-mmh3 SUBDIR += py-mock SUBDIR += py-molecule SUBDIR += py-mondrian diff --git a/devel/py-mmh3/Makefile b/devel/py-mmh3/Makefile new file mode 100644 index 000000000000..9f0e8ad70dfc --- /dev/null +++ b/devel/py-mmh3/Makefile @@ -0,0 +1,23 @@ +PORTNAME= mmh3 +PORTVERSION= 4.1.0 +CATEGORIES= devel python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Python extension for MurmurHash3, a set of fast and robust hash functions +WWW= https://github.com/hajimes/mmh3 + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=61.0.0:devel/py-setuptools@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} + +USES= python +USE_PYTHON= autoplist concurrent pep517 + +post-install: + ${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} + + +.include diff --git a/devel/py-mmh3/distinfo b/devel/py-mmh3/distinfo new file mode 100644 index 000000000000..c3265c5ac32a --- /dev/null +++ b/devel/py-mmh3/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1708448824 +SHA256 (mmh3-4.1.0.tar.gz) = a1cf25348b9acd229dda464a094d6170f47d2850a1fcb762a3b6172d2ce6ca4a +SIZE (mmh3-4.1.0.tar.gz) = 26357 diff --git a/devel/py-mmh3/pkg-descr b/devel/py-mmh3/pkg-descr new file mode 100644 index 000000000000..e16b72b3349a --- /dev/null +++ b/devel/py-mmh3/pkg-descr @@ -0,0 +1,9 @@ +mmh3 is a Python extension for MurmurHash (MurmurHash3), a set of fast and +robust non-cryptographic hash functions invented by Austin Appleby. + +Combined with probabilistic techniques like a Bloom filter, MinHash, and feature +hashing, mmh3 allows you to develop high-performance systems in fields such as +data mining, machine learning, and natural language processing. + +Another common use of mmh3 is to calculate favicon hashes used by Shodan, the +world's first IoT search engine.