pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/51271: Update math/py-networkx 1.11 (new version)



>Number:         51271
>Category:       pkg
>Synopsis:       Update math/py-networkx 1.11 (new version)
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Jun 25 11:55:00 +0000 2016
>Originator:     K.I.A.Derouiche
>Release:        pkgsrc-current
>Organization:
IT Algerian Security Group
>Environment:
NetBSD Loudja.lan 7.0 NetBSD 7.0 i386
>Description:
Update new version 1.11

please see: https://github.com/networkx/networkx/issues
>How-To-Repeat:
n/a
>Fix:
$ diff -ruN Makefile.orig Makefile
--- Makefile.orig	2016-06-20 22:07:13.000000000 +0100
+++ Makefile	2016-06-21 22:46:33.000000000 +0100
@@ -1,19 +1,21 @@
-# $NetBSD: Makefile,v 1.19 2016/06/10 09:06:54 wiz Exp $
+# $NetBSD$
 
-DISTNAME=	networkx-1.10
+DISTNAME=	networkx-1.11
 PKGNAME=	${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=	math python
-MASTER_SITES=	${MASTER_SITE_PYPI:=n/networkx/} \
-		http://networkx.lanl.gov/download/networkx/
+MASTER_SITES=	https://pypi.python.org/packages/c2/93/dbb41b03cf7c878a7409c8e92226531f840a423c9309ea534873a83c9192/
 
 MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
 HOMEPAGE=	http://networkx.lanl.gov/
 COMMENT=	Python package for creating and manipulating graphs and networks
 LICENSE=	modified-bsd
 
-DEPENDS+=	${PYPKGPREFIX}-decorator>=3.4.0:../../devel/py-decorator
+DEPENDS+=	${PYPKGPREFIX}-decorator>=4.0.10:../../devel/py-decorator
 BUILD_DEPENDS+=	${PYPKGPREFIX}-nose>=1.3.7:../../devel/py-nose
 
+
+WRKSRC=		${WRKDIR}/networkx-1.11
+
 USE_LANGUAGES=	# none
 
 PYTHON_SELF_CONFLICT=	yes
@@ -41,6 +43,5 @@
 SUBST_MESSAGE.python=	Fixing path to Python interpreter.
 SUBST_SED.python=	-e "s,/usr/bin/env python,${PYTHONBIN},g"
 
-.include "../../lang/python/application.mk"
-.include "../../lang/python/distutils.mk"
+.include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"

$ diff -ruN distinfo.orig distinfo
--- distinfo.orig	2016-06-25 12:46:08.000000000 +0100
+++ distinfo	2016-06-21 22:19:34.000000000 +0100
@@ -1,6 +1,6 @@
 $NetBSD: distinfo,v 1.8 2015/11/01 09:58:28 wiz Exp $
 
-SHA1 (networkx-1.10.tar.gz) = 99292e464c25be5e96de295752880bf5e5f1848a
-RMD160 (networkx-1.10.tar.gz) = 01b5ce1be48596a31f9b01e22857d33ea0e0d527
-SHA512 (networkx-1.10.tar.gz) = fc0a0b929991baef63c30382c2045d551b217140393a4264b18a5f1be198d325eee9f57e02dda38a7ad9f99771c5b78f82c673a88b04df122b9d91852db09efd
-Size (networkx-1.10.tar.gz) = 1189291 bytes
\ No newline at end of file
+SHA1 (networkx-1.11.tar.gz) = ac24380b13dfe92633370ad2091c0c04b6d098a2
+RMD160 (networkx-1.11.tar.gz) = f8338d0bf5327dc29e25a7a94bfe363ca25d228b
+SHA512 (networkx-1.11.tar.gz) = 622c93330bb5ba93a2be087f7f19963a1bb9a50dc72b6500ea8321c36aa9da19af379c5cd4bbee8bba3cb6e68a28f11ee24bbe333047f5c7d0ce0b755fd57253
+Size (networkx-1.11.tar.gz) = 1315737 bytes

$ diff -ruN  PLIST.orig PLIST 
--- PLIST.orig	2016-06-20 22:07:31.000000000 +0100
+++ PLIST	2016-06-21 22:34:34.000000000 +0100
@@ -1,10 +1,10 @@
-@comment $NetBSD: PLIST,v 1.11 2015/11/01 09:58:28 wiz Exp $
-${PYSITELIB}/${EGG_FILE}/PKG-INFO
-${PYSITELIB}/${EGG_FILE}/SOURCES.txt
-${PYSITELIB}/${EGG_FILE}/dependency_links.txt
-${PYSITELIB}/${EGG_FILE}/not-zip-safe
-${PYSITELIB}/${EGG_FILE}/requires.txt
-${PYSITELIB}/${EGG_FILE}/top_level.txt
+@comment $NetBSD$
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/not-zip-safe
+${PYSITELIB}/${EGG_INFODIR}/requires.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
 ${PYSITELIB}/networkx/__init__.py
 ${PYSITELIB}/networkx/__init__.pyc
 ${PYSITELIB}/networkx/__init__.pyo
@@ -1187,3 +1187,4 @@
 share/doc/networkx-${PKGVERSION}/examples/pygraphviz/pygraphviz_draw.py
 share/doc/networkx-${PKGVERSION}/examples/pygraphviz/pygraphviz_simple.py
 share/doc/networkx-${PKGVERSION}/examples/pygraphviz/write_dotfile.py
+@pkgdir share/doc/networkx-${PKGVERSION}/examples/readwrite




Home | Main Index | Thread Index | Old Index