Add a python3 FLAVOR.
This commit is contained in:
parent
d8a64e5c02
commit
1b267d1427
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.3 2016/01/06 10:56:36 sthen Exp $
|
||||
# $OpenBSD: Makefile,v 1.4 2016/08/31 12:39:34 ajacoutot Exp $
|
||||
|
||||
COMMENT = Python 3.3's ipaddress for Python 2.6 and 2.7#'
|
||||
|
||||
@ -6,6 +6,7 @@ MODPY_EGG_VERSION = 1.0.16
|
||||
DISTNAME = ipaddress-${MODPY_EGG_VERSION}
|
||||
PKGNAME = py-${DISTNAME}
|
||||
CATEGORIES = net
|
||||
REVISION = 0
|
||||
|
||||
HOMEPAGE = https://github.com/phihag/ipaddress
|
||||
|
||||
@ -16,9 +17,12 @@ MODPY_PI = Yes
|
||||
MODULES = lang/python
|
||||
MODPY_SETUPTOOLS = Yes
|
||||
|
||||
TEST_DEPENDS = devel/py-nose
|
||||
TEST_DEPENDS = devel/py-nose${MODPY_FLAVOR}
|
||||
|
||||
FLAVORS = python3
|
||||
FLAVOR ?=
|
||||
|
||||
do-test:
|
||||
cd ${WRKSRC}; nosetests
|
||||
cd ${WRKSRC}; nosetests${MODPY_BIN_SUFFIX}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,8 +1,8 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2015/06/08 10:32:12 sthen Exp $
|
||||
@comment $OpenBSD: PLIST,v 1.2 2016/08/31 12:39:34 ajacoutot Exp $
|
||||
lib/python${MODPY_VERSION}/site-packages/${MODPY_PYCACHE}ipaddress.${MODPY_PYC_MAGIC_TAG}pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/ipaddress-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/
|
||||
lib/python${MODPY_VERSION}/site-packages/ipaddress-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/PKG-INFO
|
||||
lib/python${MODPY_VERSION}/site-packages/ipaddress-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/SOURCES.txt
|
||||
lib/python${MODPY_VERSION}/site-packages/ipaddress-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/dependency_links.txt
|
||||
lib/python${MODPY_VERSION}/site-packages/ipaddress-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/top_level.txt
|
||||
lib/python${MODPY_VERSION}/site-packages/ipaddress.py
|
||||
lib/python${MODPY_VERSION}/site-packages/ipaddress.pyc
|
||||
|
Loading…
Reference in New Issue
Block a user