sthen d7f0752227 bump all the py3 things, _SYSTEM_VERSION didn't quite work out how
we expected and it's easier|safer to do it this way than fiddle with
pkg_add now. thanks aja for update tests with a quick bulk.
2019-04-28 20:51:26 +00:00

33 lines
684 B
Makefile

# $OpenBSD: Makefile,v 1.5 2019/04/28 20:51:32 sthen Exp $
COMMENT = data type fabric
MODPY_EGG_VERSION = 20181128
DISTNAME = dtfabric-${MODPY_EGG_VERSION}
PKGNAME = py-${DISTNAME}
REVISION = 0
CATEGORIES = devel
MAINTAINER = Remi Pointel <rpointel@openbsd.org>
# Apache v2
PERMIT_PACKAGE_CDROM = Yes
MODULES = lang/python
MODPY_SETUPTOOLS = Yes
MODPY_PI = Yes
RUN_DEPENDS = textproc/py-yaml${MODPY_FLAVOR}
FLAVORS = python3
FLAVOR ?=
# make it possible to install both (un)FLAVORed packages alongside
post-install:
rm -rf ${PREFIX}/share/doc/dtfabric/
mv ${PREFIX}/bin/validate-definitions.py ${PREFIX}/bin/validate-definitions${MODPY_BIN_SUFFIX}
.include <bsd.port.mk>