summaryrefslogtreecommitdiff
path: root/net/py-IP/Makefile
blob: d29e6c1287717f59ad7f2bcf16f0aa91d6900aa5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# $NetBSD: Makefile,v 1.26 2022/01/14 11:29:02 wiz Exp $

DISTNAME=	IPy-1.01
PKGNAME=	${PYPKGPREFIX}-${DISTNAME:S/IPy/IP/}
PKGREVISION=	1
CATEGORIES=	net python
MASTER_SITES=	${MASTER_SITE_PYPI:=I/IPy/}

MAINTAINER=	wenheping@gmail.com
HOMEPAGE=	https://github.com/haypo/python-ipy
COMMENT=	Python module to handle IPv4 and IPv6 address
LICENSE=	modified-bsd

USE_LANGUAGES=	# none

.include "../../lang/python/pyversion.mk"

.if ${PYPKGPREFIX} != "py27"
EGG_NAME=	IPy-1.1
.endif

do-test:
	cd ${WRKSRC}/test && ${SETENV} ${TEST_ENV} ${PYTHONBIN} test_IPy.py

.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"