ports/math/py-pyprobables/Makefile
Po-Chuan Hsieh eeb13706e3
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.
2024-02-21 23:06:07 +08:00

23 lines
594 B
Makefile

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 <bsd.port.mk>