Move from MODPY_DEFAULT_VERSION_3 to python3 FLAVOR.

ok jasper@ (maintainer)
This commit is contained in:
ajacoutot 2020-06-14 10:13:55 +00:00
parent f596247dc7
commit 51b6bb2cd5
2 changed files with 7 additions and 3 deletions

View File

@ -1,10 +1,11 @@
# $OpenBSD: Makefile,v 1.1.1.1 2019/06/06 20:18:57 kn Exp $
# $OpenBSD: Makefile,v 1.2 2020/06/14 10:13:55 ajacoutot Exp $
COMMENT = module for creating and manipulating graphs and networks
MODPY_EGG_VERSION = 2.3
DISTNAME = networkx-${MODPY_EGG_VERSION}
PKGNAME = py-${DISTNAME}
REVISION = 0
CATEGORIES = math
@ -18,10 +19,12 @@ PERMIT_PACKAGE = Yes
EXTRACT_SUFX = .zip
MODULES = lang/python
MODPY_VERSION = ${MODPY_DEFAULT_VERSION_3}
MODPY_PI = Yes
MODPY_SETUPTOOLS = Yes
FLAVORS= python3
FLAVOR= python3
RUN_DEPENDS = devel/py-decorator${MODPY_FLAVOR}>=4.3.0
TEST_DEPENDS = devel/py-nose${MODPY_FLAVOR}

View File

@ -1,4 +1,5 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2019/06/06 20:18:59 kn Exp $
@comment $OpenBSD: PLIST,v 1.2 2020/06/14 10:13:55 ajacoutot Exp $
@pkgpath math/py-networkx
lib/python${MODPY_VERSION}/site-packages/networkx/
lib/python${MODPY_VERSION}/site-packages/networkx-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/
lib/python${MODPY_VERSION}/site-packages/networkx-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/PKG-INFO