From: Ricardo Wurmus <ricardo.wurmus@mdc-berlin.de>
To: 33952@debbugs.gnu.org
Cc: Ricardo Wurmus <ricardo.wurmus@mdc-berlin.de>
Subject: [bug#33952] [PATCH 08/14] gnu: Add python-graphviz.
Date: Wed, 2 Jan 2019 17:18:01 +0100 [thread overview]
Message-ID: <20190102161807.28297-8-ricardo.wurmus@mdc-berlin.de> (raw)
In-Reply-To: <20190102161807.28297-1-ricardo.wurmus@mdc-berlin.de>
* gnu/packages/graphviz.scm (python-graphviz): New variable.
---
gnu/packages/graphviz.scm | 35 +++++++++++++++++++++++++++++++++++
1 file changed, 35 insertions(+)
diff --git a/gnu/packages/graphviz.scm b/gnu/packages/graphviz.scm
index 47342b784..42f793b48 100644
--- a/gnu/packages/graphviz.scm
+++ b/gnu/packages/graphviz.scm
@@ -29,6 +29,7 @@
#:use-module (guix download)
#:use-module (guix git-download)
#:use-module (guix utils)
+ #:use-module (gnu packages check)
#:use-module (gnu packages xorg)
#:use-module (gnu packages flex)
#:use-module (gnu packages gtk)
@@ -186,6 +187,40 @@ visualization tool suite.")
(define-public python2-graphviz
(package-with-python2 python-graphviz))
+(define-public python-pygraphviz
+ (package
+ (name "python-pygraphviz")
+ (version "1.5")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/pygraphviz/pygraphviz.git")
+ (commit (string-append "pygraphviz-" version))))
+ (file-name (string-append "pygraphviz-" version "-checkout"))
+ (sha256
+ (base32
+ "1yldym38m8ckgflln83i88143pd9fjj1vfp23sq39fs6np5g0nzp"))))
+ (build-system python-build-system)
+ (arguments
+ `(#:configure-flags
+ (let ((graphviz (assoc-ref %build-inputs "graphviz")))
+ (list (string-append "--include-path=" graphviz "/include")
+ (string-append "--library-path=" graphviz "/lib")))))
+ (inputs
+ `(("graphviz" ,graphviz-2.38)))
+ (native-inputs
+ `(("python-nose" ,python-nose)
+ ("python-mock" ,python-mock)
+ ("python-doctest-ignore-unicode" ,python-doctest-ignore-unicode)))
+ (home-page "http://pygraphviz.github.io")
+ (synopsis "Python interface to Graphviz")
+ (description "PyGraphviz is a Python interface to the Graphviz graph
+layout and visualization package. With PyGraphviz you can create, edit, read,
+write, and draw graphs using Python to access the Graphviz graph data
+structure and layout algorithms.")
+ (license license:bsd-3)))
+
(define-public gts
(package
(name "gts")
--
2.19.1
next prev parent reply other threads:[~2019-01-02 16:19 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-01-02 16:16 [bug#33952] Add tensorflow Ricardo Wurmus
2019-01-02 16:17 ` [bug#33952] [PATCH 01/14] gnu: Add gemmlowp-for-tensorflow Ricardo Wurmus
2019-01-02 16:17 ` [bug#33952] [PATCH 02/14] gnu: Add tensorflow-core Ricardo Wurmus
2019-01-02 16:17 ` [bug#33952] [PATCH 03/14] gnu: Add c-ares-next Ricardo Wurmus
2019-01-02 16:17 ` [bug#33952] [PATCH 04/14] gnu: Add protobuf-next Ricardo Wurmus
2019-01-02 16:17 ` [bug#33952] [PATCH 05/14] gnu: Add grpc Ricardo Wurmus
2019-01-02 16:17 ` [bug#33952] [PATCH 06/14] gnu: Add graphviz-2.38 Ricardo Wurmus
2019-01-02 16:18 ` [bug#33952] [PATCH 07/14] gnu: Add python-doctest-ignore-unicode Ricardo Wurmus
2019-01-02 16:18 ` Ricardo Wurmus [this message]
2019-01-02 16:18 ` [bug#33952] [PATCH 09/14] gnu: Add python-absl-py Ricardo Wurmus
2019-01-02 16:25 ` [bug#33952] [PATCH 10/14] gnu: Add python-astor Ricardo Wurmus
2019-01-02 16:25 ` [bug#33952] [PATCH 11/14] gnu: Add python-astunparse Ricardo Wurmus
2019-01-02 16:25 ` [bug#33952] [PATCH 12/14] gnu: Add python-gast Ricardo Wurmus
2019-01-02 16:25 ` [bug#33952] [PATCH 13/14] gnu: Add python-grpcio Ricardo Wurmus
2019-01-02 16:25 ` [bug#33952] [PATCH 14/14] gnu: Add tensorflow Ricardo Wurmus
2019-04-08 12:45 ` [bug#33952] [PATCH v2] " Ricardo Wurmus
2019-04-11 11:28 ` Ludovic Courtès
2019-04-11 15:55 ` bug#33952: " Ricardo Wurmus
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190102161807.28297-8-ricardo.wurmus@mdc-berlin.de \
--to=ricardo.wurmus@mdc-berlin.de \
--cc=33952@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).