kmos 2795ba2341 Bump the REVISION on all ports that use the python2 version of
py-setuptools.

Also change the lang/python module to use the new
devel/py2-setuptools for python2 ports

ok sthen@
2021-05-21 19:50:21 +00:00

29 lines
549 B
Makefile

# $OpenBSD: Makefile,v 1.12 2021/05/21 19:50:33 kmos Exp $
COMMENT = network address representation and manipulation library
MODPY_EGG_VERSION = 0.7.19
DISTNAME = netaddr-${MODPY_EGG_VERSION}
PKGNAME = py-${DISTNAME}
REVISION = 4
CATEGORIES = net
HOMEPAGE = http://github.com/drkjam/netaddr/
# MIT
PERMIT_PACKAGE = Yes
MODULES = lang/python
MODPY_PI = Yes
MODPY_SETUPTOOLS = Yes
MODPY_PYTEST = Yes
FLAVOR ?=
FLAVORS = python3
post-install:
mv ${PREFIX}/bin/netaddr ${PREFIX}/bin/netaddr${MODPY_BIN_SUFFIX}
.include <bsd.port.mk>