diff --git a/devel/Makefile b/devel/Makefile index fb315f8f555eb..a305625d1acf9 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 0000000000000..5bb5aabdc7cc8 --- /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 diff --git a/devel/py-acstore/distinfo b/devel/py-acstore/distinfo new file mode 100644 index 0000000000000..0f7edd4636168 --- /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 0000000000000..7d3b89bd6b998 --- /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.