NetBSD Problem Report #51271
From www@NetBSD.org Sat Jun 25 11:53:13 2016
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
(Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (verified OK))
by mollari.NetBSD.org (Postfix) with ESMTPS id 3F1697A0EB
for <gnats-bugs@gnats.NetBSD.org>; Sat, 25 Jun 2016 11:53:13 +0000 (UTC)
Message-Id: <20160625115312.3B7A57AAB7@mollari.NetBSD.org>
Date: Sat, 25 Jun 2016 11:53:12 +0000 (UTC)
From: kamelderouiche@yahoo.com
Reply-To: kamelderouiche@yahoo.com
To: gnats-bugs@NetBSD.org
Subject: Update math/py-networkx 1.11 (new version)
X-Send-Pr-Version: www-1.0
>Number: 51271
>Category: pkg
>Synopsis: Update math/py-networkx 1.11 (new version)
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sat Jun 25 11:55:00 +0000 2016
>Closed-Date: Fri Aug 12 13:50:27 +0000 2016
>Last-Modified: Fri Aug 12 13:50:27 +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
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
>Release-Note:
>Audit-Trail:
From: "Wen Heping" <wen@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/51271 CVS commit: pkgsrc/math/py-networkx
Date: Fri, 12 Aug 2016 13:38:22 +0000
Module Name: pkgsrc
Committed By: wen
Date: Fri Aug 12 13:38:22 UTC 2016
Modified Files:
pkgsrc/math/py-networkx: Makefile PLIST distinfo
Log Message:
Update to 1.11
Update DEPENDS
Based on PR/51271 from kamelderouiche@yahoo.com
Upstream changes:
1.11
API changes
[#1930] No longer import nx_agraph and nx_pydot into the top-level namespace. They can be accessed within networkx as e.g. nx.nx_agraph.write_dot or imported as from networkx.drawing.nx_agraph import write_dot.
[#1750] Arguments center and scale are now available for all layout functions. The defaul values revert to the v1.9 values (center is the origin for circular layouts and domain is [0, scale) for others.
[#1924] Replace pydot with pydotplus for drawing with the pydot interface.
[#1888] Replace support for Python3.2 with support for Python 3.5.
Miscellaneous changes
[#1763] Set up appveyor to automatically test installation on Windows machines. Remove symbolic links in examples to help such istallation.
Change many doc_string typos to allow sphinx to build the docs without errors or warnings.
Enable the docs to be automatically built on readthedocs.org by changing requirements.txt
To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 pkgsrc/math/py-networkx/Makefile
cvs rdiff -u -r1.11 -r1.12 pkgsrc/math/py-networkx/PLIST
cvs rdiff -u -r1.8 -r1.9 pkgsrc/math/py-networkx/distinfo
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
State-Changed-From-To: open->closed
State-Changed-By: wen@NetBSD.org
State-Changed-When: Fri, 12 Aug 2016 13:50:27 +0000
State-Changed-Why:
Committed. Thanks !
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2014
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.