Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Oct 2019 01:05:34 +0000 (UTC)
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r515077 - in head/math/py-networkx: . files
Message-ID:  <201910210105.x9L15Ymr063524@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: yuri
Date: Mon Oct 21 01:05:34 2019
New Revision: 515077
URL: https://svnweb.freebsd.org/changeset/ports/515077

Log:
  math/py-networkx: Update 2.1 -> 2.4
  
  PR:		241352
  Approved by:	dikshie@sfc.wide.ad.jp (maintainer)

Deleted:
  head/math/py-networkx/files/
Modified:
  head/math/py-networkx/Makefile
  head/math/py-networkx/distinfo

Modified: head/math/py-networkx/Makefile
==============================================================================
--- head/math/py-networkx/Makefile	Mon Oct 21 00:23:17 2019	(r515076)
+++ head/math/py-networkx/Makefile	Mon Oct 21 01:05:34 2019	(r515077)
@@ -2,8 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	networkx
-DISTVERSION=	2.1
-PORTREVISION=	2
+DISTVERSION=	2.4
 CATEGORIES=	math python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -18,8 +17,8 @@ RUN_DEPENDS:=	${PYTHON_PKGNAMEPREFIX}decorator>=4.1.0:
 #		${PYTHON_PKGNAMEPREFIX}sphinx>=1.2.3:textproc/py-sphinx@${PY_FLAVOR} \
 #		${PYTHON_PKGNAMEPREFIX}docutils>=0.12:textproc/py-docutils@${PY_FLAVOR}
 
-USES=		python shebangfix zip
-USE_PYTHON=	autoplist concurrent distutils
+USES=		python:3.5+ shebangfix
+USE_PYTHON=	autoplist distutils
 SHEBANG_GLOB=	*.py
 NO_ARCH=	yes
 
@@ -27,7 +26,7 @@ CONFLICTS_INSTALL=	${PYTHON_PKGNAMEPREFIX}networkx1
 
 PLIST_SUB+=	PYTHON_MAJOR_VER=${PYTHON_MAJOR_VER}
 
-OPTIONS_DEFINE=	EXAMPLES YAML
+OPTIONS_DEFINE=	YAML
 OPTIONS_GROUP=	MATRIX RENDER
 OPTIONS_GROUP_MATRIX=	NUMPY SCIPY
 OPTIONS_GROUP_RENDER=	MPL GRAPHVIZ
@@ -49,10 +48,13 @@ GRAPHVIZ_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pygraphvi
 YAML_DESC=	Reading and writing YAML files
 YAML_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}yaml>=0:devel/py-yaml@${PY_FLAVOR}
 
-PORTEXAMPLES=	*
+POST_PLIST=	rm-examples-docs-from-plist
 
+rm-examples-docs-from-plist:
+	@${REINPLACE_CMD} '/.*\/examples\//d' ${TMPPLIST}
+	@${REINPLACE_CMD} '/.*\/doc\//d' ${TMPPLIST}
+
 post-install:
-	${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
-	cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}
+	@${RM} -r ${STAGEDIR}${PREFIX}/share
 
 .include <bsd.port.mk>

Modified: head/math/py-networkx/distinfo
==============================================================================
--- head/math/py-networkx/distinfo	Mon Oct 21 00:23:17 2019	(r515076)
+++ head/math/py-networkx/distinfo	Mon Oct 21 01:05:34 2019	(r515077)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1534738249
-SHA256 (networkx-2.1.zip) = 64272ca418972b70a196cb15d9c85a5a6041f09a2f32e0d30c0255f25d458bb1
-SIZE (networkx-2.1.zip) = 1612593
+TIMESTAMP = 1571523367
+SHA256 (networkx-2.4.tar.gz) = f8f4ff0b6f96e4f9b16af6b84622597b5334bf9cae8cf9b2e42e7985d5c95c64
+SIZE (networkx-2.4.tar.gz) = 1462338



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201910210105.x9L15Ymr063524>