From nobody Wed Feb 21 15:17:15 2024 X-Original-To: dev-commits-ports-main@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 4Tg0Hw4wgzz59dlm; Wed, 21 Feb 2024 15:17:16 +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 4Tg0Hw0hVcz4tCk; Wed, 21 Feb 2024 15:17:16 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1708528636; 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=WUzgzPrDLVsNM6ZJORva8Axwb66zBuMgTQMZtYjYkmE=; b=QSfvuRVz3SadYKQwR8uOGFbudrrwrh9dIk7lGutLXyDRDZZJj0HxOW5AVd3Eanz7k2OAlI CYgNLB8TRrCPQQqCAyYgOqONFYSp5uLSzjJS1q18knPIpXSR5dhYz1Hdzk4oCSv5iK1JBj 3hv/IW58lU4ugwobUtuoam7YrqgqsoU0DgUenaRBBdFWfl7m+nvx/FN5BobYvUfJIC/eQT CDkyjfVBmo02N5oeOMLqoXw4qSD/QwmdZ7dxKK06XbkCMwJ3hZjE2cltWCcAqk/0+dccQq OQU1Dg3yUR57CS9GUdRsUdf+thtfOtBvJEJXE5h2noe2Ry0jWTKZc8P7Bq8J4g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1708528636; 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=WUzgzPrDLVsNM6ZJORva8Axwb66zBuMgTQMZtYjYkmE=; b=lAaubuFYsCcheDxeCMJQiMe92qfuK1HrSGpm7H8f4WEe1hljtgd9dMAPZ3JMywGZAR+Egd T+ilgoRXS1C7r0Puxn2b9822WWxILTQaNly2CJFn2ktZFJnvkRu5iCMbQFYNt3lnnXBMSJ aGyO4jM4mjypSXfQMvxvxYPu4/Fp/zC4Np+9EOCBxUzePzlkSU/uPi9DVD7ayFYGK9w3ze YSBQLez6SNUkdjFYbt95jkowAdyGGdt+LlEP8Ap1xUTwDgAd/wiGlcOeXiru8lRi/PAnui OiR8XxIb61dY65UMlQ4TW5PXI46pe7u7bF74USRGn/+83AohW+7W0JFiYqhFOw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1708528636; a=rsa-sha256; cv=none; b=c3z/Ea/Rnd38RD8IF5LiA5SEj3Itq5QMpzUXccqUTbvo+4phMOJARXawIQzyYnihzHYRbO 94MXyb8GyrypThHG75oC2kZ1dngXzCnAAyNo+RXLxZcqRjtBR1KVcNmOzlziTvbYp61hPW mkKc44LL+bonXJLaYKSA5vRbKmrVzpmhjbuY+F1a/BycqKqYWLD/ozRrhRbi46p4lKmjOL iNL90qaIBh0h/sTHNCjjAtj/9czT2s5uenpJ32pjMfRetjCXvx0OJiRq9gT1wpq9KKlMKp GPU3NbNGNVXiZ6jsj4JbPcVeiZ4o/Aab8J7EPqLofS8CPh+YQVG9DhLbSUeeqg== 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 4Tg0Hv6vywz17B1; Wed, 21 Feb 2024 15:17:15 +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 41LFHF9l012212; Wed, 21 Feb 2024 15:17:15 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 41LFHFUG012209; Wed, 21 Feb 2024 15:17:15 GMT (envelope-from git) Date: Wed, 21 Feb 2024 15:17:15 GMT Message-Id: <202402211517.41LFHFUG012209@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: eeb13706e367 - main - math/py-pyprobables: Add py-pyprobables 0.6.0 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@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: eeb13706e36700007f3ad4740b7158e801197ba8 Auto-Submitted: auto-generated The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=eeb13706e36700007f3ad4740b7158e801197ba8 commit eeb13706e36700007f3ad4740b7158e801197ba8 Author: Po-Chuan Hsieh AuthorDate: 2024-02-21 14:13:03 +0000 Commit: Po-Chuan Hsieh CommitDate: 2024-02-21 15:06:07 +0000 math/py-pyprobables: Add py-pyprobables 0.6.0 pyprobables is a pure-python library for probabilistic data structures. The goal is to provide the developer with a pure-python implementation of common probabilistic data-structures to use in their work. To achieve better raw performance, it is recommended supplying an alternative hashing algorithm that has been compiled in C. This could include using the MD5 and SHA512 algorithms provided or installing a third party package and writing your own hashing strategy. Some options include the murmur hash mmh3 or those from the pyhash library. Each data object in pyprobables makes it easy to pass in a custom hashing function. --- math/Makefile | 1 + math/py-pyprobables/Makefile | 23 +++++++++++++++++++++++ math/py-pyprobables/distinfo | 3 +++ math/py-pyprobables/pkg-descr | 10 ++++++++++ 4 files changed, 37 insertions(+) diff --git a/math/Makefile b/math/Makefile index c62c66cc61b2..22e036769902 100644 --- a/math/Makefile +++ b/math/Makefile @@ -1035,6 +1035,7 @@ SUBDIR += py-pynndescent SUBDIR += py-pyodeint SUBDIR += py-pyodesys + SUBDIR += py-pyprobables SUBDIR += py-pyreadr SUBDIR += py-pyrr SUBDIR += py-pysmt diff --git a/math/py-pyprobables/Makefile b/math/py-pyprobables/Makefile new file mode 100644 index 000000000000..17301a3275bf --- /dev/null +++ b/math/py-pyprobables/Makefile @@ -0,0 +1,23 @@ +PORTNAME= pyprobables +PORTVERSION= 0.6.0 +CATEGORIES= math python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Probabilistic data structures in python +WWW= https://pyprobables.readthedocs.io/en/latest/ \ + https://github.com/barrust/pyprobables + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=61.2.0:devel/py-setuptools@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} + +USES= python +USE_PYTHON= autoplist concurrent pep517 + +NO_ARCH= yes + +.include diff --git a/math/py-pyprobables/distinfo b/math/py-pyprobables/distinfo new file mode 100644 index 000000000000..18c54f3fad3c --- /dev/null +++ b/math/py-pyprobables/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1708448834 +SHA256 (pyprobables-0.6.0.tar.gz) = a4e72bdb4d3513121b33377728c9eafd2ae8495d5201d6a90abc3d52d9a17901 +SIZE (pyprobables-0.6.0.tar.gz) = 33638 diff --git a/math/py-pyprobables/pkg-descr b/math/py-pyprobables/pkg-descr new file mode 100644 index 000000000000..554724a7ab5d --- /dev/null +++ b/math/py-pyprobables/pkg-descr @@ -0,0 +1,10 @@ +pyprobables is a pure-python library for probabilistic data structures. The goal +is to provide the developer with a pure-python implementation of common +probabilistic data-structures to use in their work. + +To achieve better raw performance, it is recommended supplying an alternative +hashing algorithm that has been compiled in C. This could include using the MD5 +and SHA512 algorithms provided or installing a third party package and writing +your own hashing strategy. Some options include the murmur hash mmh3 or those +from the pyhash library. Each data object in pyprobables makes it easy to pass +in a custom hashing function.