sthen 248932be74 switch MODPY_BIN_SUFFIX to -2 for py2 and (blank) for py3
switch ports using command-line tools from py-sphinx that don't need a
py2 version of it to py3-sphinx
2021-02-19 23:13:00 +00:00

30 lines
548 B
Makefile

# $OpenBSD: Makefile,v 1.6 2021/02/19 23:13:02 sthen Exp $
COMMENT = pretty-print tabular data
MODPY_EGG_VERSION = 0.8.7
DISTNAME = tabulate-${MODPY_EGG_VERSION}
PKGNAME = py-${DISTNAME}
REVISION = 1
CATEGORIES = devel
HOMEPAGE = https://github.com/astanin/python-tabulate
# MIT
PERMIT_PACKAGE = Yes
MODULES = lang/python
MODPY_SETUPTOOLS = Yes
MODPY_PI = Yes
FLAVORS = python3
FLAVOR ?=
TEST_DEPENDS = devel/py-nose${MODPY_FLAVOR}
post-install:
mv ${PREFIX}/bin/tabulate ${PREFIX}/bin/tabulate${MODPY_BIN_SUFFIX}
.include <bsd.port.mk>