Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Apr 2024 09:31:45 GMT
From:      Juraj Lutter <otis@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 67b605b294f5 - main - devel/py-binary_file_search: Add port
Message-ID:  <202404290931.43T9VjcP066687@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by otis:

URL: https://cgit.FreeBSD.org/ports/commit/?id=67b605b294f50d2eedd65bb128cb4ee839af8d9e

commit 67b605b294f50d2eedd65bb128cb4ee839af8d9e
Author:     Juraj Lutter <otis@FreeBSD.org>
AuthorDate: 2024-04-29 09:27:33 +0000
Commit:     Juraj Lutter <otis@FreeBSD.org>
CommitDate: 2024-04-29 09:30:34 +0000

    devel/py-binary_file_search: Add port
    
    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.
---
 devel/Makefile                        |  1 +
 devel/py-binary_file_search/Makefile  | 21 +++++++++++++++++++++
 devel/py-binary_file_search/distinfo  |  3 +++
 devel/py-binary_file_search/pkg-descr |  1 +
 4 files changed, 26 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index 70dde13ecc57..4681b08860ce 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -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
diff --git a/devel/py-binary_file_search/Makefile b/devel/py-binary_file_search/Makefile
new file mode 100644
index 000000000000..29e5288ca193
--- /dev/null
+++ b/devel/py-binary_file_search/Makefile
@@ -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>
diff --git a/devel/py-binary_file_search/distinfo b/devel/py-binary_file_search/distinfo
new file mode 100644
index 000000000000..8ad894e39d5f
--- /dev/null
+++ b/devel/py-binary_file_search/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1714379905
+SHA256 (binary_file_search-0.8.tar.gz) = 4bd08f7c848b58d2de7bb6009dcc571970e02f79780b370e7f4e1f0fcb01b266
+SIZE (binary_file_search-0.8.tar.gz) = 4076
diff --git a/devel/py-binary_file_search/pkg-descr b/devel/py-binary_file_search/pkg-descr
new file mode 100644
index 000000000000..a1c57eb57698
--- /dev/null
+++ b/devel/py-binary_file_search/pkg-descr
@@ -0,0 +1 @@
+Binary search algorithm for big sorted files that cannot be read into RAM.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202404290931.43T9VjcP066687>