From 4640a11bee7935e2063afda600afb747dc0f4e0b Mon Sep 17 00:00:00 2001 From: Roel Janssen Date: Tue, 17 Oct 2017 09:59:06 +0200 Subject: gnu: Add python2-neo4j-driver. * gnu/packages/python.scm (python2-neo4j-driver): New variable. --- gnu/packages/python.scm | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) (limited to 'gnu/packages/python.scm') diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index cab910be7d..68951d6bb3 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -7549,6 +7549,27 @@ and MAC network addresses.") (define-public python2-netaddr (package-with-python2 python-netaddr)) +(define-public python2-neo4j-driver + (package + (name "python2-neo4j-driver") + ;; NOTE: When upgrading to 1.5.0, please add a python3 variant. + (version "1.4.0") + (source (origin + (method url-fetch) + (uri (pypi-uri "neo4j-driver" version)) + (sha256 + (base32 + "011r1vh182p8mm83d8dz9rfnc3l7rf7fd00cyrbyfzi71jmc4g98")))) + (build-system python-build-system) + (arguments + `(#:python ,python-2)) + (home-page "https://neo4j.com/developer/python/") + (synopsis "Neo4j driver code written in Python") + (description "This package provides the Neo4j Python driver that connects +to the database using Neo4j's binary protocol. It aims to be minimal, while +being idiomatic to Python.") + (license license:asl2.0))) + (define-public python-wrapt (package (name "python-wrapt") -- cgit v1.3 From 357ab93aacbd882a48cd7961ab301afa78c941d0 Mon Sep 17 00:00:00 2001 From: Roel Janssen Date: Tue, 17 Oct 2017 09:59:35 +0200 Subject: gnu: Add python2-py2neo. * gnu/packages/python.scm (python2-py2neo): New variable. --- gnu/packages/python.scm | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) (limited to 'gnu/packages/python.scm') diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 68951d6bb3..46df5eaca8 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -7570,6 +7570,27 @@ to the database using Neo4j's binary protocol. It aims to be minimal, while being idiomatic to Python.") (license license:asl2.0))) +(define-public python2-py2neo + (package + (name "python2-py2neo") + (version "3.1.2") + (source (origin + (method url-fetch) + (uri (pypi-uri "py2neo" version)) + (sha256 + (base32 + "1f1q95vqcvlc3nsc33p841swnjdcjazddlq2dzi3qfnjqjrajxw1")))) + (build-system python-build-system) + (arguments + `(#:python ,python-2)) + (home-page "http://py2neo.org") + (synopsis "Library and toolkit for working with Neo4j in Python") + (description "This package provides a client library and toolkit for +working with Neo4j from within Python applications and from the command +line. The core library has no external dependencies and has been carefully +designed to be easy and intuitive to use.") + (license license:asl2.0))) + (define-public python-wrapt (package (name "python-wrapt") -- cgit v1.3 From ad3c61fcd3d6e2e3eab41aae642467f5eaf64b57 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Thu, 19 Oct 2017 01:37:28 +0200 Subject: gnu: python-hy: Update to 0.13.0. * gnu/packages/python.scm (python-hy): Update to 0.13.0. --- gnu/packages/python.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gnu/packages/python.scm') diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 46df5eaca8..0684090c3d 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -9713,13 +9713,13 @@ with a new public API, and RPython support.") (define-public python-hy (package (name "python-hy") - (version "0.11.1") + (version "0.13.0") (source (origin (method url-fetch) (uri (pypi-uri "hy" version)) (sha256 (base32 - "1msqv747iz12r73mz4qvsmlwkddwjvrahlrk7ysrcz07h7dsscxs")))) + "19sfymaksx9jhksfnb15ahid46mzrhdfzz6yy2craz2qnzvpmky8")))) (build-system python-build-system) (arguments '(#:phases -- cgit v1.3 From 69f7f0454463124d53b2404f4e701e3d544b94ba Mon Sep 17 00:00:00 2001 From: Cyril Roelandt Date: Sat, 14 Oct 2017 05:52:51 +0200 Subject: gnu: python2-hypothesis: fix propagated inputs. * gnu/packages/python.scm (python2-hypothesis)[propagated-inputs]: Add python2-enum34, which was incorrectly listed among the native inputs. --- gnu/packages/python.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gnu/packages/python.scm') diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 0684090c3d..2b9e486877 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -10150,9 +10150,9 @@ seamlessly into your existing Python unit testing work flow.") (let ((hypothesis (package-with-python2 (strip-python2-variant python-hypothesis)))) (package (inherit hypothesis) - (native-inputs + (propagated-inputs `(("python2-enum34" ,python2-enum34) - ,@(package-native-inputs hypothesis)))))) + ,@(package-propagated-inputs hypothesis)))))) (define-public python-pytest-subtesthack (package -- cgit v1.3 From a54cb3ce1f114ee1bc26371d9bc4abb0e04001ef Mon Sep 17 00:00:00 2001 From: Cyril Roelandt Date: Sat, 14 Oct 2017 05:22:58 +0200 Subject: gnu: python-chardet: Update to 3.0.4. * gnu/packages/python.scm (python-chardet, python2-chardet): Update to 3.0.4. --- gnu/packages/python.scm | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'gnu/packages/python.scm') diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 2b9e486877..108a54f8d0 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -8619,7 +8619,7 @@ simulation, statistical modeling, machine learning and much more.") (define-public python-chardet (package (name "python-chardet") - (version "2.3.0") + (version "3.0.4") (source (origin (method url-fetch) @@ -8629,7 +8629,11 @@ simulation, statistical modeling, machine learning and much more.") ".tar.gz")) (sha256 (base32 - "1ak87ikcw34fivcgiz2xvi938dmclh078az65l9x3rmgljrkhgp5")))) + "1bpalpia6r5x1kknbk11p1fzph56fmmnp405ds8icksd3knr5aw4")))) + (native-inputs + `(("python-hypothesis" ,python-hypothesis) + ("python-pytest" ,python-pytest) + ("python-pytest-runner" ,python-pytest-runner))) (build-system python-build-system) (home-page "https://github.com/chardet/chardet") (synopsis "Universal encoding detector for Python 2 and 3") -- cgit v1.3