From 6ce91100d6c778af97c12c74de44381dbb4da823 Mon Sep 17 00:00:00 2001 From: Maxim Cournoyer Date: Fri, 29 Apr 2022 23:46:44 -0400 Subject: [PATCH] gnu: Remove python2-networkx. * gnu/packages/python-xyz.scm (python2-networkx): Delete variable. --- gnu/packages/python-xyz.scm | 32 ++++++-------------------------- 1 file changed, 6 insertions(+), 26 deletions(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 76fe4d6158..b1044fb540 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -9559,37 +9559,17 @@ (define-public python-networkx (lambda* (#:key tests? #:allow-other-keys) (if tests? (invoke "pytest" "-vv" "--pyargs" "networkx") - (format #t "test suite not run~%")) - #t))))) - ;; python-decorator is needed at runtime. - (propagated-inputs - (list python-decorator)) - (native-inputs - (list python-pytest)) + (format #t "test suite not run~%")) #t))))) + (propagated-inputs (list python-decorator)) + (native-inputs (list python-pytest)) (home-page "https://networkx.github.io/") - (synopsis "Python module for creating and manipulating graphs and networks") + (synopsis + "Python module for creating and manipulating graphs and networks") (description - "NetworkX is a Python package for the creation, manipulation, and study + "NetworkX is a Python package for the creation, manipulation, and study of the structure, dynamics, and functions of complex networks.") - (properties `((python2-variant . ,(delay python2-networkx)))) (license license:bsd-3))) -;; NetworkX 2.2 is the last version with support for Python 2. -(define-public python2-networkx - (let ((base (package-with-python2 (strip-python2-variant python-networkx)))) - (package - (inherit base) - (version "2.2") - (source (origin - (method url-fetch) - (uri (pypi-uri "networkx" version ".zip")) - (sha256 - (base32 - "12swxb15299v9vqjsq4z8rgh5sdhvpx497xwnhpnb0gynrx6zra5")))) - (arguments - `(#:python ,python-2)) - (native-inputs - (list python2-nose unzip))))) (define-public python-datrie (package