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

34 lines
641 B
Makefile

# $OpenBSD: Makefile,v 1.9 2019/04/28 20:51:35 sthen Exp $
COMMENT = Python Build Reasonableness
MODPY_EGG_VERSION = 4.0.2
DISTNAME = pbr-${MODPY_EGG_VERSION}
PKGNAME = ${DISTNAME:S/^/py-/}
CATEGORIES = devel
REVISION = 0
HOMEPAGE = https://github.com/openstack-dev/pbr
# Apache 2.0
PERMIT_PACKAGE_CDROM = Yes
MODULES = lang/python
MODPY_PI = Yes
MODPY_SETUPTOOLS = Yes
FLAVORS = python3
FLAVOR ?=
TEST_DEPENDS = devel/py-testtools${MODPY_FLAVOR} \
devel/py-virtualenv${MODPY_FLAVOR}
# also needs testscenarios
NO_TEST = Yes
post-install:
mv ${PREFIX}/bin/pbr ${PREFIX}/bin/pbr${MODPY_BIN_SUFFIX}
.include <bsd.port.mk>