Skip to content

Commit

Permalink
devel/py-acstore: new port
Browse files Browse the repository at this point in the history
ACStore, or Attribute Container Storage, provides a stand-alone implementation
to read and write Attribute Container stores, such as Plaso storage files.
  • Loading branch information
ant1 committed Feb 14, 2024
1 parent c3ea12a commit b049ad0
Show file tree
Hide file tree
Showing 4 changed files with 34 additions and 0 deletions.
1 change: 1 addition & 0 deletions devel/Makefile
Expand Up @@ -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
Expand Down
28 changes: 28 additions & 0 deletions 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>
3 changes: 3 additions & 0 deletions devel/py-acstore/distinfo
@@ -0,0 +1,3 @@
TIMESTAMP = 1707754170
SHA256 (acstore-20230519.tar.gz) = b9f6d7b1609b9758fc0944ec25e443de0bd1acb6957388c2de5acc641e13d808
SIZE (acstore-20230519.tar.gz) = 47454
2 changes: 2 additions & 0 deletions 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.

0 comments on commit b049ad0

Please sign in to comment.