git: b049ad01adf7 - main - devel/py-acstore: new port

From: Antoine Brodin <antoine_at_FreeBSD.org>
Date: Wed, 14 Feb 2024 15:05:51 UTC
The branch main has been updated by antoine:

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

commit b049ad01adf72b44eb8581f1af18787f82069459
Author:     Antoine Brodin <antoine@FreeBSD.org>
AuthorDate: 2024-02-14 15:05:28 +0000
Commit:     Antoine Brodin <antoine@FreeBSD.org>
CommitDate: 2024-02-14 15:05:49 +0000

    devel/py-acstore: new port
    
    ACStore, or Attribute Container Storage, provides a stand-alone implementation
    to read and write Attribute Container stores, such as Plaso storage files.
---
 devel/Makefile             |  1 +
 devel/py-acstore/Makefile  | 28 ++++++++++++++++++++++++++++
 devel/py-acstore/distinfo  |  3 +++
 devel/py-acstore/pkg-descr |  2 ++
 4 files changed, 34 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index fb315f8f555e..a305625d1acf 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -4211,6 +4211,7 @@
     SUBDIR += py-about-time
     SUBDIR += py-absl
     SUBDIR += py-absl-py
+    SUBDIR += py-acstore
     SUBDIR += py-adb
     SUBDIR += py-addict
     SUBDIR += py-aenum
diff --git a/devel/py-acstore/Makefile b/devel/py-acstore/Makefile
new file mode 100644
index 000000000000..5bb5aabdc7cc
--- /dev/null
+++ b/devel/py-acstore/Makefile
@@ -0,0 +1,28 @@
+PORTNAME=	acstore
+PORTVERSION=	20230519
+CATEGORIES=	devel python
+MASTER_SITES=	PYPI \
+		https://github.com/log2timeline/acstore/releases/download/${PORTVERSION}/
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	antoine@FreeBSD.org
+COMMENT=	Attribute Container Storage
+WWW=		https://github.com/log2timeline/acstore
+
+LICENSE=	APACHE20
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}yaml>=0:devel/py-yaml@${PY_FLAVOR}
+
+NO_ARCH=	yes
+USES=		python
+USE_PYTHON=	distutils autoplist concurrent
+DO_MAKE_TEST=	${SETENV} ${TEST_ENV} ${PYTHON_CMD}
+TEST_TARGET=	run_tests.py
+
+post-patch:
+	${REINPLACE_CMD} "s,share/doc/acstore,${DOCSDIR_REL}," ${WRKSRC}/setup.py
+	${REINPLACE_CMD} "/pip/d" ${WRKSRC}/requirements.txt
+
+.include <bsd.port.mk>
diff --git a/devel/py-acstore/distinfo b/devel/py-acstore/distinfo
new file mode 100644
index 000000000000..0f7edd463616
--- /dev/null
+++ b/devel/py-acstore/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1707754170
+SHA256 (acstore-20230519.tar.gz) = b9f6d7b1609b9758fc0944ec25e443de0bd1acb6957388c2de5acc641e13d808
+SIZE (acstore-20230519.tar.gz) = 47454
diff --git a/devel/py-acstore/pkg-descr b/devel/py-acstore/pkg-descr
new file mode 100644
index 000000000000..7d3b89bd6b99
--- /dev/null
+++ b/devel/py-acstore/pkg-descr
@@ -0,0 +1,2 @@
+ACStore, or Attribute Container Storage, provides a stand-alone implementation
+to read and write Attribute Container stores, such as Plaso storage files.