Skip to content

Commit

Permalink
devel/py-binary_file_search: Add port
Browse files Browse the repository at this point in the history
Add a port for BinaryFileSearch. It is a binary search algorithm for big
sorted files that cannot be read into RAM.

Also connect it to build.
  • Loading branch information
jurajlutter committed Apr 29, 2024
1 parent c97c75b commit 67b605b
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 0 deletions.
1 change: 1 addition & 0 deletions devel/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4432,6 +4432,7 @@
SUBDIR += py-beniget
SUBDIR += py-bidict
SUBDIR += py-billiard
SUBDIR += py-binary_file_search
SUBDIR += py-binaryornot
SUBDIR += py-biplist
SUBDIR += py-bitarray
Expand Down
21 changes: 21 additions & 0 deletions devel/py-binary_file_search/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
PORTNAME= binary_file_search
DISTVERSION= 0.8
CATEGORIES= devel python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}

MAINTAINER= otis@FreeBSD.org
COMMENT= Binary search algorithm for big sorted files that cannot be read into RAM
WWW= https://github.com/MrTomRod/BinaryFileSearch

LICENSE= APACHE20

BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>0:devel/py-setuptools@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}wheel>=0.42.0:devel/py-wheel@${PY_FLAVOR}

USES= python
USE_PYTHON= autoplist concurrent distutils

NO_ARCH= yes

.include <bsd.port.mk>
3 changes: 3 additions & 0 deletions devel/py-binary_file_search/distinfo
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
TIMESTAMP = 1714379905
SHA256 (binary_file_search-0.8.tar.gz) = 4bd08f7c848b58d2de7bb6009dcc571970e02f79780b370e7f4e1f0fcb01b266
SIZE (binary_file_search-0.8.tar.gz) = 4076
1 change: 1 addition & 0 deletions devel/py-binary_file_search/pkg-descr
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Binary search algorithm for big sorted files that cannot be read into RAM.

0 comments on commit 67b605b

Please sign in to comment.