Files

40 lines
986 B
Makefile
Raw Permalink Normal View History

COMMENT = Python bindings for The Sleuth Kit (libtsk)
2026-05-22 08:27:29 +00:00
MODPY_DISTV = 20260418
2024-12-21 11:38:51 +00:00
DISTNAME = pytsk3-${MODPY_DISTV}
PKGNAME = py-tsk-${MODPY_DISTV}
2026-05-22 08:27:29 +00:00
# download a copy from github archive as well, to fill in the incomplete
# tests dir from the pypi sdist (this is simpler than fetching the whole
# port from github as it needs a submodule + autoconf scripts generating)
DIST_TUPLE = github py4n6 pytsk ${MODPY_DISTV} .
CATEGORIES = sysutils
HOMEPAGE = https://github.com/py4n6/pytsk/
2026-05-22 08:27:29 +00:00
MAINTAINER = Sebastian Reitenbach <sebastia@openbsd.org>
# Apache v2
PERMIT_PACKAGE = Yes
2025-01-28 09:05:14 +00:00
MODULES = lang/python
2026-05-22 08:27:29 +00:00
## so that we get gawk poisoning in the sleuthkit part
#MODULES += gnu
MODPY_PI = Yes
2022-11-26 15:02:49 +00:00
MODPY_PYBUILD = setuptools
2026-05-22 08:27:29 +00:00
WANTLIB += ${COMPILER_LIBCXX} m
2020-03-17 20:42:46 +00:00
# C++11
2025-01-28 09:05:14 +00:00
COMPILER= base-clang ports-gcc
2020-03-17 20:42:46 +00:00
2026-05-22 08:27:29 +00:00
post-extract:
mv ${WRKDIR}/pytsk-${MODPY_DISTV}/tests/* ${WRKSRC}/tests/
2026-05-22 08:27:29 +00:00
# Ran 30 tests in 0.094s
do-test:
2026-05-22 08:27:29 +00:00
cd ${WRKSRC} && ${SETENV} ${TEST_ENV} ${MODPY_BIN} run_tests.py
.include <bsd.port.mk>