View | Details | Raw Unified | Return to bug 229448
Collapse All | Expand All

(-)py-intbitset/Makefile (+24 lines)
Line 0 Link Here
1
# $FreeBSD$
2
3
PORTNAME=	intbitset
4
DISTVERSION=	2.3.0
5
CATEGORIES=	devel python
6
MASTER_SITES=	CHEESESHOP
7
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
8
9
MAINTAINER=	freebsd_ports@k-worx.org
10
COMMENT=	C-based extension implementing fast integer bit sets
11
12
LICENSE=	LGPL3
13
LICENSE_FILE=	${WRKSRC}/LICENSE
14
15
RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}six>=0:devel/py-six@${PY_FLAVOR}
16
TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}nose>=0:devel/py-nose@${PY_FLAVOR}
17
18
USES=		python
19
USE_PYTHON=	cython distutils autoplist
20
21
do-test:
22
	@cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test
23
24
.include <bsd.port.mk>
(-)py-intbitset/distinfo (+3 lines)
Line 0 Link Here
1
TIMESTAMP = 1530193455
2
SHA256 (intbitset-2.3.0.tar.gz) = 589aff5117f2660767e04499dabb6288ef88e05566d3ac1d9fa3bb7cac4d5ef5
3
SIZE (intbitset-2.3.0.tar.gz) = 139490
(-)py-intbitset/pkg-descr (+19 lines)
Line 0 Link Here
1
The intbitset library provides a set implementation to store sorted unsigned
2
integers either 32-bits integers or an infinite range with fast set operations
3
implemented via bit vectors in a Python C extension for speed and reduced memory
4
usage.
5
6
The inbitset class emulates the Python built-in set class interface with some
7
additional specific methods such as its own fast dump and load marshalling
8
functions.
9
10
intbitset additionally support the pickle protocol, the iterator protocol and
11
can behave like a sequence that can be sliced. Because the integers are always
12
stored sorted, the first element of a non-empty set [0] is also the min()
13
integer and the last element [-1] is also the max() integer in the set.
14
15
When compared to the standard library set class, intbitset set operations such
16
as intersection, union and difference can be up to 5000 faster for dense integer
17
sets.
18
19
WWW: https://github.com/inveniosoftware/intbitset/

Return to bug 229448