FreeBSD Bugzilla – Attachment 196372 Details for
Bug 229815
math/py-networkx: Update to 2.1
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch
py-networkx.patch (text/plain), 4.12 KB, created by
Yuri Victorovich
on 2018-08-20 04:55:27 UTC
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Yuri Victorovich
Created:
2018-08-20 04:55:27 UTC
Size:
4.12 KB
patch
obsolete
>Index: math/py-networkx/Makefile >=================================================================== >--- math/py-networkx/Makefile (revision 477407) >+++ math/py-networkx/Makefile (working copy) >@@ -2,11 +2,9 @@ > # $FreeBSD$ > > PORTNAME= networkx >-PORTVERSION= 1.10 >-PORTREVISION= 4 >+DISTVERSION= 2.1 > CATEGORIES= math python >-MASTER_SITES= http://networkx.lanl.gov/download/networkx/ \ >- CHEESESHOP >+MASTER_SITES= CHEESESHOP > PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} > > MAINTAINER= dikshie@sfc.wide.ad.jp >@@ -14,17 +12,15 @@ > > LICENSE= BSD3CLAUSE > >-RUN_DEPENDS:= ${PYTHON_PKGNAMEPREFIX}decorator>=3.4.0:devel/py-decorator@${PY_FLAVOR} >+RUN_DEPENDS:= ${PYTHON_PKGNAMEPREFIX}decorator>=4.1.0:devel/py-decorator@${PY_FLAVOR} > > # ${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 >+SHEBANG_GLOB= *.py > NO_ARCH= yes >-USES= python shebangfix >-USE_PYTHON= autoplist concurrent distutils >-SHEBANG_FILES= examples/graph/atlas.py \ >- examples/multigraph/chess_masters.py \ >- networkx/generators/tests/test_random_graphs.py > > PLIST_SUB+= PYTHON_MAJOR_VER=${PYTHON_MAJOR_VER} > >Index: math/py-networkx/distinfo >=================================================================== >--- math/py-networkx/distinfo (revision 477407) >+++ math/py-networkx/distinfo (working copy) >@@ -1,2 +1,3 @@ >-SHA256 (networkx-1.10.tar.gz) = ced4095ab83b7451cec1172183eff419ed32e21397ea4e1971d92a5808ed6fb8 >-SIZE (networkx-1.10.tar.gz) = 1189291 >+TIMESTAMP = 1534738249 >+SHA256 (networkx-2.1.zip) = 64272ca418972b70a196cb15d9c85a5a6041f09a2f32e0d30c0255f25d458bb1 >+SIZE (networkx-2.1.zip) = 1612593 >Index: math/py-networkx/files/patch-setup.py >=================================================================== >--- math/py-networkx/files/patch-setup.py (revision 477407) >+++ math/py-networkx/files/patch-setup.py (working copy) >@@ -1,10 +1,10 @@ >---- setup.py.orig 2015-11-15 23:06:39 UTC >+--- setup.py.orig 2018-08-20 04:50:16 UTC > +++ setup.py >-@@ -59,27 +59,6 @@ packages=["networkx", >- "networkx.testing", >- "networkx.utils"] >+@@ -57,28 +57,6 @@ packages = ["networkx", >+ "networkx.testing", >+ "networkx.utils"] > >--docdirbase = 'share/doc/networkx-%s' % version >+-docdirbase = 'share/doc/networkx-%s' % version > -# add basic documentation > -data = [(docdirbase, glob("*.txt"))] > -# add examples >@@ -14,25 +14,26 @@ > - '3d_drawing', > - 'drawing', > - 'graph', >-- 'multigraph', >+- 'javascript', >+- 'jit', > - 'pygraphviz', >-- 'readwrite']: >-- dd = os.path.join(docdirbase,'examples', d) >+- 'subclass']: >+- dd = os.path.join(docdirbase, 'examples', d) > - pp = os.path.join('examples', d) >-- data.append((dd, glob(os.path.join(pp ,"*.py")))) >-- data.append((dd, glob(os.path.join(pp ,"*.bz2")))) >-- data.append((dd, glob(os.path.join(pp ,"*.gz")))) >-- data.append((dd, glob(os.path.join(pp ,"*.mbox")))) >-- data.append((dd, glob(os.path.join(pp ,"*.edgelist")))) >+- data.append((dd, glob(os.path.join(pp, "*.py")))) >+- data.append((dd, glob(os.path.join(pp, "*.bz2")))) >+- data.append((dd, glob(os.path.join(pp, "*.gz")))) >+- data.append((dd, glob(os.path.join(pp, "*.mbox")))) >+- data.append((dd, glob(os.path.join(pp, "*.edgelist")))) > - > # add the tests >- package_data = { >+ package_data = { > 'networkx': ['tests/*.py'], >-@@ -131,7 +110,6 @@ if __name__ == "__main__": >- download_url = release.download_url, >- classifiers = release.classifiers, >- packages = packages, >-- data_files = data, >- package_data = package_data, >- install_requires = install_requires, >- test_suite = 'nose.collector', >+@@ -130,7 +108,6 @@ if __name__ == "__main__": >+ download_url=release.download_url, >+ classifiers=release.classifiers, >+ packages=packages, >+- data_files=data, >+ package_data=package_data, >+ install_requires=install_requires, >+ extras_require=extras_require,
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
yuri
:
maintainer-approval?
(dikshie)
Actions:
View
|
Diff
Attachments on
bug 229815
: 196372