From patchwork Wed Jan 2 16:18:01 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ricardo Wurmus X-Patchwork-Id: 627 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 0F27E169F6; Wed, 2 Jan 2019 16:19:39 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_DKIM_INVALID, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from listsout.gnu.org (listsout.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id 8403E169EF for ; Wed, 2 Jan 2019 16:19:38 +0000 (GMT) Received: from localhost ([127.0.0.1]:45915 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gejF3-0004gQ-Sw for patchwork@mira.cbaines.net; Wed, 02 Jan 2019 11:19:37 -0500 Received: from eggs.gnu.org ([208.118.235.92]:34024) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gejEZ-0004KF-DD for guix-patches@gnu.org; Wed, 02 Jan 2019 11:19:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gejEY-0006oV-8x for guix-patches@gnu.org; Wed, 02 Jan 2019 11:19:07 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:45262) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gejEY-0006oO-5X for guix-patches@gnu.org; Wed, 02 Jan 2019 11:19:06 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gejEX-0002At-WF for guix-patches@gnu.org; Wed, 02 Jan 2019 11:19:06 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#33952] [PATCH 08/14] gnu: Add python-graphviz. Resent-From: Ricardo Wurmus Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 02 Jan 2019 16:19:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 33952 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: <33952@debbugs.gnu.org> Received: via spool by 33952-submit@debbugs.gnu.org id=B33952.15464459268264 (code B ref 33952); Wed, 02 Jan 2019 16:19:05 +0000 Received: (at 33952) by debbugs.gnu.org; 2 Jan 2019 16:18:46 +0000 Received: from localhost ([127.0.0.1]:44910 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gejEE-00029E-EJ for submit@debbugs.gnu.org; Wed, 02 Jan 2019 11:18:46 -0500 Received: from venus.bbbm.mdc-berlin.de ([141.80.25.30]:34426) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gejEB-00028o-W8 for 33952@debbugs.gnu.org; Wed, 02 Jan 2019 11:18:44 -0500 Received: from localhost (localhost [127.0.0.1]) by venus.bbbm.mdc-berlin.de (Postfix) with ESMTP id 764CE3808E6 for <33952@debbugs.gnu.org>; Wed, 2 Jan 2019 17:18:43 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=mdc-berlin.de; h= content-type:content-type:content-transfer-encoding:mime-version :references:in-reply-to:x-mailer:message-id:date:date:subject :subject:from:from:received:received:received; s=mdc; t= 1546445923; x=1548260324; bh=YaLasBKySnVDlMNFpJIfi6TDAbjuoFyzeoL BzQRZTQQ=; b=JcJo8Fjq2rmxNNInCg6UHDBM8ta2vlB2HhkntGGl/SLN3JyzywH AUTt0x7hfOnuo9uhztRAfa896J7b+dFfCLbAhFnC+CS3VNcQlOMuIti+GYDPDcSk yqLm4luuS0BZxHLCkThYwmtFJvTuYhQ98MWIUu4AKtKMosFIOp1BTPyE= X-Virus-Scanned: amavisd-new at mdc-berlin.de Received: from venus.bbbm.mdc-berlin.de ([127.0.0.1]) by localhost (venus.bbbm.mdc-berlin.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id UVHMNDfAfxmx for <33952@debbugs.gnu.org>; Wed, 2 Jan 2019 17:18:43 +0100 (CET) Received: from SW-IT-P-CAS4.mdc-berlin.net (puck.citx.mdc-berlin.de [141.80.36.101]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by venus.bbbm.mdc-berlin.de (Postfix) with ESMTPS for <33952@debbugs.gnu.org>; Wed, 2 Jan 2019 17:18:43 +0100 (CET) Received: from localhost (141.80.113.103) by SW-IT-P-CAS4.mdc-berlin.net (141.80.113.59) with Microsoft SMTP Server (TLS) id 14.3.408.0; Wed, 2 Jan 2019 17:18:42 +0100 From: Ricardo Wurmus Date: Wed, 2 Jan 2019 17:18:01 +0100 Message-ID: <20190102161807.28297-8-ricardo.wurmus@mdc-berlin.de> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20190102161807.28297-1-ricardo.wurmus@mdc-berlin.de> References: <20190102161807.28297-1-ricardo.wurmus@mdc-berlin.de> MIME-Version: 1.0 X-Originating-IP: [141.80.113.103] X-TM-AS-Product-Ver: SMEX-12.5.0.1684-8.5.1010-24332.001 X-TM-AS-Result: No-0.764500-8.000000-10 X-TMASE-MatchedRID: pO1GJeE+rkt7qToVEfwBPAPZZctd3P4BUAjrAJWsTe9EnPVDTqslHNno quRwHY3B8p796sClznK4At5vKhJS49Nha1rO64kg8pRHzcG+oi3eowaCYuJ2SxHfiujuTbedlgB 5OJUfvnU0jD1AptgH5r7uG9K3ZGmHUQBcvRRvU73d+fuf9kcaporogmbAtARImyiLZetSf8mfop 0ytGwvXiq2rl3dzGQ1c6F+1bKgjUVKMYYw+CHR+LI5ww7e21tr4y0Co08aJJnrJZKf2RP6Zb6D5 1mF9ZG1pdIm+hnrFfDTJwQwYUIZGWjLRtig0fhcTQfdjfPl5JJcKRK3DM/KmiQGdl1tQI7t0/5H QxvVB1U0+aGhUx8J2mWd1BH5zkrEftwZ3X11IV0= X-TM-AS-User-Approved-Sender: Yes X-TM-AS-User-Blocked-Sender: No X-TMASE-Result: 10-0.764500-8.000000 X-TMASE-Version: SMEX-12.5.0.1684-8.5.1010-24332.001 X-TM-SNTS-SMTP: 77870EACC7D0B83BCA72B24409EBB9408B4A57DC83061195EECD2FAF8944FB3E2000:9 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Ricardo Wurmus Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * 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")