From patchwork Wed Jan 2 16:17:54 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ricardo Wurmus X-Patchwork-Id: 624 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 CEEAA169F5; Wed, 2 Jan 2019 16:19:22 +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=-6.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_HI, T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) by mira.cbaines.net (Postfix) with ESMTP id 68BE4169EF for ; Wed, 2 Jan 2019 16:19:22 +0000 (GMT) Received: from localhost ([127.0.0.1]:45903 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gejEn-0004Kx-V2 for patchwork@mira.cbaines.net; Wed, 02 Jan 2019 11:19:21 -0500 Received: from eggs.gnu.org ([208.118.235.92]:34005) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gejEY-0004KB-Vj 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 1gejEU-0006hX-Uc for guix-patches@gnu.org; Wed, 02 Jan 2019 11:19:06 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:44841) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gejEU-0006h3-OM for guix-patches@gnu.org; Wed, 02 Jan 2019 11:19:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gejEU-0002A1-IS for guix-patches@gnu.org; Wed, 02 Jan 2019 11:19:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#33952] [PATCH 01/14] gnu: Add gemmlowp-for-tensorflow. References: In-Reply-To: Resent-From: Ricardo Wurmus Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 02 Jan 2019 16:19:02 +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.15464459008147 (code B ref 33952); Wed, 02 Jan 2019 16:19:02 +0000 Received: (at 33952) by debbugs.gnu.org; 2 Jan 2019 16:18:20 +0000 Received: from localhost ([127.0.0.1]:44890 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gejDn-00027G-LW for submit@debbugs.gnu.org; Wed, 02 Jan 2019 11:18:20 -0500 Received: from sinope02.bbbm.mdc-berlin.de ([141.80.25.24]:56548) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gejDl-000272-E6 for 33952@debbugs.gnu.org; Wed, 02 Jan 2019 11:18:18 -0500 Received: from localhost (localhost [127.0.0.1]) by sinope02.bbbm.mdc-berlin.de (Postfix) with ESMTP id 8CF4E14B590A for <33952@debbugs.gnu.org>; Wed, 2 Jan 2019 17:18:16 +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 :x-mailer:message-id:date:date:subject:subject:from:from :received:received:received; s=mdc; t=1546445891; x=1548260292; bh=MIa+yfyNqXLqnJyLqDZivB7Y6iwHjx60auUJXM5y26s=; b=A8gd4s7eqdtN ioo7hnnTSD+p+vxpR0puLAOkeVBpEPYrL6dPuQ4kGYh3gOuqQx3JWL714kXXAXCh msXsqiLQCLeTQn/J7J5glKiIDNIrJIGqwu4W9xFdnaBhkh3XgREXdvJrsB/QHwPY BVfV5qiOo4UDAOei4uYfAgpupshT8UQ= X-Virus-Scanned: amavisd-new at mdc-berlin.de Received: from sinope02.bbbm.mdc-berlin.de ([127.0.0.1]) by localhost (sinope02.bbbm.mdc-berlin.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 017Xp5MB0DKb for <33952@debbugs.gnu.org>; Wed, 2 Jan 2019 17:18:11 +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 sinope02.bbbm.mdc-berlin.de (Postfix) with ESMTPS for <33952@debbugs.gnu.org>; Wed, 2 Jan 2019 17:18:11 +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:10 +0100 From: Ricardo Wurmus Date: Wed, 2 Jan 2019 17:17:54 +0100 Message-ID: <20190102161807.28297-1-ricardo.wurmus@mdc-berlin.de> X-Mailer: git-send-email 2.19.1 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-3.346900-8.000000-10 X-TMASE-MatchedRID: WO6FSsaLhY2SkBDp1A0HiriMC5wdwKqdQl/FdRYkUZLfUZT83lbkEAn9 ofQNoBQFiLwCGMQswxCO9NvhBeIuxBxGESPHTa2uu72KpAktHS+usS9CiBzL8SgVbxW7FDOVYUU cTJLR9ZOkZzpexK9EIzg9PEFzPSyZhAcTvHoAcW6EryjhqiyzygXLIdcukLJWycmFNidOeD3coi ReGPAOW4Oqmm8t7v72Ed5FOBej7IH9kbyhKg6JlB+WEMjoO9WWJpcBMilCCGjIXpx0LHuyyRXIP 2JmqI1yw9uQT9lfsUvs/AoQQPS5EoPhXvvZBernnprizKKMwmZ9LQinZ4QefPcjNeVeWlqY+gtH j7OwNO22utO5qEfOUXci8v9AtxMbaG5TbIp7dCaMfiPViGx23hgbNiIO9EgJrtYTDFR4zrGzvU2 vqHuY1fD0wvPZNt1g2ZF67axy+U4St0801614dof4l3W0tVe7u49q1sWEC7dHBp5ZT1n34TddPu Hwt7TAxYVzI3UCCaY= X-TM-AS-User-Approved-Sender: Yes X-TM-AS-User-Blocked-Sender: No X-TMASE-Result: 10--3.346900-8.000000 X-TMASE-Version: SMEX-12.5.0.1684-8.5.1010-24332.001 X-TM-SNTS-SMTP: F1EEAB0C0B94AE6F90BA0BED416122D64B0AFEDE96F6E65A0641985F60884F622000: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/machine-learning.scm (gemmlowp-for-tensorflow): New variable. --- gnu/packages/machine-learning.scm | 60 ++++++++++++++++++++++++++++++- 1 file changed, 59 insertions(+), 1 deletion(-) diff --git a/gnu/packages/machine-learning.scm b/gnu/packages/machine-learning.scm index 084e62cca..f4e66b9a3 100644 --- a/gnu/packages/machine-learning.scm +++ b/gnu/packages/machine-learning.scm @@ -58,7 +58,8 @@ #:use-module (gnu packages statistics) #:use-module (gnu packages swig) #:use-module (gnu packages xml) - #:use-module (gnu packages xorg)) + #:use-module (gnu packages xorg) + #:use-module (ice-9 match)) (define-public fann ;; The last release is >100 commits behind, so we package from git. @@ -621,6 +622,63 @@ Support Vector Machines, Spectral Clustering, Kernel PCA, Gaussian Processes and a QP solver.") (license license:gpl2))) +(define-public gemmlowp-for-tensorflow + ;; The commit hash is taken from "tensorflow/workspace.bzl". + (let ((commit "38ebac7b059e84692f53e5938f97a9943c120d98") + (revision "2")) + (package + (name "gemmlowp") + (version (git-version "0" revision commit)) + (source (origin + (method url-fetch) + (uri (string-append "https://mirror.bazel.build/" + "github.com/google/gemmlowp/archive/" + commit ".zip")) + (file-name (string-append "gemmlowp-" version ".zip")) + (sha256 + (base32 + "0n56s2g8hrssm4w8qj1v58gfm56a04n9v992ixkmvk6zjiralzxq")))) + (build-system cmake-build-system) + (arguments + `(#:configure-flags + (list ,@(match (%current-system) + ((or "x86_64-linux" "i686-linux") + '("-DCMAKE_CXX_FLAGS=-msse4.1")) + (_ '()))) + #:phases + (modify-phases %standard-phases + ;; This directory contains the CMakeLists.txt. + (add-after 'unpack 'chdir + (lambda _ (chdir "contrib") #t)) + ;; There is no install target + (replace 'install + (lambda* (#:key outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (lib (string-append out "/lib/")) + (inc (string-append out "/include/"))) + (install-file "../build/libeight_bit_int_gemm.so" lib) + (for-each (lambda (dir) + (let ((target (string-append inc "/" dir))) + (mkdir-p target) + (for-each (lambda (h) + (install-file h target)) + (find-files (string-append "../" dir) + "\\.h$")))) + '("meta" "profiling" "public" "fixedpoint" + "eight_bit_int_gemm" "internal")) + #t)))))) + (native-inputs + `(("unzip" ,unzip))) + (home-page "https://github.com/google/gemmlowp") + (synopsis "Small self-contained low-precision GEMM library") + (description + "This is a small self-contained low-precision @dfn{general matrix +multiplication} (GEMM) library. It is not a full linear algebra library. +Low-precision means that the input and output matrix entries are integers on +at most 8 bits. To avoid overflow, results are internally accumulated on more +than 8 bits, and at the end only some significant 8 bits are kept.") + (license license:asl2.0)))) + (define-public dlib (package (name "dlib") From patchwork Wed Jan 2 16:17:55 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ricardo Wurmus X-Patchwork-Id: 622 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 EB17C169F6; Wed, 2 Jan 2019 16:19:10 +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=-6.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_HI, T_DKIM_INVALID,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) by mira.cbaines.net (Postfix) with ESMTP id 54C0D169EF for ; Wed, 2 Jan 2019 16:19:10 +0000 (GMT) Received: from localhost ([127.0.0.1]:45901 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gejEb-0004Kw-SR for patchwork@mira.cbaines.net; Wed, 02 Jan 2019 11:19:09 -0500 Received: from eggs.gnu.org ([208.118.235.92]:34011) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gejEZ-0004KD-4g 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 1gejEV-0006iP-AV for guix-patches@gnu.org; Wed, 02 Jan 2019 11:19:07 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:46940) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gejEV-0006i7-6Q for guix-patches@gnu.org; Wed, 02 Jan 2019 11:19:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gejEV-0002A9-20 for guix-patches@gnu.org; Wed, 02 Jan 2019 11:19:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#33952] [PATCH 02/14] gnu: Add tensorflow-core. Resent-From: Ricardo Wurmus Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 02 Jan 2019 16:19:03 +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.15464459058159 (code B ref 33952); Wed, 02 Jan 2019 16:19:03 +0000 Received: (at 33952) by debbugs.gnu.org; 2 Jan 2019 16:18:25 +0000 Received: from localhost ([127.0.0.1]:44892 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gejDp-00027T-5M for submit@debbugs.gnu.org; Wed, 02 Jan 2019 11:18:24 -0500 Received: from venus.bbbm.mdc-berlin.de ([141.80.25.30]:34414) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gejDn-00027B-15 for 33952@debbugs.gnu.org; Wed, 02 Jan 2019 11:18:19 -0500 Received: from localhost (localhost [127.0.0.1]) by venus.bbbm.mdc-berlin.de (Postfix) with ESMTP id 271EC3807F9 for <33952@debbugs.gnu.org>; Wed, 2 Jan 2019 17:18:18 +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= 1546445896; x=1548260297; bh=ZwOhOjusRPsH3MEAouKQ2qRTem9utUdqXCF u4PdqPcg=; b=GKRLe9p3PiicVu9aW4YuuuKtvkSvpcKATY4JMbc3LFmTrQMcG9f tYjWnmZGLluoZbxp7c99/R+uPD+pM6gCyuXkUioEbj4l4MXMcFJcCiogCsWfCdYV g3bYNaLb8Ox1wdzpSfBWBztwmuUZ7966Fau4FMrZWV1SgGPMAc8JmeEM= 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 uK7HYDqDqebR for <33952@debbugs.gnu.org>; Wed, 2 Jan 2019 17:18:16 +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:16 +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:16 +0100 From: Ricardo Wurmus Date: Wed, 2 Jan 2019 17:17:55 +0100 Message-ID: <20190102161807.28297-2-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-7.370300-8.000000-10 X-TMASE-MatchedRID: 7Pf7V6wkGECSkBDp1A0HiriMC5wdwKqdTJDl9FKHbrn4JyR+b5tvoACp QUIkMZXSFRUy+zA3fVId5+xfgNMUHmuS3ZpfRN2uEPf7TDUOGooPo0vi0aZfNXoUz5ARuHjRSvb gLcfUMI/mW4ZetWKlulT8csekrjnB+6PZybtGIjxxfk94zHLa/hNtTUpgahCnXCmcAC8DBrPQjc tQJI1P42dVfQoAAZHlcnzlXgcs2Wz9kbyhKg6JlGQNT9IU7RXuSiV8TkZKsPk/dS8ROsItevM+9 Fw01I7G/PQsPwZF9JCZplG8XJtO6FlP3wf1xZicr51gSC67hpX4uJ1REX4MHTUsHjosUACS9Tva dhXG9g2kP/ncvQmH7BRAoy63JAD4g65RAqtBhOIwo+sXt0rns1ObpRiWjuVrY8r/ndGdDsV2net tBoMDd+qBCyoe19uFWBWV0v8HvoIfE8yM4pjsD8C4UUZr4lSFSnQ4MjwaO9cqtq5d3cxkNZd/mw Lf2BVUj23JX2ku95TWz1AJ/yLK3ogmvDUsLiUUHNmFvm5Xe8dLhb8xGEnVfg== X-TM-AS-User-Approved-Sender: Yes X-TM-AS-User-Blocked-Sender: No X-TMASE-Result: 10--7.370300-8.000000 X-TMASE-Version: SMEX-12.5.0.1684-8.5.1010-24332.001 X-TM-SNTS-SMTP: 43D1A4789705ED50F8D2E3CAE9BB68AD8D9662D69330869EA4B9418D10DF94292000: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/machine-learning.scm (tensorflow-core): New variable. --- gnu/packages/machine-learning.scm | 112 ++++++++++++++++++++++++++++++ 1 file changed, 112 insertions(+) diff --git a/gnu/packages/machine-learning.scm b/gnu/packages/machine-learning.scm index f4e66b9a3..dd725a609 100644 --- a/gnu/packages/machine-learning.scm +++ b/gnu/packages/machine-learning.scm @@ -54,6 +54,7 @@ #:use-module (gnu packages onc-rpc) #:use-module (gnu packages perl) #:use-module (gnu packages pkg-config) + #:use-module (gnu packages protobuf) #:use-module (gnu packages python) #:use-module (gnu packages statistics) #:use-module (gnu packages swig) @@ -679,6 +680,117 @@ at most 8 bits. To avoid overflow, results are internally accumulated on more than 8 bits, and at the end only some significant 8 bits are kept.") (license license:asl2.0)))) +(define-public tensorflow-core + (package + (name "tensorflow-core") + (version "1.7.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/tensorflow/tensorflow.git") + (commit (string-append "v" version)))) + (file-name (string-append "tensorflow-" version "-checkout")) + (sha256 + (base32 + "0jljzbwhmxi8crbivwachcmlfrrv279qrsvwc62cnnbyw0n1g0kp")))) + (build-system gnu-build-system) + (arguments + `(#:tests? #f ; no "check" target + #:make-flags + (list "-f" "tensorflow/contrib/makefile/Makefile" + "CC=gcc") + #:phases + (modify-phases %standard-phases + (delete 'configure) + (add-after 'unpack 'fix-version + (lambda _ + (substitute* "tensorflow/tools/git/gen_git_source.sh" + (("^GIT_VERSION=.*") + (string-append "GIT_VERSION=" ,version "\n"))) + #t)) + (add-after 'unpack 'unpack-third-party + (lambda* (#:key inputs #:allow-other-keys) + (with-directory-excursion "tensorflow/contrib/makefile/" + (let ((fft2d "downloads/fft2d") + (nsync "downloads/nsync")) + (mkdir-p fft2d) + (invoke "tar" "xf" (assoc-ref inputs "fft2d") + "-C" fft2d "--strip-components=1") + (mkdir-p nsync) + (invoke "tar" "xf" (assoc-ref inputs "nsync") + "-C" nsync "--strip-components=1"))))) + ;; FIXME: it would be nice to build a separate package for nsync and + ;; use it here. Unfortunately, I could not build Tensorflow with a + ;; separately built nsync. + (add-before 'build 'build-nsync + (lambda _ + (with-directory-excursion "tensorflow/contrib/makefile/" + (invoke "bash" "compile_nsync.sh") + (setenv "TARGET_NSYNC_LIB" + "tensorflow/contrib/makefile/downloads/nsync/builds/default.linux.c++11/nsync.a") + (setenv "HOST_NSYNC_LIB" + "tensorflow/contrib/makefile/downloads/nsync/builds/default.linux.c++11/nsync.a") + #t))) + (add-after 'unpack 'find-eigen-headers + (lambda* (#:key inputs #:allow-other-keys) + ;; Ensure that Eigen headers can be found + (setenv "CPLUS_INCLUDE_PATH" + (string-append (getenv "CPLUS_INCLUDE_PATH") + ":" + (assoc-ref inputs "eigen") + "/include/eigen3")) + #t)) + (replace 'install + (lambda* (#:key outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (lib (string-append out "/lib")) + (inc (string-append out "/include"))) + (install-file "tensorflow/contrib/makefile/gen/lib/libtensorflow-core.a" lib) + (for-each (lambda (file) + (let ((target (string-append inc "/" + (dirname file)))) + (mkdir-p target) + (install-file file target))) + (find-files "tensorflow/core" ".*\\.h$")) + #t)))))) + (native-inputs + `(("protobuf" ,protobuf) ; protoc + ;; "You may use, copy, modify this code for any purpose and without + ;; fee. You may distribute this ORIGINAL package." + ("fft2d" + ,(origin + (method url-fetch) + (uri "https://mirror.bazel.build/www.kurims.kyoto-u.ac.jp/~ooura/fft.tgz") + (sha256 + (base32 + "15jjkfvhqvl2c0753d2di8hz0pyzn598g74wqy79awdrf1y67fsj")))) + ("nsync" + ,(origin + (method url-fetch) + (uri (string-append "https://mirror.bazel.build/" + "github.com/google/nsync/archive/" + "0559ce013feac8db639ee1bf776aca0325d28777.tar.gz")) + (sha256 + (base32 + "0qdkyqym34x739mmzv97ah5r7ph462v5xkxqxvidmcfqbi64b132")))) + ("googletest" ,googletest))) + (inputs + `(("eigen" ,eigen) + ("gemmlowp" ,gemmlowp-for-tensorflow) + ("protobuf" ,protobuf) + ("zlib" ,zlib))) + (home-page "https://tensorflow.org") + (synopsis "Machine learning framework") + (description + "TensorFlow is a software library for high performance numerical +computation. Its flexible architecture allows easy deployment of computation +across a variety of platforms, and from desktops to clusters of servers to +mobile and edge devices. + +This package provides only the core library.") + (license license:asl2.0))) + (define-public dlib (package (name "dlib") From patchwork Wed Jan 2 16:17:56 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Ricardo Wurmus X-Patchwork-Id: 626 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 55ADC169F5; Wed, 2 Jan 2019 16:19:36 +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=-6.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_HI, T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) by mira.cbaines.net (Postfix) with ESMTP id E2E21169EF for ; Wed, 2 Jan 2019 16:19:35 +0000 (GMT) Received: from localhost ([127.0.0.1]:45913 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gejF1-0004ZD-FP for patchwork@mira.cbaines.net; Wed, 02 Jan 2019 11:19:35 -0500 Received: from eggs.gnu.org ([208.118.235.92]:34030) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gejEZ-0004KG-Hv 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 1gejEV-0006jV-QJ for guix-patches@gnu.org; Wed, 02 Jan 2019 11:19:07 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:51189) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gejEV-0006jO-Mk for guix-patches@gnu.org; Wed, 02 Jan 2019 11:19:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gejEV-0002AG-Gb for guix-patches@gnu.org; Wed, 02 Jan 2019 11:19:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#33952] [PATCH 03/14] gnu: Add c-ares-next. Resent-From: Ricardo Wurmus Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 02 Jan 2019 16:19:03 +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.15464459108180 (code B ref 33952); Wed, 02 Jan 2019 16:19:03 +0000 Received: (at 33952) by debbugs.gnu.org; 2 Jan 2019 16:18:30 +0000 Received: from localhost ([127.0.0.1]:44895 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gejDv-00027m-06 for submit@debbugs.gnu.org; Wed, 02 Jan 2019 11:18:30 -0500 Received: from pegasus.bbbm.mdc-berlin.de ([141.80.25.20]:35708) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gejDs-00027X-OK for 33952@debbugs.gnu.org; Wed, 02 Jan 2019 11:18:25 -0500 Received: from localhost (localhost [127.0.0.1]) by pegasus.bbbm.mdc-berlin.de (Postfix) with ESMTP id 3B720C84FCC for <33952@debbugs.gnu.org>; Wed, 2 Jan 2019 17:18:24 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=mdc-berlin.de; h= content-transfer-encoding:content-type:content-type:mime-version :references:in-reply-to:x-mailer:message-id:date:date:subject :subject:from:from:received:received:received; s=mdc; t= 1546445898; x=1548260299; bh=RKESJoRZKI2PMG7oD69BIjF4gzqNr+nAfTE zLtxruRQ=; b=h+9H7a21pcoEMPZIrQdYhhxZBqg+wiPWO0qjflWmYnBP8XWROM1 ZGByAuuhjhA1yi9WVDwQcZL2MVzfq2jbhgs+G+W0Xx/Ns7ogFyb/4TulyGXNUVF4 CP8Mck4davsouDfX+SYoGdp5krvNOzhVUNHwQsl8KtNWs4exsWIxiZc8= X-Virus-Scanned: amavisd-new at mdc-berlin.de Received: from pegasus.bbbm.mdc-berlin.de ([127.0.0.1]) by localhost (pegasus.bbbm.mdc-berlin.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id sIxS6h8vfsvK for <33952@debbugs.gnu.org>; Wed, 2 Jan 2019 17:18:18 +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 pegasus.bbbm.mdc-berlin.de (Postfix) with ESMTPS for <33952@debbugs.gnu.org>; Wed, 2 Jan 2019 17:18:18 +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:18 +0100 From: Ricardo Wurmus Date: Wed, 2 Jan 2019 17:17:56 +0100 Message-ID: <20190102161807.28297-3-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-10.372900-8.000000-10 X-TMASE-MatchedRID: BKYvX4ImMZt7qToVEfwBPAPZZctd3P4BLC92/N1OWlnJyYU2J054PQn9 ofQNoBQFxE1PZtSGxlEXePNj3Gtq5GoOf51EEs2qY7jepwkpr6+DwLTbOQjvDjl4J33GJ8zNHBs H6IIpfoIuqXPaIA+8tuYNUkTONDMf0Dg2p0ztpjQQ9/tMNQ4aig+jS+LRpl819ic6qd35DROWAH k4lR++dRQGDPZOkNthrZRqhFuRohhRMEYSH1pwnk3dRRsh/h6ygYy8y+HaPlZqXTlXpEy00aPFj JEFr+olSlnU38LCY8vpaGIM46J67MprJP8FBOIaivN9ssYEZY1xdXrSUR8XcsHuEChDAHDLX+/p FhViCMsQY8ccuQTZ8Q== X-TM-AS-User-Approved-Sender: Yes X-TM-AS-User-Blocked-Sender: No X-TMASE-Result: 10--10.372900-8.000000 X-TMASE-Version: SMEX-12.5.0.1684-8.5.1010-24332.001 X-TM-SNTS-SMTP: 7E66357041A571936E392FBC34A51077872A6ABAD2301D757BCE8AEF691A17072000: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/adns.scm (c-ares-next): New variable. --- gnu/packages/adns.scm | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/gnu/packages/adns.scm b/gnu/packages/adns.scm index 6e3af8b2d..28a65667e 100644 --- a/gnu/packages/adns.scm +++ b/gnu/packages/adns.scm @@ -1,6 +1,7 @@ ;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2014 Ludovic Courtès ;;; Copyright © 2015, 2016, 2018 Efraim Flashner +;;; Copyright © 2018 Ricardo Wurmus ;;; ;;; This file is part of GNU Guix. ;;; @@ -21,6 +22,7 @@ #:use-module (guix licenses) #:use-module (guix packages) #:use-module (guix download) + #:use-module (guix build-system cmake) #:use-module (guix build-system gnu) #:use-module (gnu packages pkg-config)) @@ -80,3 +82,33 @@ queries without blocking, or need to perform multiple DNS queries in parallel. The primary examples of such applications are servers which communicate with multiple clients and programs with graphical user interfaces.") (license (x11-style "https://c-ares.haxx.se/license.html")))) + +;; XXX: temporary package for tensorflow / grpc +(define-public c-ares-next + (package + (name "c-ares") + (version "1.15.0") + (source (origin + (method url-fetch) + (uri (string-append + "https://c-ares.haxx.se/download/" name "-" version + ".tar.gz")) + (sha256 + (base32 + "0lk8knip4xk6qzksdkn7085mmgm4ixfczdyyjw656c193y3rgnvc")))) + (build-system cmake-build-system) + (arguments + `(#:tests? #f ; some tests seem to require Internet connection + #:configure-flags + (list "-DCARES_BUILD_TESTS=ON"))) + (native-inputs + `(("pkg-config" ,pkg-config))) + (home-page "https://c-ares.haxx.se/") + (synopsis "C library for asynchronous DNS requests") + (description + "C-ares is a C library that performs DNS requests and name resolution +asynchronously. It is intended for applications which need to perform DNS +queries without blocking, or need to perform multiple DNS queries in parallel. +The primary examples of such applications are servers which communicate with +multiple clients and programs with graphical user interfaces.") + (license (x11-style "https://c-ares.haxx.se/license.html")))) From patchwork Wed Jan 2 16:17:57 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Ricardo Wurmus X-Patchwork-Id: 623 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 0B6E0169F5; Wed, 2 Jan 2019 16:19:12 +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=-6.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_HI, T_DKIM_INVALID,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) by mira.cbaines.net (Postfix) with ESMTP id B732B169F4 for ; Wed, 2 Jan 2019 16:19:10 +0000 (GMT) Received: from localhost ([127.0.0.1]:45905 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gejEc-0004LD-6X for patchwork@mira.cbaines.net; Wed, 02 Jan 2019 11:19:10 -0500 Received: from eggs.gnu.org ([208.118.235.92]:34006) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gejEY-0004KC-Vh 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 1gejEW-0006ko-9q for guix-patches@gnu.org; Wed, 02 Jan 2019 11:19:06 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:43443) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gejEW-0006kE-5r for guix-patches@gnu.org; Wed, 02 Jan 2019 11:19:04 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gejEW-0002AN-0h for guix-patches@gnu.org; Wed, 02 Jan 2019 11:19:04 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#33952] [PATCH 04/14] gnu: Add protobuf-next. Resent-From: Ricardo Wurmus Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 02 Jan 2019 16:19:03 +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.15464459178207 (code B ref 33952); Wed, 02 Jan 2019 16:19:03 +0000 Received: (at 33952) by debbugs.gnu.org; 2 Jan 2019 16:18:37 +0000 Received: from localhost ([127.0.0.1]:44899 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gejE0-00028C-Fe for submit@debbugs.gnu.org; Wed, 02 Jan 2019 11:18:37 -0500 Received: from sinope02.bbbm.mdc-berlin.de ([141.80.25.24]:56556) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gejDy-00027s-Hf for 33952@debbugs.gnu.org; Wed, 02 Jan 2019 11:18:31 -0500 Received: from localhost (localhost [127.0.0.1]) by sinope02.bbbm.mdc-berlin.de (Postfix) with ESMTP id 0ABF614B5910 for <33952@debbugs.gnu.org>; Wed, 2 Jan 2019 17:18:30 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=mdc-berlin.de; h= content-transfer-encoding:content-type:content-type:mime-version :references:in-reply-to:x-mailer:message-id:date:date:subject :subject:from:from:received:received:received; s=mdc; t= 1546445904; x=1548260305; bh=+FrFgmmyZYWh4GQ4NF6i72nYv4Z0StZI84i Niu7mel0=; b=XF5XHlu1VJapJRi+9eKMJE/0mGk3TrHWhrEDINPZ3JJ/uYfvE/H Eyz8FlQx4RQ0w/DIU2MdvtlD9hhZoAUrCfDR/FmC10KiOskiTuEaNGEFwwaEZ8e2 8UtlK5AWVCK7l2MmyOB8XwSJfqhMhgK+b2jE8HyyOibWGtuMCv68kMuY= X-Virus-Scanned: amavisd-new at mdc-berlin.de Received: from sinope02.bbbm.mdc-berlin.de ([127.0.0.1]) by localhost (sinope02.bbbm.mdc-berlin.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id GbjlpVHHaACx for <33952@debbugs.gnu.org>; Wed, 2 Jan 2019 17:18:24 +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 sinope02.bbbm.mdc-berlin.de (Postfix) with ESMTPS for <33952@debbugs.gnu.org>; Wed, 2 Jan 2019 17:18:24 +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:24 +0100 From: Ricardo Wurmus Date: Wed, 2 Jan 2019 17:17:57 +0100 Message-ID: <20190102161807.28297-4-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-3.198800-8.000000-10 X-TMASE-MatchedRID: NB29Ml8pA597qToVEfwBPCmjEOrcO6AyTJDl9FKHbrlD+GBVsjZoT8xu ljPZE5r588l8P+q3vS1vbSNs8htlkwGlMgWxKLIt8pRHzcG+oi3gYKfhtyF8awT6rhqbhNuSumG PyssTMbX/nMBBgg407/JcAJWYjOv3v1l2Uvx6idoLbigRnpKlKTpcQTtiHDgWDiX+MrEKYwQ7Ro I8sQndu4w7vIH6hUsOKR/acSd+4ENjZ5O0OobI7D9R1AvfIpAGAePCwYnu6CwbAYq8MQLU18Os/ uh9urWzo/G+4k9fsa9mNZ8xUDzC8x8CMVsKypBZfuHvzFCR4y/lRD1MXQmMzA== X-TM-AS-User-Approved-Sender: Yes X-TM-AS-User-Blocked-Sender: No X-TMASE-Result: 10--3.198800-8.000000 X-TMASE-Version: SMEX-12.5.0.1684-8.5.1010-24332.001 X-TM-SNTS-SMTP: 4D0901C14D9CD5B9977DC21A7F1BD2940E9CD00C54B3EF34A5CD8503603503862000: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/protobuf.scm (protobuf-next): New variable. --- gnu/packages/protobuf.scm | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/gnu/packages/protobuf.scm b/gnu/packages/protobuf.scm index 85e3170b9..a25038ef4 100644 --- a/gnu/packages/protobuf.scm +++ b/gnu/packages/protobuf.scm @@ -2,7 +2,7 @@ ;;; Copyright © 2014 Ludovic Courtès ;;; Copyright © 2016 Daniel Pimentel ;;; Copyright © 2016 Leo Famulari -;;; Copyright © 2017 Ricardo Wurmus +;;; Copyright © 2017, 2018 Ricardo Wurmus ;;; Copyright © 2017, 2018 Tobias Geerinckx-Rice ;;; ;;; This file is part of GNU Guix. @@ -108,6 +108,19 @@ yet extensible format. Google uses Protocol Buffers for almost all of its internal RPC protocols and file formats.") (license license:bsd-3))) +(define-public protobuf-next + (package (inherit protobuf) + (name "protobuf") + (version "3.6.1") + (source (origin + (method url-fetch) + (uri (string-append "https://github.com/google/protobuf/releases/" + "download/v" version "/protobuf-cpp-" + version ".tar.gz")) + (sha256 + (base32 + "0a955bz59ihrb5wg7dwi12xajdi5pmz4bl0g147rbdwv393jwwxk")))))) + ;; XXX Remove this old version when no other packages depend on it. (define-public protobuf-2 (package (inherit protobuf) From patchwork Wed Jan 2 16:17:58 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ricardo Wurmus X-Patchwork-Id: 629 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 1C596169F5; Wed, 2 Jan 2019 16:19:46 +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=-6.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_HI, T_DKIM_INVALID,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) by mira.cbaines.net (Postfix) with ESMTP id A6EFD169EF for ; Wed, 2 Jan 2019 16:19:45 +0000 (GMT) Received: from localhost ([127.0.0.1]:45919 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gejFB-0004om-8Q for patchwork@mira.cbaines.net; Wed, 02 Jan 2019 11:19:45 -0500 Received: from eggs.gnu.org ([208.118.235.92]:34017) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gejEZ-0004KE-Ah 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 1gejEW-0006mE-P9 for guix-patches@gnu.org; Wed, 02 Jan 2019 11:19:07 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:57185) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gejEW-0006ll-LG for guix-patches@gnu.org; Wed, 02 Jan 2019 11:19:04 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gejEW-0002AX-GH for guix-patches@gnu.org; Wed, 02 Jan 2019 11:19:04 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#33952] [PATCH 05/14] gnu: Add grpc. Resent-From: Ricardo Wurmus Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 02 Jan 2019 16:19:04 +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.15464459178214 (code B ref 33952); Wed, 02 Jan 2019 16:19:04 +0000 Received: (at 33952) by debbugs.gnu.org; 2 Jan 2019 16:18:37 +0000 Received: from localhost ([127.0.0.1]:44901 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gejE5-00028K-Bf for submit@debbugs.gnu.org; Wed, 02 Jan 2019 11:18:37 -0500 Received: from venus.bbbm.mdc-berlin.de ([141.80.25.30]:34420) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gejDz-000280-Hx for 33952@debbugs.gnu.org; Wed, 02 Jan 2019 11:18:32 -0500 Received: from localhost (localhost [127.0.0.1]) by venus.bbbm.mdc-berlin.de (Postfix) with ESMTP id 0CCD43808E6 for <33952@debbugs.gnu.org>; Wed, 2 Jan 2019 17:18:31 +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= 1546445910; x=1548260311; bh=TcErdeO25A1ELGUrZadxNr0WcBCflrXJnzv gRtLzkRY=; b=KOtxqS2k/zU62QOT22xW7h7It/9lo9KgUtH+siQcolvUA+KnRRE gYaW/J6B+vJW0Er4sUjK/8juqvyvmyON9uvWvneb3JZJ++nXzTc8ETuGTZf+/+Fl rg07A8NWUZ4CvvR3lLvuSa/MVf4Op/b8Yr+9sxrCFW6oQtTbMlkJ3tcc= 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 1p55eGKuPrRC for <33952@debbugs.gnu.org>; Wed, 2 Jan 2019 17:18:30 +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:30 +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:30 +0100 From: Ricardo Wurmus Date: Wed, 2 Jan 2019 17:17:58 +0100 Message-ID: <20190102161807.28297-5-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-6.300200-8.000000-10 X-TMASE-MatchedRID: KISk8WdGcXCSkBDp1A0HiriMC5wdwKqdTJDl9FKHbrn4JyR+b5tvoAVH u6jbMMsIcTAtS2/Pz7m7/LlTYfsWi+o3TaQdFshVnVTWWiNp+v91IdjjHRSNCfiOVFVDMBMP8G/ sG7+c6DLjH7e2FFPVBuLpee4QwI3ecqmQ2Pf7LSMXrP0cYcrA2x852jgffnmIlyTha2lEJrXID4 QowRlFfueU+JIba2eRgDLqnrRlXrZ8nn9tnqel2MprJP8FBOIaMUq7KlLFE5ZwyPICahJ8/o1Ho 7WvaQbvk5Pe3Tt7YlBhd3OKzaEHbQ== X-TM-AS-User-Approved-Sender: Yes X-TM-AS-User-Blocked-Sender: No X-TMASE-Result: 10--6.300200-8.000000 X-TMASE-Version: SMEX-12.5.0.1684-8.5.1010-24332.001 X-TM-SNTS-SMTP: 58E324458D08512B45A45528E601576A835BC7D241B817770375C531B153A9C62000: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/machine-learning.scm (grpc): New variable. --- gnu/packages/machine-learning.scm | 40 +++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/gnu/packages/machine-learning.scm b/gnu/packages/machine-learning.scm index dd725a609..d3310ac83 100644 --- a/gnu/packages/machine-learning.scm +++ b/gnu/packages/machine-learning.scm @@ -39,6 +39,7 @@ #:use-module (guix build-system r) #:use-module (guix git-download) #:use-module (gnu packages) + #:use-module (gnu packages adns) #:use-module (gnu packages algebra) #:use-module (gnu packages autotools) #:use-module (gnu packages boost) @@ -58,6 +59,7 @@ #:use-module (gnu packages python) #:use-module (gnu packages statistics) #:use-module (gnu packages swig) + #:use-module (gnu packages tls) #:use-module (gnu packages xml) #:use-module (gnu packages xorg) #:use-module (ice-9 match)) @@ -791,6 +793,44 @@ mobile and edge devices. This package provides only the core library.") (license license:asl2.0))) +(define-public grpc + (package + (name "grpc") + (version "1.16.1") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/grpc/grpc.git") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1jimqz3115f9pli5w6ik9wi7mjc7ix6y7yrq4a1ab9fc3dalj7p2")))) + (build-system cmake-build-system) + (arguments + `(#:tests? #f ; no test target + #:configure-flags + (list "-DgRPC_ZLIB_PROVIDER=package" + "-DgRPC_CARES_PROVIDER=package" + "-DgRPC_SSL_PROVIDER=package" + "-DgRPC_PROTOBUF_PROVIDER=package"))) + (inputs + `(("c-ares" ,c-ares-next) + ("openssl" ,openssl) + ("zlib" ,zlib))) + (native-inputs + `(("protobuf" ,protobuf-next) + ("python" ,python-wrapper))) + (home-page "https://grpc.io") + (synopsis "High performance universal RPC framework") + (description "gRPC is a modern open source high performance @dfn{Remote +Procedure Call} (RPC) framework that can run in any environment. It can +efficiently connect services in and across data centers with pluggable support +for load balancing, tracing, health checking and authentication. It is also +applicable in last mile of distributed computing to connect devices, mobile +applications and browsers to backend services.") + (license license:asl2.0))) + (define-public dlib (package (name "dlib") From patchwork Wed Jan 2 16:17:59 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Ricardo Wurmus X-Patchwork-Id: 630 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 E2454169F5; Wed, 2 Jan 2019 16:19:53 +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=-6.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_HI, T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) by mira.cbaines.net (Postfix) with ESMTP id 5DC4B169EF for ; Wed, 2 Jan 2019 16:19:53 +0000 (GMT) Received: from localhost ([127.0.0.1]:45921 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gejFI-0004t0-V2 for patchwork@mira.cbaines.net; Wed, 02 Jan 2019 11:19:52 -0500 Received: from eggs.gnu.org ([208.118.235.92]:34038) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gejEZ-0004KJ-Rl for guix-patches@gnu.org; Wed, 02 Jan 2019 11:19:09 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gejEX-0006nz-93 for guix-patches@gnu.org; Wed, 02 Jan 2019 11:19:07 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:46809) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gejEX-0006nr-5h for guix-patches@gnu.org; Wed, 02 Jan 2019 11:19:05 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gejEX-0002Ae-0T for guix-patches@gnu.org; Wed, 02 Jan 2019 11:19:05 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#33952] [PATCH 06/14] gnu: Add graphviz-2.38. Resent-From: Ricardo Wurmus Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 02 Jan 2019 16:19:04 +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.15464459258248 (code B ref 33952); Wed, 02 Jan 2019 16:19:04 +0000 Received: (at 33952) by debbugs.gnu.org; 2 Jan 2019 16:18:45 +0000 Received: from localhost ([127.0.0.1]:44904 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gejE6-00028d-MA for submit@debbugs.gnu.org; Wed, 02 Jan 2019 11:18:45 -0500 Received: from pegasus.bbbm.mdc-berlin.de ([141.80.25.20]:35716) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gejE5-00028H-IX for 33952@debbugs.gnu.org; Wed, 02 Jan 2019 11:18:38 -0500 Received: from localhost (localhost [127.0.0.1]) by pegasus.bbbm.mdc-berlin.de (Postfix) with ESMTP id 1016BC84FD1 for <33952@debbugs.gnu.org>; Wed, 2 Jan 2019 17:18:37 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=mdc-berlin.de; h= content-transfer-encoding:content-type:content-type:mime-version :references:in-reply-to:x-mailer:message-id:date:date:subject :subject:from:from:received:received:received; s=mdc; t= 1546445911; x=1548260312; bh=vSP/Ov5g1M19t7JCcLDN1FJJiYkfpLUNjVh 5pR0RYCM=; b=ik04mNPiH6bX1G70PBbVxwAr4osBQBSAl+QFDNBAxTj3tOr0xSW 3ahN8c/VsJx+YV7QLJKsrZ6A8ua6faY7o9m96JzJqPhYF30HhJDgWGakJGf/8JHW bxhCTbhKNGrbYLtwiCEQNqZV7/vK6cVL/Ceb9mut1pED6P4XGzmncW4E= X-Virus-Scanned: amavisd-new at mdc-berlin.de Received: from pegasus.bbbm.mdc-berlin.de ([127.0.0.1]) by localhost (pegasus.bbbm.mdc-berlin.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 4S3w-fA1Ffeo for <33952@debbugs.gnu.org>; Wed, 2 Jan 2019 17:18:31 +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 pegasus.bbbm.mdc-berlin.de (Postfix) with ESMTPS for <33952@debbugs.gnu.org>; Wed, 2 Jan 2019 17:18:31 +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:31 +0100 From: Ricardo Wurmus Date: Wed, 2 Jan 2019 17:17:59 +0100 Message-ID: <20190102161807.28297-6-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-2.241300-8.000000-10 X-TMASE-MatchedRID: BKYvX4ImMZt7qToVEfwBPCmjEOrcO6AyTJDl9FKHbrkAhmnHHeGnvQn9 ofQNoBQFiXjq2ugFXy/lcVvS1Q3fCmTTipqtENlTk3rl+MaNgxDPmHNCdSewdiMlNiyEyQgPzsJ V9eUE38poCTVycA8zsauJm2QuCxjNJnhvvcMijbXAJnGRMfFxyUCrr/LkAQ460TtDAM4INC/qD1 FjJ81U5tBHSdafBmNg7GV9zPZnVko5YT8YJoGWS1z+axQLnAVBv8jdqvFOu+KHlDUCu0I+XF2kx KIqW9ov585VzGMOFzA9wJeM2pSaRcK21zBg2KlfWDfDBnmaIysOXJ6kzOEpM1Nt1d+xFQKwsqtl YX6Z4u6hHMfOU31bvouRF1tNcc5RPfKs+zdM1XSsRKNgO0Z78e1/EWrhrdHor228gUDjHklzJSo 3e5CVtD9p64ac051+EhXhGqrpd2ga1FOL7rDRI1XK9tOD+u6c X-TM-AS-User-Approved-Sender: Yes X-TM-AS-User-Blocked-Sender: No X-TMASE-Result: 10-2.241300-8.000000 X-TMASE-Version: SMEX-12.5.0.1684-8.5.1010-24332.001 X-TM-SNTS-SMTP: DD3D91724144D8738AFB81A45FF7F0D6C861904672632CEC7C734075A703B20C2000: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 (graphviz-2.38): New variable. --- gnu/packages/graphviz.scm | 51 ++++++++++++++++++++++++++++++++++++++- 1 file changed, 50 insertions(+), 1 deletion(-) diff --git a/gnu/packages/graphviz.scm b/gnu/packages/graphviz.scm index 569923d4e..47342b784 100644 --- a/gnu/packages/graphviz.scm +++ b/gnu/packages/graphviz.scm @@ -2,7 +2,7 @@ ;;; Copyright © 2013, 2015 Ludovic Courtès ;;; Copyright © 2015 Efraim Flashner ;;; Copyright © 2016 Theodoros Foradis -;;; Copyright © 2017 Ricardo Wurmus +;;; Copyright © 2017, 2018 Ricardo Wurmus ;;; Copyright © 2017, 2018 Tobias Geerinckx-Rice ;;; Copyright © 2017 Gábor Boskovits ;;; Copyright © 2018 Mathieu Lirzin @@ -27,7 +27,10 @@ #:use-module (guix build-system gnu) #:use-module (guix build-system python) #:use-module (guix download) + #:use-module (guix git-download) + #:use-module (guix utils) #:use-module (gnu packages xorg) + #:use-module (gnu packages flex) #:use-module (gnu packages gtk) #:use-module (gnu packages xml) #:use-module (gnu packages glib) @@ -35,6 +38,7 @@ #:use-module (gnu packages bison) #:use-module (gnu packages image) #:use-module (gnu packages autotools) + #:use-module (gnu packages perl) #:use-module (gnu packages pkg-config) #:use-module (gnu packages glib) #:use-module (gnu packages gtk) @@ -43,6 +47,7 @@ #:use-module (gnu packages compression) #:use-module (gnu packages gd) #:use-module (gnu packages swig) + #:use-module (gnu packages tcl) #:use-module (gnu packages python) #:use-module (gnu packages tex) #:use-module ((guix licenses) #:prefix license:)) @@ -114,6 +119,50 @@ software engineering, database and web design, machine learning, and in visual interfaces for other technical domains.") (license license:epl1.0))) +;; Older Graphviz needed for pygraphviz. See +;; https://github.com/pygraphviz/pygraphviz/issues/175 +(define-public graphviz-2.38 + ;; This commit corresponds to the changelog change for version 2.38.0. + ;; There are no tags. + (let ((commit "f54ac2c9313ae80ccf76ef4ac6aa9be820a23126") + (revision "1")) + (package (inherit graphviz) + (name "graphviz") + (version (git-version "2.38.0" revision commit)) + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://gitlab.com/graphviz/graphviz.git") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1vjg308gflmi1khgjmcj431cnkrlv12bg4cqah39mwhny92jy92x")))) + (arguments + (substitute-keyword-arguments (package-arguments graphviz) + ((#:phases phases) + `(modify-phases ,phases + (add-after 'unpack 'prepare-bootstrap + (lambda _ + (substitute* "autogen.sh" + (("/bin/sh") (which "sh")) + (("\\$GRAPHVIZ_VERSION_DATE") "0")) + (setenv "CONFIG_SHELL" (which "sh")) + (setenv "SHELL" (which "sh")) + + (map make-file-writable (find-files "." ".*")) + #t)) + (replace 'bootstrap + (lambda _ (invoke (which "sh") "autogen.sh" "NOCONFIG") #t)))))) + (native-inputs + `(("autoconf" ,autoconf) + ("automake" ,automake) + ("libtool" ,libtool) + ("flex" ,flex) + ("perl" ,perl) + ("tcl" ,tcl) + ,@(package-native-inputs graphviz)))))) + (define-public python-graphviz (package (name "python-graphviz") From patchwork Wed Jan 2 16:18:00 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ricardo Wurmus X-Patchwork-Id: 625 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 2A884169F5; Wed, 2 Jan 2019 16:19:33 +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=-6.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_HI, T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) by mira.cbaines.net (Postfix) with ESMTP id CA51D169EF for ; Wed, 2 Jan 2019 16:19:32 +0000 (GMT) Received: from localhost ([127.0.0.1]:45911 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gejEy-0004YU-CU for patchwork@mira.cbaines.net; Wed, 02 Jan 2019 11:19:32 -0500 Received: from eggs.gnu.org ([208.118.235.92]:34003) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gejEY-0004KA-VI for guix-patches@gnu.org; Wed, 02 Jan 2019 11:19:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gejEX-0006oG-PS for guix-patches@gnu.org; Wed, 02 Jan 2019 11:19:06 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:57478) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gejEX-0006o8-Lg for guix-patches@gnu.org; Wed, 02 Jan 2019 11:19:05 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gejEX-0002Am-HK for guix-patches@gnu.org; Wed, 02 Jan 2019 11:19:05 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#33952] [PATCH 07/14] gnu: Add python-doctest-ignore-unicode. 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.15464459258254 (code B ref 33952); Wed, 02 Jan 2019 16:19:05 +0000 Received: (at 33952) by debbugs.gnu.org; 2 Jan 2019 16:18:45 +0000 Received: from localhost ([127.0.0.1]:44908 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gejED-00028z-5y for submit@debbugs.gnu.org; Wed, 02 Jan 2019 11:18:45 -0500 Received: from sinope02.bbbm.mdc-berlin.de ([141.80.25.24]:56564) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gejEB-00028h-2l for 33952@debbugs.gnu.org; Wed, 02 Jan 2019 11:18:43 -0500 Received: from localhost (localhost [127.0.0.1]) by sinope02.bbbm.mdc-berlin.de (Postfix) with ESMTP id 8F81214B5915 for <33952@debbugs.gnu.org>; Wed, 2 Jan 2019 17:18:42 +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= 1546445917; x=1548260318; bh=lI2ikxE+3wb/dj3GO+546SZzrCOR3p2VLpy KUKVHTOI=; b=Otb31vlKHsAWV3Rrb/kL+peLIa4ihhl2t7U8aobCWBPQCBBkEee A/xJjOWYoQ+43mZZWkTr7LlWMuXGOLZKMFD4oIExn7ko3sd4Sx1DauTfsBDGihPH gVWAeI/N/Du3zSt0EPSb4EL6kAaruZVtXRqOU+eY0Dw9+RSYRNX36MU8= X-Virus-Scanned: amavisd-new at mdc-berlin.de Received: from sinope02.bbbm.mdc-berlin.de ([127.0.0.1]) by localhost (sinope02.bbbm.mdc-berlin.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 1prK8t3rUyMF for <33952@debbugs.gnu.org>; Wed, 2 Jan 2019 17:18:37 +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 sinope02.bbbm.mdc-berlin.de (Postfix) with ESMTPS for <33952@debbugs.gnu.org>; Wed, 2 Jan 2019 17:18:37 +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:37 +0100 From: Ricardo Wurmus Date: Wed, 2 Jan 2019 17:18:00 +0100 Message-ID: <20190102161807.28297-7-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-2.929100-8.000000-10 X-TMASE-MatchedRID: IJfQKf6xjE5PciQIsk29C7iMC5wdwKqdTJDl9FKHbrkNmPMcsvd5FpAP 6Djd73MAbqZQduIGtowek5BISmiXZYw2gDOr2cehngIgpj8eDcAZ1CdBJOsoY8RB0bsfrpPI34T 9cYMsdwyvmpBG4NKximhgG7sJHQBx4w+5EJljbAUeuuqhuW1BsKdItaH+6u8JqoTtgW7H7tGm0M YIRQFigrpeLRNBTwmJbJnn7y9O8W2CEq3ZCBanrjuGNnVAYS/wUwWE+0Rl6FsSQBCR9Dbh0/WgJ 21rFsx3 X-TM-AS-User-Approved-Sender: Yes X-TM-AS-User-Blocked-Sender: No X-TMASE-Result: 10--2.929100-8.000000 X-TMASE-Version: SMEX-12.5.0.1684-8.5.1010-24332.001 X-TM-SNTS-SMTP: 8D1EEB02362902AF98DA48E4879922C2AFFB10EEEC5D315F399E82035612200C2000: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/python.scm (python-doctest-ignore-unicode): 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 ad5c56427..4e9e19585 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -15111,6 +15111,27 @@ RFC 8265 and RFC 8266.") (properties '((upstream-name . "Wikidata"))) (license license:gpl3+))) +(define-public python-doctest-ignore-unicode + (package + (name "python-doctest-ignore-unicode") + (version "0.1.2") + (source + (origin + (method url-fetch) + (uri (pypi-uri "doctest-ignore-unicode" version)) + (sha256 + (base32 + "1m9aa4qnyj21lbq4sbvmv1vcz7zksss4rz37ddf2hxv4hk8b547w")))) + (build-system python-build-system) + (native-inputs + `(("python-nose" ,python-nose))) + (home-page "https://github.com/gnublade/doctest-ignore-unicode") + (synopsis "Ignore Unicode literal prefixes in doctests") + (description + "This package adds support for a flag to ignore Unicode literal prefixes +in doctests.") + (license license:asl2.0))) + (define-public python-attr (package (name "python-attr") 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") From patchwork Wed Jan 2 16:18:02 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ricardo Wurmus X-Patchwork-Id: 628 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 34105169F5; 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=-6.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_HI, T_DKIM_INVALID,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) by mira.cbaines.net (Postfix) with ESMTP id D9B35169F4 for ; Wed, 2 Jan 2019 16:19:38 +0000 (GMT) Received: from localhost ([127.0.0.1]:45917 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gejF4-0004h0-Ej for patchwork@mira.cbaines.net; Wed, 02 Jan 2019 11:19:38 -0500 Received: from eggs.gnu.org ([208.118.235.92]:34037) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gejEZ-0004KI-RV 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-0006ot-Pb for guix-patches@gnu.org; Wed, 02 Jan 2019 11:19:07 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:32809) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gejEY-0006op-Lu 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 1gejEY-0002B1-GO for guix-patches@gnu.org; Wed, 02 Jan 2019 11:19:06 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#33952] [PATCH 09/14] gnu: Add python-absl-py. Resent-From: Ricardo Wurmus Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 02 Jan 2019 16:19:06 +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.15464459328287 (code B ref 33952); Wed, 02 Jan 2019 16:19:06 +0000 Received: (at 33952) by debbugs.gnu.org; 2 Jan 2019 16:18:52 +0000 Received: from localhost ([127.0.0.1]:44913 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gejEJ-00029a-PG for submit@debbugs.gnu.org; Wed, 02 Jan 2019 11:18:51 -0500 Received: from pegasus.bbbm.mdc-berlin.de ([141.80.25.20]:35724) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gejEH-00029O-UY for 33952@debbugs.gnu.org; Wed, 02 Jan 2019 11:18:50 -0500 Received: from localhost (localhost [127.0.0.1]) by pegasus.bbbm.mdc-berlin.de (Postfix) with ESMTP id 6A8CAC84FD6 for <33952@debbugs.gnu.org>; Wed, 2 Jan 2019 17:18:49 +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= 1546445924; x=1548260325; bh=mBXwJb+VszmJO+3KpF1X7vhItZ4o22Bgbxj tTHw189I=; b=BtPb3Q89R/jX1FJUjXFF4BUQzwZCBLZGb3IqDwC/zCwrPQ0zfgF z5R7TdzVZDIJ3Iurqm/1ZeTRbvgvvTf1c7gwg8DSvEbRWvU0cBw11mO5begMRnbY T2S8pCFGPbGnnfOA4kGEQqX/0VSM/yhvF60JySP/2Gw585bV9rsRs1wg= X-Virus-Scanned: amavisd-new at mdc-berlin.de Received: from pegasus.bbbm.mdc-berlin.de ([127.0.0.1]) by localhost (pegasus.bbbm.mdc-berlin.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id zLlGxKniVS5t for <33952@debbugs.gnu.org>; Wed, 2 Jan 2019 17:18:44 +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 pegasus.bbbm.mdc-berlin.de (Postfix) with ESMTPS for <33952@debbugs.gnu.org>; Wed, 2 Jan 2019 17:18:44 +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:43 +0100 From: Ricardo Wurmus Date: Wed, 2 Jan 2019 17:18:02 +0100 Message-ID: <20190102161807.28297-9-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-1.565500-8.000000-10 X-TMASE-MatchedRID: 0+dfYMSQgql7qToVEfwBPAPZZctd3P4BrrEvQogcy/EoFW8VuxQzlWmC ti+JzZB1KU8kRnYZf9aHEeMTfR0Cex8TzIzimOwPC24oEZ6SpSl2+nEixMccdvExmMzPfDZveTU 75qKXoLgW+FmU/03JUUmtyNymyBXwvHUaJwehl0Nq8GSm73ioEWRBNaTAQfFbECwWqIMO3b+rVy g/lYygkDZvaLYf+DB0XCkStwzPypokBnZdbUCO7dP+R0Mb1QdVNPmhoVMfCdppb8gNRjT19Q== X-TM-AS-User-Approved-Sender: Yes X-TM-AS-User-Blocked-Sender: No X-TMASE-Result: 10--1.565500-8.000000 X-TMASE-Version: SMEX-12.5.0.1684-8.5.1010-24332.001 X-TM-SNTS-SMTP: 58F10D79173AEE03499549CFD8E5BE376C227FE7C129496EF20F566F67F180742000: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/python.scm (python-absl-py): 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 4e9e19585..ac8de1160 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -15089,6 +15089,27 @@ on regular expressions.") RFC 8265 and RFC 8266.") (license license:expat))) +(define-public python-absl-py + (package + (name "python-absl-py") + (version "0.6.1") + (source + (origin + (method url-fetch) + (uri (pypi-uri "absl-py" version)) + (sha256 + (base32 + "1mp9lk0b2qa37b7y6ak4lvf6ifw2ylyy6bkf9ik77md3j4xrwlc7")))) + (build-system python-build-system) + (propagated-inputs + `(("python-six" ,python-six))) + (home-page "https://github.com/abseil/abseil-py") + (synopsis "Abseil Python common libraries") + (description + "This package provides the Abseil Python Common Libraries, a collection +of Python libraries for building Python applications.") + (license license:asl2.0))) + (define-public python-wikidata (package (name "python-wikidata") From patchwork Wed Jan 2 16:25:08 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ricardo Wurmus X-Patchwork-Id: 632 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 4A330169F5; Wed, 2 Jan 2019 16:26:31 +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=-6.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_HI, T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) by mira.cbaines.net (Postfix) with ESMTP id F112F169EF for ; Wed, 2 Jan 2019 16:26:30 +0000 (GMT) Received: from localhost ([127.0.0.1]:45966 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gejLi-0006Fx-HT for patchwork@mira.cbaines.net; Wed, 02 Jan 2019 11:26:30 -0500 Received: from eggs.gnu.org ([208.118.235.92]:35829) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gejLY-0006Bl-DX for guix-patches@gnu.org; Wed, 02 Jan 2019 11:26:23 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gejLK-0004yn-N2 for guix-patches@gnu.org; Wed, 02 Jan 2019 11:26:13 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:43766) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gejLG-0004xJ-MA for guix-patches@gnu.org; Wed, 02 Jan 2019 11:26:04 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gejLG-0002NP-EN for guix-patches@gnu.org; Wed, 02 Jan 2019 11:26:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#33952] [PATCH 10/14] gnu: Add python-astor. Resent-From: Ricardo Wurmus Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 02 Jan 2019 16:26:02 +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.15464463279045 (code B ref 33952); Wed, 02 Jan 2019 16:26:02 +0000 Received: (at 33952) by debbugs.gnu.org; 2 Jan 2019 16:25:27 +0000 Received: from localhost ([127.0.0.1]:44921 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gejKh-0002Lo-7P for submit@debbugs.gnu.org; Wed, 02 Jan 2019 11:25:27 -0500 Received: from venus.bbbm.mdc-berlin.de ([141.80.25.30]:34458) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gejKe-0002Lc-95 for 33952@debbugs.gnu.org; Wed, 02 Jan 2019 11:25:25 -0500 Received: from localhost (localhost [127.0.0.1]) by venus.bbbm.mdc-berlin.de (Postfix) with ESMTP id A9401380506 for <33952@debbugs.gnu.org>; Wed, 2 Jan 2019 17:25:23 +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= 1546446323; x=1548260724; bh=W4Aqk/jyLlydKv1FmH9GLXnde7ljw12Nbf6 Sz0/SZbM=; b=GSyHX9yqLIn3pyUVekd1sWkXuwQZusgyQkyeNN8OOcHbnVhTMon 9fAGE5L55yHTJ5bdgvHHjy5yboSWggC27X5037kKxT1idaYxUhxTUFa0L2p/cRbG kHjnSh4Yf7tJzxKwRh1QKmsKr6BpeGLD4HN4yAPvtw37db9ZWJQCYdtA= 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 ELr0Tf--idyC for <33952@debbugs.gnu.org>; Wed, 2 Jan 2019 17:25:23 +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:25:23 +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:25:22 +0100 From: Ricardo Wurmus Date: Wed, 2 Jan 2019 17:25:08 +0100 Message-ID: <20190102162512.28727-1-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-2.016500-8.000000-10 X-TMASE-MatchedRID: GeocjSabTAh7qToVEfwBPAPZZctd3P4BrrEvQogcy/EoFW8VuxQzlWFF HEyS0fWTUeJLlzqkU6dYEFAXB347E4+eiI05y0fp3fn7n/ZHGqZTm6UYlo7la5YAW7yaaK6No8W MkQWv6iXBcIE78YqRWvcUt5lc1lLgKIzdZS3ou0Uh7Muu7EqLsKlQA2oEBx4G7DOKjSZipnpB9B lZAiMfNvNMkOtV+9vo8Bmbqh3hZwKhqE2jHUIDpXLYJvPrwvuXNLbncsKYLo0V4remnWxifeiPY vP0WKzlGj81Ipo8t/JeZSAxBsC8ng== X-TM-AS-User-Approved-Sender: Yes X-TM-AS-User-Blocked-Sender: No X-TMASE-Result: 10--2.016500-8.000000 X-TMASE-Version: SMEX-12.5.0.1684-8.5.1010-24332.001 X-TM-SNTS-SMTP: C44CE4FCECDACD7402CF2D16D5BC795C50FDFA1E182E30A564AA838AB4A97F9F2000: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/python.scm (python-astor): 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 ac8de1160..541861b75 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -15110,6 +15110,26 @@ RFC 8265 and RFC 8266.") of Python libraries for building Python applications.") (license license:asl2.0))) +(define-public python-astor + (package + (name "python-astor") + (version "0.7.1") + (source + (origin + (method url-fetch) + (uri (pypi-uri "astor" version)) + (sha256 + (base32 + "13gv6f2xz9i564byp21gcpc0l3w4cs23k1wbcam8kky2ls3hvhwm")))) + (build-system python-build-system) + ;; FIXME: There are two errors and two test failures. + (arguments `(#:tests? #f)) + (home-page "https://github.com/berkerpeksag/astor") + (synopsis "Read/rewrite/write Python ASTs") + (description "Astor is designed to allow easy manipulation of Python +source via the AST.") + (license license:bsd-3))) + (define-public python-wikidata (package (name "python-wikidata") From patchwork Wed Jan 2 16:25:09 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ricardo Wurmus X-Patchwork-Id: 634 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 9B4DB169F5; Wed, 2 Jan 2019 16:26:34 +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 3D7C0169EF for ; Wed, 2 Jan 2019 16:26:34 +0000 (GMT) Received: from localhost ([127.0.0.1]:45970 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gejLl-0006Sd-Rt for patchwork@mira.cbaines.net; Wed, 02 Jan 2019 11:26:33 -0500 Received: from eggs.gnu.org ([208.118.235.92]:35817) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gejLX-0006Bj-Mw for guix-patches@gnu.org; Wed, 02 Jan 2019 11:26:22 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gejLK-0004yt-N9 for guix-patches@gnu.org; Wed, 02 Jan 2019 11:26:13 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:58144) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gejLH-0004xR-4M for guix-patches@gnu.org; Wed, 02 Jan 2019 11:26:04 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gejLH-0002NW-0C for guix-patches@gnu.org; Wed, 02 Jan 2019 11:26:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#33952] [PATCH 11/14] gnu: Add python-astunparse. Resent-From: Ricardo Wurmus Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 02 Jan 2019 16:26:02 +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.15464463329062 (code B ref 33952); Wed, 02 Jan 2019 16:26:02 +0000 Received: (at 33952) by debbugs.gnu.org; 2 Jan 2019 16:25:32 +0000 Received: from localhost ([127.0.0.1]:44924 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gejKm-0002M6-HM for submit@debbugs.gnu.org; Wed, 02 Jan 2019 11:25:32 -0500 Received: from pegasus.bbbm.mdc-berlin.de ([141.80.25.20]:35802) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gejKk-0002Ly-0j for 33952@debbugs.gnu.org; Wed, 02 Jan 2019 11:25:30 -0500 Received: from localhost (localhost [127.0.0.1]) by pegasus.bbbm.mdc-berlin.de (Postfix) with ESMTP id 7A99CC84FFC for <33952@debbugs.gnu.org>; Wed, 2 Jan 2019 17:25:29 +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= 1546446324; x=1548260725; bh=IRCRAUZ6DOFNkhiB8syb8h31dSS8SxUnb2E Gp5XI4jk=; b=lFzzOL7qowGujw50RKZBXLTCvM0l/BP7dH1xtJSd8NbzJ4ywwXK XaZOCxEiRcnvcv6LPHIoBYU43awAkzEfcSx9XgcOokDdPZ0sZSkYMQx414GGDkTJ 0KXpVls1WIcbmVXMcnFsFENhcfy3dphEJk8GWEITcAM3mUk75E4D4Xb0= X-Virus-Scanned: amavisd-new at mdc-berlin.de Received: from pegasus.bbbm.mdc-berlin.de ([127.0.0.1]) by localhost (pegasus.bbbm.mdc-berlin.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id YLhQnRy4wgU2 for <33952@debbugs.gnu.org>; Wed, 2 Jan 2019 17:25:24 +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 pegasus.bbbm.mdc-berlin.de (Postfix) with ESMTPS for <33952@debbugs.gnu.org>; Wed, 2 Jan 2019 17:25:24 +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:25:23 +0100 From: Ricardo Wurmus Date: Wed, 2 Jan 2019 17:25:09 +0100 Message-ID: <20190102162512.28727-2-ricardo.wurmus@mdc-berlin.de> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20190102162512.28727-1-ricardo.wurmus@mdc-berlin.de> References: <20190102161807.28297-1-ricardo.wurmus@mdc-berlin.de> <20190102162512.28727-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-3.038600-8.000000-10 X-TMASE-MatchedRID: Z2f9DQPf1tl7qToVEfwBPAPZZctd3P4BrrEvQogcy/EoFW8VuxQzldI2 PZbzMWb06vjDExcLUHc0GaZO0xs/uUjkjYZPVplhaK+MsTwM+1kn9092gsBYOZsoi2XrUn/Jn6K dMrRsL14qtq5d3cxkNRqXnrxrKCOXzzwLpzVCLgWnC/Zu7pBIGxEzT2ekp/347Kx2geVCUNbzYA XlA28nhLMqDUMEMuxgnbzggMGUu/VyTEsb0IOZsyWnf6VlrdPgG9ZlrhDQuTqnJqoONAZC244p3 jJcqUVRGOtXZ8O0FOx+3BndfXUhXQ== X-TM-AS-User-Approved-Sender: Yes X-TM-AS-User-Blocked-Sender: No X-TMASE-Result: 10--3.038600-8.000000 X-TMASE-Version: SMEX-12.5.0.1684-8.5.1010-24332.001 X-TM-SNTS-SMTP: 84DC6F922574316E31127216E33E4E5974294250A594BFCA2E85050F3C92C43B2000: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/python.scm (python-astunparse): New variable. --- gnu/packages/python.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 541861b75..93189d143 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -15130,6 +15130,29 @@ of Python libraries for building Python applications.") source via the AST.") (license license:bsd-3))) +(define-public python-astunparse + (package + (name "python-astunparse") + (version "1.6.1") + (source + (origin + (method url-fetch) + (uri (pypi-uri "astunparse" version)) + (sha256 + (base32 + "1jhidwyrqn17avqh9xnnm3wd7q7aahaq009cba67g86y6gxicyyj")))) + (build-system python-build-system) + (arguments '(#:tests? #f)) ; there are none + (propagated-inputs + `(("python-six" ,python-six) + ("python-wheel" ,python-wheel))) + (home-page "https://github.com/simonpercivall/astunparse") + (synopsis "AST unparser for Python") + (description "This package provides an AST unparser for Python. It is a +factored out version of @code{unparse} found in the Python source +distribution.") + (license license:bsd-3))) + (define-public python-wikidata (package (name "python-wikidata") From patchwork Wed Jan 2 16:25:10 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ricardo Wurmus X-Patchwork-Id: 631 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 5BF3E169F5; Wed, 2 Jan 2019 16:26:25 +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=-6.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_HI, T_DKIM_INVALID,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) by mira.cbaines.net (Postfix) with ESMTP id E6AA5169EF for ; Wed, 2 Jan 2019 16:26:24 +0000 (GMT) Received: from localhost ([127.0.0.1]:45964 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gejLc-0006FC-9v for patchwork@mira.cbaines.net; Wed, 02 Jan 2019 11:26:24 -0500 Received: from eggs.gnu.org ([208.118.235.92]:35818) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gejLX-0006Bk-N0 for guix-patches@gnu.org; Wed, 02 Jan 2019 11:26:22 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gejLK-0004yo-NF for guix-patches@gnu.org; Wed, 02 Jan 2019 11:26:13 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:57852) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gejLH-0004xf-N3 for guix-patches@gnu.org; Wed, 02 Jan 2019 11:26:04 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gejLH-0002Nf-H7 for guix-patches@gnu.org; Wed, 02 Jan 2019 11:26:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#33952] [PATCH 12/14] gnu: Add python-gast. Resent-From: Ricardo Wurmus Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 02 Jan 2019 16:26:03 +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.15464463379079 (code B ref 33952); Wed, 02 Jan 2019 16:26:03 +0000 Received: (at 33952) by debbugs.gnu.org; 2 Jan 2019 16:25:37 +0000 Received: from localhost ([127.0.0.1]:44927 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gejKq-0002MN-Qd for submit@debbugs.gnu.org; Wed, 02 Jan 2019 11:25:37 -0500 Received: from sinope02.bbbm.mdc-berlin.de ([141.80.25.24]:56618) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gejKp-0002MG-MW for 33952@debbugs.gnu.org; Wed, 02 Jan 2019 11:25:36 -0500 Received: from localhost (localhost [127.0.0.1]) by sinope02.bbbm.mdc-berlin.de (Postfix) with ESMTP id 2740F14B5929 for <33952@debbugs.gnu.org>; Wed, 2 Jan 2019 17:25:35 +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= 1546446329; x=1548260730; bh=2QwT0AKVucU7b49zuqIepaVOSXrgbMpnyRU CHMpZlU4=; b=NrnhXYdmASRYH9laXWPhzIMkRhATw1pU2tM5Q/jeqj8KWUI6Krr k6lcWamsY2CfieZHXqlolYu0gc3ahcG3XC+Rx5D9iL6vXni4SdekbbgteOfQBgo6 5Ha14sXw/HZWpPSqSNkh83UWvQHXK+QEEJXyZkbDM0y2kHRn7fZkInj0= X-Virus-Scanned: amavisd-new at mdc-berlin.de Received: from sinope02.bbbm.mdc-berlin.de ([127.0.0.1]) by localhost (sinope02.bbbm.mdc-berlin.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id jfHrg6PQcupC for <33952@debbugs.gnu.org>; Wed, 2 Jan 2019 17:25:29 +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 sinope02.bbbm.mdc-berlin.de (Postfix) with ESMTPS for <33952@debbugs.gnu.org>; Wed, 2 Jan 2019 17:25:29 +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:25:29 +0100 From: Ricardo Wurmus Date: Wed, 2 Jan 2019 17:25:10 +0100 Message-ID: <20190102162512.28727-3-ricardo.wurmus@mdc-berlin.de> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20190102162512.28727-1-ricardo.wurmus@mdc-berlin.de> References: <20190102161807.28297-1-ricardo.wurmus@mdc-berlin.de> <20190102162512.28727-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-2.848500-8.000000-10 X-TMASE-MatchedRID: 72n23NsrtG57qToVEfwBPAPZZctd3P4Bc3ewuwbSaG6fINj+qZQ6LT2V swxom59nppR2x0hY+75p0oDM6nL2ljPfG+JZNtQpJmbrB1j4XwpbAoaK+wS4jesoDDE6CvPdrdx 21+KjBlqw1XybY6aP1YAy6p60ZV62fJ5/bZ6npdjKayT/BQTiGuQKlpZXI2doyqOa1bpU4r3YKr nThXq4bNoFAU3VHkE/f36/Mm2aw3ZjaEok9+AgF11TdaiitNrn/y5Z5IeskUG0ywdmKDGaE+Ob1 cHpi1yeXyZ6pl/oDQ1+Az0rNWZh1oK3xHwHujePaS3XXfcxpZY= X-TM-AS-User-Approved-Sender: Yes X-TM-AS-User-Blocked-Sender: No X-TMASE-Result: 10--2.848500-8.000000 X-TMASE-Version: SMEX-12.5.0.1684-8.5.1010-24332.001 X-TM-SNTS-SMTP: 61B598AD249125941C793B3CA153DE55D42303AE3560A278DE95A1E6B38DF1C12000: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/python.scm (python-gast): New variable. --- gnu/packages/python.scm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 93189d143..64d4b25ce 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -15153,6 +15153,28 @@ factored out version of @code{unparse} found in the Python source distribution.") (license license:bsd-3))) +(define-public python-gast + (package + (name "python-gast") + (version "0.2.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "gast" version)) + (sha256 + (base32 + "0c296xm1vz9x4w4inmdl0k8mnc0i9arw94si2i7pglpc461r0s3h")))) + (build-system python-build-system) + (propagated-inputs + `(("python-astunparse" ,python-astunparse))) + (home-page "https://pypi.org/project/gast/") + (synopsis "Generic Python AST that abstracts the underlying Python version") + (description + "GAST provides a compatibility layer between the AST of various Python +versions, as produced by @code{ast.parse} from the standard @code{ast} +module.") + (license license:bsd-3))) + (define-public python-wikidata (package (name "python-wikidata") From patchwork Wed Jan 2 16:25:11 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ricardo Wurmus X-Patchwork-Id: 633 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 05F4C169F5; Wed, 2 Jan 2019 16:26:32 +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=-6.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_HI, T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) by mira.cbaines.net (Postfix) with ESMTP id 9EFB1169EF for ; Wed, 2 Jan 2019 16:26:31 +0000 (GMT) Received: from localhost ([127.0.0.1]:45968 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gejLj-0006GL-3z for patchwork@mira.cbaines.net; Wed, 02 Jan 2019 11:26:31 -0500 Received: from eggs.gnu.org ([208.118.235.92]:35830) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gejLY-0006Bm-Da for guix-patches@gnu.org; Wed, 02 Jan 2019 11:26:22 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gejLK-0004yj-NJ for guix-patches@gnu.org; Wed, 02 Jan 2019 11:26:13 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:49965) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gejLI-0004xp-6q for guix-patches@gnu.org; Wed, 02 Jan 2019 11:26:04 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gejLI-0002Np-2o for guix-patches@gnu.org; Wed, 02 Jan 2019 11:26:04 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#33952] [PATCH 13/14] gnu: Add python-grpcio. Resent-From: Ricardo Wurmus Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 02 Jan 2019 16:26:04 +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.15464463459100 (code B ref 33952); Wed, 02 Jan 2019 16:26:04 +0000 Received: (at 33952) by debbugs.gnu.org; 2 Jan 2019 16:25:45 +0000 Received: from localhost ([127.0.0.1]:44930 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gejKx-0002Mh-4h for submit@debbugs.gnu.org; Wed, 02 Jan 2019 11:25:43 -0500 Received: from pegasus.bbbm.mdc-berlin.de ([141.80.25.20]:35810) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gejKv-0002MZ-FS for 33952@debbugs.gnu.org; Wed, 02 Jan 2019 11:25:41 -0500 Received: from localhost (localhost [127.0.0.1]) by pegasus.bbbm.mdc-berlin.de (Postfix) with ESMTP id EB888C85001 for <33952@debbugs.gnu.org>; Wed, 2 Jan 2019 17:25:40 +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= 1546446335; x=1548260736; bh=DMMVCa1H6fRPYOl2+b0tIyYQQrOJLg+Oi/D 7dPGwLBU=; b=fkdzoJtnYJDFtI4Rzrbt+1y22YjXI2FElxC3rKcLQp1RHB/MvRr J8FjVWx+u20glKYAzP020ZB8Oc8PcKWzCLdYDwLoTvVyVcfWfD0lXjyE944Z0ey6 pMLgZA5Xz+viDjve3ZBrUWASTqIAcP2OpMGMURc8BNv5m/Dg+nlQMY5A= X-Virus-Scanned: amavisd-new at mdc-berlin.de Received: from pegasus.bbbm.mdc-berlin.de ([127.0.0.1]) by localhost (pegasus.bbbm.mdc-berlin.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id KO1nJNiq6mvt for <33952@debbugs.gnu.org>; Wed, 2 Jan 2019 17:25:35 +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 pegasus.bbbm.mdc-berlin.de (Postfix) with ESMTPS for <33952@debbugs.gnu.org>; Wed, 2 Jan 2019 17:25:35 +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:25:35 +0100 From: Ricardo Wurmus Date: Wed, 2 Jan 2019 17:25:11 +0100 Message-ID: <20190102162512.28727-4-ricardo.wurmus@mdc-berlin.de> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20190102162512.28727-1-ricardo.wurmus@mdc-berlin.de> References: <20190102161807.28297-1-ricardo.wurmus@mdc-berlin.de> <20190102162512.28727-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-1.886400-8.000000-10 X-TMASE-MatchedRID: IJfQKf6xjE6SkBDp1A0HiriMC5wdwKqdTJDl9FKHbrl3vUA6/Pi03GB5 N6RCXcCHppR2x0hY+75p0oDM6nL2lkjkjYZPVplhngIgpj8eDcAZ1CdBJOsoY8RB0bsfrpPI34T 9cYMsdwyK/vyhgzCVB83p3v/WRu55UBdYsDs7W9kF5X1H2SPKZYTbROnbU6Pq6l3sUaiix6YA1z K1lGQ7QfX8V2J0ybio9dyk19YxAamCEq3ZCBanrjuGNnVAYS/wUwWE+0Rl6FsSQBCR9Dbh0/WgJ 21rFsx3 X-TM-AS-User-Approved-Sender: Yes X-TM-AS-User-Blocked-Sender: No X-TMASE-Result: 10--1.886400-8.000000 X-TMASE-Version: SMEX-12.5.0.1684-8.5.1010-24332.001 X-TM-SNTS-SMTP: DC5A46CB8EBC1C19D9D5B97D3DEAF110927FD13FC393255E1777D40134995AE02000: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/machine-learning.scm (python-grpcio): New variable. --- gnu/packages/machine-learning.scm | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/gnu/packages/machine-learning.scm b/gnu/packages/machine-learning.scm index d3310ac83..870ca7c4d 100644 --- a/gnu/packages/machine-learning.scm +++ b/gnu/packages/machine-learning.scm @@ -831,6 +831,26 @@ applicable in last mile of distributed computing to connect devices, mobile applications and browsers to backend services.") (license license:asl2.0))) +(define-public python-grpcio + (package + (name "python-grpcio") + (version "1.17.1") + (source + (origin + (method url-fetch) + (uri (pypi-uri "grpcio" version)) + (sha256 + (base32 + "0qb9y6j83nxa6d4kc60i8yfgdm7a8ms7b54kncjzf5y7nsxp8rzx")))) + (build-system python-build-system) + (propagated-inputs + `(("python-six" ,python-six))) + (home-page "https://grpc.io") + (synopsis "HTTP/2-based RPC framework") + (description "This package provides a Python library for communicating +with the HTTP/2-based RPC framework gRPC.") + (license license:asl2.0))) + (define-public dlib (package (name "dlib") From patchwork Wed Jan 2 16:25:12 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ricardo Wurmus X-Patchwork-Id: 635 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 E3C85169F5; Wed, 2 Jan 2019 16:27:12 +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=-6.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_HI, T_DKIM_INVALID,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) by mira.cbaines.net (Postfix) with ESMTP id 08754169EF for ; Wed, 2 Jan 2019 16:27:11 +0000 (GMT) Received: from localhost ([127.0.0.1]:45974 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gejMM-0006fa-KC for patchwork@mira.cbaines.net; Wed, 02 Jan 2019 11:27:10 -0500 Received: from eggs.gnu.org ([208.118.235.92]:36448) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gejMI-0006f9-7D for guix-patches@gnu.org; Wed, 02 Jan 2019 11:27:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gejME-0005qU-TQ for guix-patches@gnu.org; Wed, 02 Jan 2019 11:27:06 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:47247) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gejME-0005qD-OA for guix-patches@gnu.org; Wed, 02 Jan 2019 11:27:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gejME-0002PQ-Ig for guix-patches@gnu.org; Wed, 02 Jan 2019 11:27:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#33952] [PATCH 14/14] gnu: Add tensorflow. Resent-From: Ricardo Wurmus Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 02 Jan 2019 16:27:02 +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.15464463709192 (code B ref 33952); Wed, 02 Jan 2019 16:27:02 +0000 Received: (at 33952) by debbugs.gnu.org; 2 Jan 2019 16:26:10 +0000 Received: from localhost ([127.0.0.1]:44933 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gejLE-0002NE-2Z for submit@debbugs.gnu.org; Wed, 02 Jan 2019 11:26:10 -0500 Received: from pegasus.bbbm.mdc-berlin.de ([141.80.25.20]:35826) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gejL7-0002N0-Cr for 33952@debbugs.gnu.org; Wed, 02 Jan 2019 11:25:58 -0500 Received: from localhost (localhost [127.0.0.1]) by pegasus.bbbm.mdc-berlin.de (Postfix) with ESMTP id D5165C8500E for <33952@debbugs.gnu.org>; Wed, 2 Jan 2019 17:25:52 +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= 1546446346; x=1548260747; bh=Ogx/jmtXPxPUoBE/THzGmyUOBhYRcjLB5m3 6960NSzc=; b=n2WCo+MujdgXw3rRFh1cM4kx2VNESLxDidAvDRxxoVDA43uoRWZ 7pNLJPrT4UiC1eUSUl7W8AqisEEs6jte3cZGZ29N9cKXpZzMuslShch1Y3rX0+UL h8MEfLeyMrSVHQFvmkXLlt2s4eamLVZsDG4SoCg7/iTwczLq3VGN2QPw= X-Virus-Scanned: amavisd-new at mdc-berlin.de Received: from pegasus.bbbm.mdc-berlin.de ([127.0.0.1]) by localhost (pegasus.bbbm.mdc-berlin.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ODwqTBUC3HGc for <33952@debbugs.gnu.org>; Wed, 2 Jan 2019 17:25:46 +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 pegasus.bbbm.mdc-berlin.de (Postfix) with ESMTPS for <33952@debbugs.gnu.org>; Wed, 2 Jan 2019 17:25:46 +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:25:40 +0100 From: Ricardo Wurmus Date: Wed, 2 Jan 2019 17:25:12 +0100 Message-ID: <20190102162512.28727-5-ricardo.wurmus@mdc-berlin.de> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20190102162512.28727-1-ricardo.wurmus@mdc-berlin.de> References: <20190102161807.28297-1-ricardo.wurmus@mdc-berlin.de> <20190102162512.28727-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-8.813400-8.000000-10 X-TMASE-MatchedRID: M6R5cB/plEWSkBDp1A0HiriMC5wdwKqdTJDl9FKHbrn4JyR+b5tvoDfO 2NmojJWJf3JCkbhYRZ9lVuEmCXVPo0hrEQpQtQpn/jkwiY2tJnL4qCLIu0mtIGq//5Ao1w8ugyL GeVOocuDgy9Tfvp/is87Gj9/RJWE4oblM6RCCcklor4yxPAz7WcCLqYP2oyb+DpCUEeEFm7CRbG VjAxwIe8uxDxHC8JDkXT8Bk9vUGk1Qs1SN7/4/ICayqYu3eB8/C2OFo1OO8EPb6Y+fnTZUL/EMc THeITmJtMYCdshxeH7ZdCBgFYTw+pxKcn7Jza1Sk3ewifG2MNPxuhkRWK22GD/BMzfg5NmNJBo/ IYnLotAyVRDcQBa7IHRSjC8JRwLCMp8uEKsc75UbmaDSnOqZflN6zp0MJZRDWSw/UjSfbBKJbGH uigfBYQVgJPeVoo1ff558aPUBwZgtIbjApBhleOfHZObG8JsoHQ+zIynnQ47o1+KnG60kJ9qVZf bjcRZGr+fhDT03MvQiq0a8AOMKti3+zMyhu9DHl1zsjZ1/6ayvFlDTfVnoWhxUkJPe1WBqIZnpV U5Vh5agxt/i9LXf6/moHT4GTnZ9rcd0tH16JfEVSn6UHJmrJi3S35ohUu37GCx6yRW8HkymTdYB PK/3JutwWfrvAiDdp/ZTPKL9bc+wngaehIq0ZQ1MSa8MLhXgI6PHNDZGGCLhBi7y+vSSql721f1 Z1L9K9yq7r1R9n6wgqIkExnJeerhoJJDuF0nvk3rl+MaNgxBYClGmfOZO3HphbZRDpaPy9NLXhw wkbuzi8zVgXoAltlPcOF1Vw1gmp6RP6ZqDDEBKdDgyPBo71yq2rl3dzGQ1l3+bAt/YFVRbH/Il8 2CSD8g3+CXSJmUBvdrJA829fvxuharrvh6VTEsMHBii02BH X-TM-AS-User-Approved-Sender: Yes X-TM-AS-User-Blocked-Sender: No X-TMASE-Result: 10--8.813400-8.000000 X-TMASE-Version: SMEX-12.5.0.1684-8.5.1010-24332.001 X-TM-SNTS-SMTP: C8FD7DE086AD87C3A07BD3429F6717C8C0BD28C9C2ABFF2BAED755D53EB4D3B72000: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/machine-learning.scm (tensorflow): New variable. --- gnu/packages/machine-learning.scm | 482 ++++++++++++++++++++++++++++++ 1 file changed, 482 insertions(+) diff --git a/gnu/packages/machine-learning.scm b/gnu/packages/machine-learning.scm index 870ca7c4d..4664b2099 100644 --- a/gnu/packages/machine-learning.scm +++ b/gnu/packages/machine-learning.scm @@ -46,6 +46,7 @@ #:use-module (gnu packages check) #:use-module (gnu packages compression) #:use-module (gnu packages cran) + #:use-module (gnu packages databases) #:use-module (gnu packages dejagnu) #:use-module (gnu packages gcc) #:use-module (gnu packages image) @@ -851,6 +852,487 @@ applications and browsers to backend services.") with the HTTP/2-based RPC framework gRPC.") (license license:asl2.0))) +(define-public tensorflow + (package + (name "tensorflow") + (version "1.9.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/tensorflow/tensorflow.git") + (commit (string-append "v" version)))) + (file-name (string-append "tensorflow-" version "-checkout")) + (sha256 + (base32 + "0a9kwha395g3wgxfwln5j8vn9nkspmd75xldrlqdq540w996g8xa")))) + (build-system cmake-build-system) + (arguments + `(#:tests? #f ; no "check" target + #:build-type "Release" + #:configure-flags + (let ((protobuf (assoc-ref %build-inputs "protobuf")) + (snappy (assoc-ref %build-inputs "snappy")) + (sqlite (assoc-ref %build-inputs "sqlite"))) + (list ;; TODO: Use protobuf from Guix + ;; (string-append "-Dprotobuf_STATIC_LIBRARIES=" + ;; protobuf "/lib/libprotobuf.a") + (string-append "-DPROTOBUF_PROTOC_EXECUTABLE=" + protobuf "/bin/protoc") + ;; TODO: Use snappy from Guix + ;; (string-append "-Dsnappy_STATIC_LIBRARIES=" + ;; snappy "/lib/libsnappy.a") + ;; (string-append "-Dsnappy_HEADERS=" + ;; snappy "/include/snappy.h") + ;; TODO: this is ignored. Should be a definition in code. + ;;"-DTF_USE_SNAPPY" + ;; Use sqlite from Guix + (string-append "-Dsqlite_STATIC_LIBRARIES=" + sqlite "/lib/libsqlite.a") + (string-append "-Dsqlite_HEADERS=" + sqlite "/include/sqlite3.h " + sqlite "/include/sqlite3ext.h") + ;; Use system libraries wherever possible. Currently, this + ;; only affects zlib. + "-Dsystemlib_ALL=ON" + + ;;"-DCMAKE_POSITION_INDEPENDENT_CODE:BOOL=true" + "-Dtensorflow_ENABLE_POSITION_INDEPENDENT_CODE=ON" + "-Dtensorflow_BUILD_SHARED_LIB=ON" + "-Dtensorflow_OPTIMIZE_FOR_NATIVE_ARCH=OFF" + "-Dtensorflow_ENABLE_SSL_SUPPORT=OFF" + "-Dtensorflow_BUILD_CONTRIB_KERNELS=OFF")) + #:make-flags + (list "CC=gcc") + #:modules ((ice-9 ftw) + (guix build utils) + (guix build cmake-build-system)) + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'set-source-file-times-to-1980 + ;; At the end of the tf_python_build_pip_package target, a ZIP + ;; archive should be generated via bdist_wheel, but it fails with + ;; "ZIP does not support timestamps before 1980". Luckily, + ;; SOURCE_DATE_EPOCH is respected, which we set to some time in + ;; 1980. + (lambda _ (setenv "SOURCE_DATE_EPOCH" "315532800") #t)) + ;; See https://github.com/tensorflow/tensorflow/issues/20517#issuecomment-406373913 + (add-after 'unpack 'python3.7-compatibility + (lambda _ + (substitute* '("tensorflow/python/eager/pywrap_tfe_src.cc" + "tensorflow/python/lib/core/ndarray_tensor.cc" + "tensorflow/python/lib/core/py_func.cc") + (("PyUnicode_AsUTF8") "(char *)PyUnicode_AsUTF8")) + (substitute* "tensorflow/c/eager/c_api.h" + (("unsigned char async") + "unsigned char is_async")) + + ;; Remove dependency on tensorboard, a complicated but probably + ;; optional package. + (substitute* "tensorflow/tools/pip_package/setup.py" + ((".*'tensorboard >.*") "")) + #t)) + (add-after 'python3.7-compatibility 'chdir + (lambda _ (chdir "tensorflow/contrib/cmake") #t)) + (add-after 'chdir 'disable-downloads + (lambda* (#:key inputs #:allow-other-keys) + (substitute* (find-files "external" "\\.cmake$") + (("GIT_REPOSITORY.*") "") + (("GIT_TAG.*") "") + (("PREFIX ") + "DOWNLOAD_COMMAND \"\"\nPREFIX ")) + + ;; Use packages from Guix + (let ((grpc (assoc-ref inputs "grpc"))) + (substitute* "CMakeLists.txt" + ;; Sqlite + (("include\\(sqlite\\)") "") + (("\\$\\{sqlite_STATIC_LIBRARIES\\}") + (string-append (assoc-ref inputs "sqlite") + "/lib/libsqlite3.so")) + (("sqlite_copy_headers_to_destination") "") + + ;; PNG + (("include\\(png\\)") "") + (("\\$\\{png_STATIC_LIBRARIES\\}") + (string-append (assoc-ref inputs "libpng") + "/lib/libpng16.so")) + (("png_copy_headers_to_destination") "") + + ;; JPEG + (("include\\(jpeg\\)") "") + (("\\$\\{jpeg_STATIC_LIBRARIES\\}") + (string-append (assoc-ref inputs "libjpeg") + "/lib/libjpeg.so")) + (("jpeg_copy_headers_to_destination") "") + + ;; GIF + (("include\\(gif\\)") "") + (("\\$\\{gif_STATIC_LIBRARIES\\}") + (string-append (assoc-ref inputs "giflib") + "/lib/libgif.so")) + (("gif_copy_headers_to_destination") "") + + ;; lmdb + (("include\\(lmdb\\)") "") + (("\\$\\{lmdb_STATIC_LIBRARIES\\}") + (string-append (assoc-ref inputs "lmdb") + "/lib/liblmdb.so")) + (("lmdb_copy_headers_to_destination") "") + + ;; TODO: the "protobuf" project is depended on by other + ;; projects in the cmake files, so removing it is a little + ;; tricky. + ;;(("include\\(protobuf\\)") "") + ;; (("\\$\\{protobuf_STATIC_LIBRARIES\\}") + ;; (string-append (assoc-ref inputs "protobuf:static") + ;; "/lib/libprotobuf.a")) + ;;(("protobuf_copy_headers_to_destination") "") + ;;(("^ +protobuf$") "") + + ;; gRPC + ;; TODO: the gRPC sources are needed by protobuf + ;; (("include\\(grpc\\)") "") + ;; (("\\$\\{grpc_STATIC_LIBRARIES\\}") + ;; (string-append grpc "/lib/libaddress_sorting.a " + ;; grpc "/lib/libgpr.a " + ;; grpc "/lib/libgrpc++.a " + ;; grpc "/lib/libgrpc.a " + ;; grpc "/lib/libgrpc++_cronet.a " + ;; grpc "/lib/libgrpc_cronet.a " + ;; grpc "/lib/libgrpc++_error_details.a " + ;; grpc "/lib/libgrpc_plugin_support.a " + ;; grpc "/lib/libgrpcpp_channelz.a " + ;; grpc "/lib/libgrpc++_reflection.a " + ;; grpc "/lib/libgrpc++_unsecure.a " + ;; grpc "/lib/libgrpc_unsecure.a ")) + ;; (("list\\(APPEND tensorflow_EXTERNAL_DEPENDENCIES grpc\\)") "") + )) + + ;; ;; Remove dependency on bundled grpc + ;; (substitute* "tf_core_distributed_runtime.cmake" + ;; (("tf_core_cpu grpc") "tf_core_cpu")) + ;; (substitute* "tf_tools.cmake" + ;; (("add_dependencies\\(\\$\\{proto_text\\} grpc\\)") "")) + + (substitute* "external/grpc.cmake" + (("\\$\\{CMAKE_CURRENT_BINARY_DIR\\}/grpc/src/grpc/third_party/cares/cares/lib/libcares.a") + (string-append (assoc-ref inputs "c-ares") + "/lib/libcares.so"))) + #t)) + (add-after 'configure 'unpack-third-party + (lambda* (#:key inputs #:allow-other-keys) + ;; This is needed to configure bundled packages properly. + (setenv "CONFIG_SHELL" (which "bash")) + (for-each + (lambda (name) + (let* ((what (assoc-ref inputs (string-append name "-src"))) + (name* (string-map (lambda (c) + (if (char=? c #\-) + #\_ c)) name)) + (where (string-append "../build/" name* "/src/" name*))) + (cond + ((string-suffix? ".zip" what) + (mkdir-p where) + (with-directory-excursion where + (invoke "unzip" what))) + ((string-suffix? ".tar.gz" what) + (mkdir-p where) + (invoke "tar" "xf" what + "-C" where "--strip-components=1")) + (else + ;; TODO: merge with "where" + (let ((parent (string-append "../build/" name* "/src/"))) + (mkdir-p parent) + (with-directory-excursion parent + (when (file-exists? name*) + (delete-file-recursively name*)) + (copy-recursively what name*) + (map make-file-writable + (find-files name* ".*")))))))) + (list "boringssl" + "cub" + "double-conversion" + "eigen" + "farmhash" + "fft2d" + "grpc" ; TODO: the sources need to be available for protobuf magic + "highwayhash" + "jsoncpp" + "nsync" + "protobuf" + "re2" + "snappy")) + + (rename-file "../build/cub/src/cub/cub-1.8.0/" + "../build/cub/src/cub/cub/") + + ;; gRPC dependencies: use installed packages instead of bundled + ;; sources. + (substitute* "../build/grpc/src/grpc/CMakeLists.txt" + (("set\\(gRPC_ZLIB_PROVIDER \"module\"") + "set(gRPC_ZLIB_PROVIDER \"package\"") + (("set\\(gRPC_CARES_PROVIDER \"module\"") + "set(gRPC_CARES_PROVIDER \"package\"") + (("set\\(gRPC_SSL_PROVIDER \"module\"") + "set(gRPC_SSL_PROVIDER \"package\"") + (("set\\(gRPC_PROTOBUF_PROVIDER \"module\"") + "set(gRPC_PROTOBUF_PROVIDER \"package\"")) + #t)) + (add-after 'unpack 'fix-python-build + (lambda* (#:key outputs #:allow-other-keys) + ;; Ensure that all Python dependencies can be found at build time. + (substitute* "tensorflow/contrib/cmake/tf_python.cmake" + (("PYTHONPATH=\\$\\{CMAKE_CURRENT_BINARY_DIR\\}/tf_python" m) + (string-append m ":" (getenv "PYTHONPATH")))) + + ;; Correct the RUNPATH of ops libraries generated for Python. + ;; TODO: this doesn't work :( + ;; /gnu/store/...-tensorflow-1.9.0/lib/python3.7/site-packages/tensorflow/contrib/seq2seq/python/ops/lib_beam_search_ops.so: + ;; warning: RUNPATH contains bogus entries: ("/tmp/guix-build-tensorflow-1.9.0.drv-0/source/tensorflow/contrib/build") + ;; /gnu/store/...-tensorflow-1.9.0/lib/python3.7/site-packages/tensorflow/contrib/seq2seq/python/ops/lib_beam_search_ops.so: + ;; error: depends on 'libpywrap_tensorflow_internal.so', which + ;; cannot be found in RUNPATH ... + (substitute* "tensorflow/contrib/cmake/tf_cc_ops.cmake" + (("set_target_properties.*") + (string-append "set_target_properties(${_AT_TARGET} PROPERTIES \ +COMPILE_FLAGS ${target_compile_flags} \ +INSTALL_RPATH_USE_LINK_PATH TRUE \ +INSTALL_RPATH " (assoc-ref outputs "out") "/lib)\n"))) + #t)) + (add-after 'unpack 'find-eigen-headers + (lambda* (#:key inputs #:allow-other-keys) + ;; Ensure that Eigen headers can be found + (setenv "CPLUS_INCLUDE_PATH" + (string-append (getenv "CPLUS_INCLUDE_PATH") + ":" + (assoc-ref inputs "eigen") + "/include/eigen3")) + #t)) + (add-after 'build 'build-pip-package + (lambda* (#:key outputs #:allow-other-keys) + (setenv "LDFLAGS" + (string-append "-Wl,-rpath=" + (assoc-ref outputs "out") "/lib")) + (invoke "make" "tf_python_build_pip_package") + #t)) + (add-after 'build-pip-package 'install-python + (lambda* (#:key outputs #:allow-other-keys) + (let ((out (assoc-ref outputs "out")) + (wheel (car (find-files "../build/tf_python/dist/" "\\.whl$")))) + (invoke "python" "-m" "pip" "install" wheel + (string-append "--prefix=" out)) + + ;; XXX: broken RUNPATH, see fix-python-build phase. + (delete-file (string-append out "/lib/python3.7/site-packages/tensorflow/contrib/seq2seq/python/ops/lib_beam_search_ops.so")) + #t)))))) + (native-inputs + `(("pkg-config" ,pkg-config) + ("protobuf" ,protobuf-next) ; protoc + ;; The commit hashes and URLs for third-party source code are taken + ;; from "tensorflow/workspace.bzl". + ("boringssl-src" + ,(let ((commit "ee7aa02") + (revision "1")) + (origin + (method git-fetch) + (uri (git-reference + (url "https://boringssl.googlesource.com/boringssl") + (commit commit))) + (file-name (string-append "boringssl-0-" revision + (string-take commit 7) + "-checkout")) + (sha256 + (base32 + "1jf693q0nw0adsic6cgmbdx6g7wr4rj4vxa8j1hpn792fqhd8wgw"))))) + ("cub-src" + ,(let ((version "1.8.0")) + (origin + (method url-fetch) + (uri (string-append "https://mirror.bazel.build/github.com/NVlabs/" + "cub/archive/" version ".zip")) + (file-name (string-append "cub-" version ".zip")) + (sha256 + (base32 + "1hsqikqridb90dkxkjr2918dcry6pfh46ccnwrzawl56aamhdykb"))))) + ("double-conversion-src" + ,(let ((commit "5664746") + (revision "1")) + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/google/double-conversion.git") + (commit commit))) + (file-name (string-append "double-conversion-0-" revision + (string-take commit 7) + "-checkout")) + (sha256 + (base32 + "1h5lppqqxcvdg5jq42i5msgwx20ryij3apvmndflngrgdpc04gn1"))))) + ("eigen-src" + ,(let ((version "fd6845384b86")) + (origin + (method url-fetch) + (uri (string-append "https://mirror.bazel.build/bitbucket.org/" + "eigen/eigen/get/" version ".tar.gz")) + (file-name (string-append "eigen-" version ".tar.gz")) + (sha256 + (base32 + "1aan4mvan8i5xsx4ivyqlg8ckbnnaqjw6i9ad8my992gg1fl2mnr"))))) + ("farmhash-src" + ,(let ((commit "816a4ae622e964763ca0862d9dbd19324a1eaf45")) + (origin + (method url-fetch) + (uri (string-append + "https://mirror.bazel.build/github.com/google/farmhash/archive/" + commit ".tar.gz")) + (file-name (string-append "farmhash-0-" + (string-take commit 7) + ".tar.gz")) + (sha256 + (base32 + "185b2xdxl4d4cnsnv6abg8s22gxvx8673jq2yaq85bz4cdy58q35"))))) + ;; The license notice on the home page at + ;; http://www.kurims.kyoto-u.ac.jp/~ooura/fft.html says: + ;; Copyright Takuya OOURA, 1996-2001 + ;; + ;; You may use, copy, modify and distribute this code for any purpose + ;; (include commercial use) and without fee. Please refer to this + ;; package when you modify this code. + ;; + ;; We take the identical tarball from the Bazel mirror, because the URL + ;; at the home page is not versioned and might change. + ("fft2d-src" + ,(origin + (method url-fetch) + (uri "https://mirror.bazel.build/www.kurims.kyoto-u.ac.jp/~ooura/fft.tgz") + (file-name "fft2d.tar.gz") + (sha256 + (base32 + "15jjkfvhqvl2c0753d2di8hz0pyzn598g74wqy79awdrf1y67fsj")))) + ("grpc-src" + ,(let ((version "d184fa229d75d336aedea0041bd59cb93e7e267f")) + (origin + (method url-fetch) + (uri (string-append + "https://mirror.bazel.build/" + "github.com/grpc/grpc/archive/" + version".tar.gz")) + (file-name (string-append "grpc-" version ".tar.gz")) + (sha256 + (base32 + "0wsn0yvwnc08i9cq76083kgfv9k8q1wafnap6gvn32ki1qqk2nw9"))))) + ("highwayhash-src" + ,(let ((commit "be5edafc2e1a455768e260ccd68ae7317b6690ee") + (revision "1")) + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/google/highwayhash.git") + (commit commit))) + (file-name (string-append "highwayhash-0-" revision + (string-take commit 7) + "-checkout")) + (sha256 + (base32 + "154jwf98cyy54hldr94pgjn85zynly3abpnc1avmb8a18lzwjyb6"))))) + ("jsoncpp-src" + ,(let ((commit "4356d9b") + (revision "1")) + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/open-source-parsers/jsoncpp.git") + (commit commit))) + (file-name (string-append "jsoncpp-0-" revision + (string-take commit 7) + "-checkout")) + (sha256 + (base32 + "1anixxs5nwqknmcdxjd9zii5x0z7jx5qy011narjp2vxid59dzqa"))))) + ("nsync-src" + ,(let ((version "0559ce013feac8db639ee1bf776aca0325d28777") + (revision "1")) + (origin + (method url-fetch) + (uri (string-append "https://mirror.bazel.build/" + "github.com/google/nsync/archive/" + version ".tar.gz")) + (file-name (string-append "nsync-0." revision + "-" (string-take version 7) + ".tar.gz")) + (sha256 + (base32 + "0qdkyqym34x739mmzv97ah5r7ph462v5xkxqxvidmcfqbi64b132"))))) + ("protobuf-src" + ,(let ((version "396336eb961b75f03b25824fe86cf6490fb75e3a")) + (origin + (method url-fetch) + (uri (string-append "https://mirror.bazel.build/" + "github.com/google/protobuf/archive/" + version ".tar.gz")) + (file-name (string-append "protobuf-" version ".tar.gz")) + (sha256 + (base32 + "1qsr5hgmmikshrg3035q6klbpv945lxfz0h8xhry4aj7rxx90vc4"))))) + ("re2-src" + ,(let ((commit "e7efc48") + (revision "1")) + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/google/re2") + (commit commit))) + (file-name (string-append "re2-0-" revision + (string-take commit 7) + "-checkout")) + (sha256 + (base32 + "161g9841rjfsy5pn52fcis0s9hdr7rxvb06pad38j5rppfihvign"))))) + ("snappy-src" + ,(let ((version "1.1.7")) + (origin + (method url-fetch) + (uri (string-append "https://mirror.bazel.build/" + "github.com/google/snappy/archive/" + version ".tar.gz")) + (file-name (string-append "snappy-" version ".tar.gz")) + (sha256 + (base32 + "1m7rcdqzkys5lspj8jcsaah8w33zh28s771bw0ga2lgzfgl05yix"))))) + ("googletest" ,googletest) + ("swig" ,swig) + ("unzip" ,unzip))) + (propagated-inputs + `(("python-absl-py" ,python-absl-py) + ("python-astor" ,python-astor) + ("python-gast" ,python-gast) + ("python-grpcio" ,python-grpcio) + ("python-numpy" ,python-numpy) + ("python-protobuf" ,python-protobuf) + ("python-six" ,python-six) + ("python-termcolo" ,python-termcolor) + ("python-wheel" ,python-wheel))) + (inputs + `(("c-ares" ,c-ares-next) ; for grpc + ("eigen" ,eigen) + ("gemmlowp" ,gemmlowp-for-tensorflow) + ("lmdb" ,lmdb) + ("libjpeg" ,libjpeg) + ("libpng" ,libpng) + ("giflib" ,giflib) + ("sqlite" ,sqlite) + ("python" ,python-wrapper) + ("zlib" ,zlib))) + (home-page "https://tensorflow.org") + (synopsis "Machine learning framework") + (description + "TensorFlow is a software library for high performance numerical +computation. Its flexible architecture allows easy deployment of computation +across a variety of platforms, and from desktops to clusters of servers to +mobile and edge devices.") + (license license:asl2.0))) + (define-public dlib (package (name "dlib")