openbsd-ports/net/py-IP/Makefile
2011-09-16 11:13:37 +00:00

31 lines
656 B
Makefile

# $OpenBSD: Makefile,v 1.23 2011/09/16 11:13:39 espie Exp $
COMMENT = Python module to handle IPv4 and IPv6 address
MODPY_EGG_VERSION = 0.75
DISTNAME = IPy-${MODPY_EGG_VERSION}
PKGNAME = py-IP-${MODPY_EGG_VERSION}
REVISION= 1
CATEGORIES = net
HOMEPAGE = https://github.com/haypo/python-ipy/wiki
MAINTAINER = Benoit Lecocq <benoit@openbsd.org>
# BSD
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM =Yes
PERMIT_DISTFILES_FTP = Yes
MASTER_SITES = ${MASTER_SITE_PYPI:=I/IPy/}
MODULES = lang/python
MODPY_DISTUTILS_INSTALLARGS = -O2
do-regress:
@cd ${WRKSRC}/test; ${MODPY_BIN} ./test_IPy.py
.include <bsd.port.mk>