unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#28778] [PATCH 1/2] gnu: Add python2-neo4j-driver.
@ 2017-10-10 11:27 Roel Janssen
  2017-10-10 11:31 ` [bug#28778] [PATCH 2/2] gnu: Add python2-py2neo Roel Janssen
  2017-10-15  3:15 ` [bug#28778] [PATCH 1/2] gnu: Add python2-neo4j-driver Leo Famulari
  0 siblings, 2 replies; 5+ messages in thread
From: Roel Janssen @ 2017-10-10 11:27 UTC (permalink / raw)
  To: 28778

[-- Attachment #1: Type: text/plain, Size: 403 bytes --]

Dear Guix,

I'd like to add some Neo4j drivers.  This patch provides the 'officially
supported' driver.  Building for Python 3 fails with this version.  The
latest 1.5.0rc1 does seem to build for both Python 2 and Python 3, so
I'd suggest we add the Python 3 variant once 1.5.0 is out.

The other patch is for python2-py2neo, which is another driver.

Thanks for your time!

Kind regards,
Roel Janssen


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-gnu-Add-python2-neo4j-driver.patch --]
[-- Type: text/x-diff, Size: 1470 bytes --]

From d1198131221a2ab4b0e8e4318e9747e8b5786f32 Mon Sep 17 00:00:00 2001
From: Roel Janssen <roel@gnu.org>
Date: Tue, 10 Oct 2017 13:23:39 +0200
Subject: [PATCH 1/2] gnu: Add python2-neo4j-driver.

* gnu/packages/python.scm (python2-neo4j-driver): New variable.
---
 gnu/packages/python.scm | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index f5e92d889..4557637b1 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -7591,6 +7591,26 @@ and MAC network addresses.")
 (define-public python2-netaddr
   (package-with-python2 python-netaddr))
 
+(define-public python2-neo4j-driver
+  (package
+    (name "python2-neo4j-driver")
+    (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")
-- 
2.13.3


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [bug#28778] [PATCH 2/2] gnu: Add python2-py2neo.
  2017-10-10 11:27 [bug#28778] [PATCH 1/2] gnu: Add python2-neo4j-driver Roel Janssen
@ 2017-10-10 11:31 ` Roel Janssen
  2017-10-15  3:16   ` Leo Famulari
  2017-10-15  3:15 ` [bug#28778] [PATCH 1/2] gnu: Add python2-neo4j-driver Leo Famulari
  1 sibling, 1 reply; 5+ messages in thread
From: Roel Janssen @ 2017-10-10 11:31 UTC (permalink / raw)
  To: 28778


>From 368fcbed4eed12c3115e09e9b5002d27ca4816bd Mon Sep 17 00:00:00 2001
From: Roel Janssen <roel@gnu.org>
Date: Tue, 10 Oct 2017 13:24:09 +0200
Subject: [PATCH 2/2] gnu: Add python2-py2neo.

* gnu/packages/python.scm (python2-py2neo): New variable.
---
 gnu/packages/python.scm | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 4557637b1..27f4653f5 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -7611,6 +7611,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")
-- 
2.13.3

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [bug#28778] [PATCH 1/2] gnu: Add python2-neo4j-driver.
  2017-10-10 11:27 [bug#28778] [PATCH 1/2] gnu: Add python2-neo4j-driver Roel Janssen
  2017-10-10 11:31 ` [bug#28778] [PATCH 2/2] gnu: Add python2-py2neo Roel Janssen
@ 2017-10-15  3:15 ` Leo Famulari
  2017-10-17  8:08   ` bug#28778: " Roel Janssen
  1 sibling, 1 reply; 5+ messages in thread
From: Leo Famulari @ 2017-10-15  3:15 UTC (permalink / raw)
  To: Roel Janssen; +Cc: 28778

[-- Attachment #1: Type: text/plain, Size: 454 bytes --]

On Tue, Oct 10, 2017 at 01:27:53PM +0200, Roel Janssen wrote:
> Dear Guix,
> 
> I'd like to add some Neo4j drivers.  This patch provides the 'officially
> supported' driver.  Building for Python 3 fails with this version.  The
> latest 1.5.0rc1 does seem to build for both Python 2 and Python 3, so
> I'd suggest we add the Python 3 variant once 1.5.0 is out.

Sounds good. Maybe add a code comment about adding the Python 3 variant
for 1.5.0.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [bug#28778] [PATCH 2/2] gnu: Add python2-py2neo.
  2017-10-10 11:31 ` [bug#28778] [PATCH 2/2] gnu: Add python2-py2neo Roel Janssen
@ 2017-10-15  3:16   ` Leo Famulari
  0 siblings, 0 replies; 5+ messages in thread
From: Leo Famulari @ 2017-10-15  3:16 UTC (permalink / raw)
  To: Roel Janssen; +Cc: 28778

[-- Attachment #1: Type: text/plain, Size: 342 bytes --]

On Tue, Oct 10, 2017 at 01:31:05PM +0200, Roel Janssen wrote:
> 
> >From 368fcbed4eed12c3115e09e9b5002d27ca4816bd Mon Sep 17 00:00:00 2001
> From: Roel Janssen <roel@gnu.org>
> Date: Tue, 10 Oct 2017 13:24:09 +0200
> Subject: [PATCH 2/2] gnu: Add python2-py2neo.
> 
> * gnu/packages/python.scm (python2-py2neo): New variable.

LGTM

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#28778: [PATCH 1/2] gnu: Add python2-neo4j-driver.
  2017-10-15  3:15 ` [bug#28778] [PATCH 1/2] gnu: Add python2-neo4j-driver Leo Famulari
@ 2017-10-17  8:08   ` Roel Janssen
  0 siblings, 0 replies; 5+ messages in thread
From: Roel Janssen @ 2017-10-17  8:08 UTC (permalink / raw)
  To: Leo Famulari; +Cc: 28778-done


Leo Famulari writes:

> On Tue, Oct 10, 2017 at 01:27:53PM +0200, Roel Janssen wrote:
>> Dear Guix,
>> 
>> I'd like to add some Neo4j drivers.  This patch provides the 'officially
>> supported' driver.  Building for Python 3 fails with this version.  The
>> latest 1.5.0rc1 does seem to build for both Python 2 and Python 3, so
>> I'd suggest we add the Python 3 variant once 1.5.0 is out.
>
> Sounds good. Maybe add a code comment about adding the Python 3 variant
> for 1.5.0.

Thanks for your time to look at these patches.  I added a comment and
pushed both.

Kind regards,
Roel Janssen

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2017-10-17  8:09 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-10-10 11:27 [bug#28778] [PATCH 1/2] gnu: Add python2-neo4j-driver Roel Janssen
2017-10-10 11:31 ` [bug#28778] [PATCH 2/2] gnu: Add python2-py2neo Roel Janssen
2017-10-15  3:16   ` Leo Famulari
2017-10-15  3:15 ` [bug#28778] [PATCH 1/2] gnu: Add python2-neo4j-driver Leo Famulari
2017-10-17  8:08   ` bug#28778: " Roel Janssen

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).