d634cec495
Release: 0.7.19: * added a new SubnetSplitter class for those looking to divide up subnets. Thanks alanwill and RyPeck and those on (Stack Overflow discussion). * removed bundled pytest dependency code for "python setup.py test". * setup.py now uses setuptools only (no more distutils) and setup_egg.py removed. * cleaned up INSTALL docs so they accurately reflect current Python packaging. * fixed broken parsing, generating and reading of IEEE index files when switching between Python 2.x and 3.x.
24 lines
697 B
Makefile
24 lines
697 B
Makefile
# $NetBSD: Makefile,v 1.4 2017/09/28 12:25:11 adam Exp $
|
|
|
|
DISTNAME= netaddr-0.7.19
|
|
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
|
CATEGORIES= net python
|
|
MASTER_SITES= ${MASTER_SITE_PYPI:=n/netaddr/}
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= https://pypi.python.org/pypi/netaddr/
|
|
COMMENT= Python library for manipluating network addresses
|
|
LICENSE= modified-bsd
|
|
|
|
USE_LANGUAGES= # none
|
|
|
|
REPLACE_PYTHON+= netaddr/eui/ieee.py
|
|
REPLACE_PYTHON+= netaddr/ip/iana.py
|
|
REPLACE_PYTHON+= netaddr/tools/netaddr
|
|
|
|
post-install:
|
|
cd ${DESTDIR}${PREFIX}/bin && ${MV} netaddr netaddr${PYVERSSUFFIX} || ${TRUE}
|
|
|
|
.include "../../lang/python/application.mk"
|
|
.include "../../lang/python/egg.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|