37 lines
811 B
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.11 2019/04/28 20:51:52 sthen Exp $
COMMENT = Digital Forensics date and time
2018-09-07 05:54:45 +00:00
MODPY_EGG_VERSION = 20180704
2018-03-01 09:26:27 +00:00
DISTNAME = dfdatetime-${MODPY_EGG_VERSION}
PKGNAME = py-${DISTNAME}
REVISION = 0
CATEGORIES = security devel
HOMEPAGE = https://github.com/log2timeline/dfdatetime/wiki
MAINTAINER = Remi Pointel <rpointel@openbsd.org>
2018-03-01 09:26:27 +00:00
MASTER_SITES = https://github.com/log2timeline/dfdatetime/releases/download/${MODPY_EGG_VERSION}/
# Apachev2
PERMIT_PACKAGE_CDROM = Yes
MODULES = lang/python
MODPY_SETUPTOOLS = Yes
FLAVORS = python3
FLAVOR ?=
TEST_DEPENDS += devel/py-mock${MODPY_FLAVOR}
# make it possible to install both (un)FLAVORed packages alongside
post-install:
rm -rf ${PREFIX}/share/doc/dfdatetime/
do-test:
cd ${WRKSRC} && ${MODPY_BIN} run_tests.py
.include <bsd.port.mk>