From ba6cc50345c46463cb3dda0842cd85015a2b20e9 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Tue, 7 Apr 2020 21:09:24 +0300 Subject: gn: Upstream 2 python packages --- gn/packages/python.scm | 106 ------------------------------------------------- 1 file changed, 106 deletions(-) (limited to 'gn/packages') diff --git a/gn/packages/python.scm b/gn/packages/python.scm index 88f0156..17cd7ae 100644 --- a/gn/packages/python.scm +++ b/gn/packages/python.scm @@ -1096,112 +1096,6 @@ spreadsheets without the need for COM objects.") (description "") (license license:bsd-4))) -(define-public python-ipython-cluster-helper - (package - (name "python-ipython-cluster-helper") - (version "0.6.4") - (source - (origin - (method url-fetch) - (uri (pypi-uri "ipython-cluster-helper" version)) - (sha256 - (base32 - "1l6mlwxlkxpbvawfwk6qffich7ahg9hq2bxfissgz6144p3k4arj")) - (modules '((guix build utils))) - (snippet - '(begin (substitute* "requirements.txt" - (("ipython.*") "ipython\n")) - #t)))) - (build-system python-build-system) - (arguments - `(#:tests? #f ; Test suite can't find IPython. - #:phases - (modify-phases %standard-phases - (replace 'check - (lambda* (#:key inputs outputs tests? #:allow-other-keys) - (if tests? - (begin - (setenv "HOME" (getcwd)) - (add-installed-pythonpath inputs outputs) - (invoke "python" "example/example.py" "--local")) - #t)))))) - (propagated-inputs - `(("python-ipyparallel" ,python-ipyparallel) - ("python-ipython" ,python-ipython) - ("python-netifaces" ,python-netifaces) - ("python-pyzmq" ,python-pyzmq) - ("python-setuptools" ,python-setuptools) - ("python-six" ,python-six))) - (home-page "https://github.com/roryk/ipython-cluster-helper") - (synopsis - "Simplify IPython cluster start up and use for multiple schedulers") - (description - "@code{ipython-cluster-helper} creates a throwaway parallel IPython -profile, launches a cluster and returns a view. On program exit it shuts the -cluster down and deletes the throwaway profile.") - (license license:expat))) - -(define-public python2-ipython-cluster-helper - (package-with-python2 python-ipython-cluster-helper)) - -(define-public python-ipyparallel - (package - (name "python-ipyparallel") - (version "6.2.4") - (source - (origin - (method url-fetch) - (uri (pypi-uri "ipyparallel" version)) - (sha256 - (base32 - "0rf0dbpxf5z82bw8lsjj45r3wdd4wc74anz4wiiaf2rbjqlb1ivn")))) - (build-system python-build-system) - (arguments - `(#:tests? #f ; RuntimeError: IO Loop failed to start - #:phases - (modify-phases %standard-phases - (add-before 'check 'prepare-for-tests - (lambda _ - (setenv "HOME" (getcwd)) - #t))))) - (propagated-inputs - `(("python-dateutil" ,python-dateutil) - ("python-decorator" ,python-decorator) - ("python-ipykernel" ,python-ipykernel) - ("python-ipython" ,python-ipython) - ("python-ipython-genutils" ,python-ipython-genutils) - ("python-jupyter-client" ,python-jupyter-client) - ("python-pyzmq" ,python-pyzmq) - ("python-tornado" ,python-tornado) - ("python-traitlets" ,python-traitlets))) - (native-inputs - `(("python-ipython" ,python-ipython) - ("python-mock" ,python-mock) - ("python-nose" ,python-nose) - ("python-pytest" ,python-pytest) - ("python-pytest-cov" ,python-pytest-cov) - ("python-testpath" ,python-testpath))) - (home-page "https://ipython.org/") - (synopsis "Interactive Parallel Computing with IPython") - (description - "@code{ipyparallel} is a Python package and collection of CLI scripts for -controlling clusters for Jupyter. @code{ipyparallel} contains the following -CLI scripts: -@enumerate -@item ipcluster - start/stop a cluster -@item ipcontroller - start a scheduler -@item ipengine - start an engine -@end enumerate") - (license license:bsd-3))) - -(define-public python2-ipyparallel - (let ((ipyparallel (package-with-python2 python-ipyparallel))) - (package - (inherit ipyparallel) - (propagated-inputs - `(("python2-futures" ,python2-futures) - ,@(package-propagated-inputs ipyparallel)))))) - (define-public python-admiral (package (name "python-admiral") -- cgit v1.2.3