pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/math/py-networkx py-networkx: fix building; Python 2.7...
details: https://anonhg.NetBSD.org/pkgsrc/rev/3eaec24d5c83
branches: trunk
changeset: 340167:3eaec24d5c83
user: adam <adam%pkgsrc.org@localhost>
date: Wed Sep 25 07:24:12 2019 +0000
description:
py-networkx: fix building; Python 2.7 is not supported
diffstat:
math/py-networkx/Makefile | 4 +++-
math/py-networkx/distinfo | 3 ++-
math/py-networkx/patches/patch-setup.py | 14 ++++++++++++++
3 files changed, 19 insertions(+), 2 deletions(-)
diffs (47 lines):
diff -r 17ac18a2aaba -r 3eaec24d5c83 math/py-networkx/Makefile
--- a/math/py-networkx/Makefile Wed Sep 25 01:45:47 2019 +0000
+++ b/math/py-networkx/Makefile Wed Sep 25 07:24:12 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.28 2019/06/17 14:58:26 adam Exp $
+# $NetBSD: Makefile,v 1.29 2019/09/25 07:24:12 adam Exp $
DISTNAME= networkx-2.3
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
@@ -16,5 +16,7 @@
USE_LANGUAGES= # none
+PYTHON_VERSIONS_INCOMPATIBLE= 27
+
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"
diff -r 17ac18a2aaba -r 3eaec24d5c83 math/py-networkx/distinfo
--- a/math/py-networkx/distinfo Wed Sep 25 01:45:47 2019 +0000
+++ b/math/py-networkx/distinfo Wed Sep 25 07:24:12 2019 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.13 2019/06/17 14:58:26 adam Exp $
+$NetBSD: distinfo,v 1.14 2019/09/25 07:24:12 adam Exp $
SHA1 (networkx-2.3.zip) = 04339840fc9ed9018f17efa58f9a5d9a59cd523d
RMD160 (networkx-2.3.zip) = 5263d628b5e7e4407234575b68f06d9632e26b79
SHA512 (networkx-2.3.zip) = 38e8abf247284bc006234f7d9bb7faf6b7ad539f7bf9d6f3274ec7e11c624f8cbf53bf629487764f828fa0598ccf2ab18fc6c3bbbbf1a0332e6a5dabe7135cf7
Size (networkx-2.3.zip) = 1743914 bytes
+SHA1 (patch-setup.py) = 9859c3102492d4f9afd41533c3b1bf45cbc6850d
diff -r 17ac18a2aaba -r 3eaec24d5c83 math/py-networkx/patches/patch-setup.py
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/math/py-networkx/patches/patch-setup.py Wed Sep 25 07:24:12 2019 +0000
@@ -0,0 +1,14 @@
+$NetBSD: patch-setup.py,v 1.3 2019/09/25 07:25:24 adam Exp $
+
+Skip examples, as they make a conflict between Python versions.
+
+--- setup.py.orig 2019-04-09 06:14:52.000000000 +0000
++++ setup.py
+@@ -155,7 +155,6 @@ if __name__ == "__main__":
+ project_urls=release.project_urls,
+ classifiers=release.classifiers,
+ packages=packages,
+- data_files=data,
+ package_data=package_data,
+ install_requires=install_requires,
+ extras_require=extras_require,
Home |
Main Index |
Thread Index |
Old Index