From debbugs-submit-bounces@debbugs.gnu.org Fri Sep 11 14:09:08 2020 Received: (at 43345) by debbugs.gnu.org; 11 Sep 2020 18:09:08 +0000 Received: from localhost ([127.0.0.1]:45395 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kGnTv-0005Kj-8z for submit@debbugs.gnu.org; Fri, 11 Sep 2020 14:09:08 -0400 Received: from mail-wr1-f48.google.com ([209.85.221.48]:43232) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kGnTp-0005JR-22 for 43345@debbugs.gnu.org; Fri, 11 Sep 2020 14:09:03 -0400 Received: by mail-wr1-f48.google.com with SMTP id k15so12327662wrn.10 for <43345@debbugs.gnu.org>; Fri, 11 Sep 2020 11:09:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=6e3w3StTb8xC0oM4gSBdYIIV0uSWGg59xek37yCWHPE=; b=EzLqpgx1YuHQb/sFoFwbKZxdZ5xtFwa/YkPLgCqr0RNAu/zM26PIwis4gAkqr0FplW 4QEu7fDs5nILDMl9h04e3SEefXOxhVoL8eh976lkg2jDiXI+9iq2MGOX5ojAnH+QZPBG GW4pVg1oMDkqrjDpkBC2nfZn0jlhnp1uOmoVC34aTdjZogyV3TqbbfVPfSnlOQKVUumW t7lQqMGcz+J0Qest+T6goFz/wCFhKa6hFBc8iHcSd6eKVFIfX8d3TfhX5+980jo1RKou AWtsTR8XzWENZvI7uSHg3S8H1jugNzhCq3t/uc/dN7Z4qusv/23IxHbux9JZsZdgSEW9 eIRw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=6e3w3StTb8xC0oM4gSBdYIIV0uSWGg59xek37yCWHPE=; b=hUUqGgHZ65FV7ZgDRPGJdJj3hbo1HfcpnGI3psQf7eGtpkgee0hZrV15TXBSKem4/+ D/wsqoEege/hpBbk2B8bZY8Wvm+JmeaWlnfRlnAH4LUbDgu5/+9al2/DImmAB5+Uz2eH ASwyzAqLbUyMij2A+l3n1rF7H3WZ++d/U74KQrdkavfNoSbF70RYQBfxmWSd9B5RVpIF 0WWWCA7eqUysFM2AX//ztkGq92vAirOXz0EiunIYGbW1TAxsJyTq1Tb7SUSr1pOmanMq 2FTSVo+84Rs0zokmn5+D/EoLdUI/+XuEJjCchmCn+Pte6d5v/x9OSawnAOBDJnZL9nQq SxCw== X-Gm-Message-State: AOAM532nTfE0E/H0soSAWkEyUbgwo9XscG87kVOLgmGfQRbir0JyG7Y5 e7n7rGpHMX8XkE9mkMdVwkRNR4EGcio= X-Google-Smtp-Source: ABdhPJxHbLaX+p8jaFgo85JRhnF15jYN0cYL6oCMonMy1X5VswMZjSHu3l+mMhnP4O1cVLMqLYwWOA== X-Received: by 2002:adf:ed09:: with SMTP id a9mr3128725wro.407.1599847735144; Fri, 11 Sep 2020 11:08:55 -0700 (PDT) Received: from pfiuh02.univ-paris-diderot.fr ([193.48.40.241]) by smtp.gmail.com with ESMTPSA id y1sm5914005wmd.22.2020.09.11.11.08.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 11 Sep 2020 11:08:54 -0700 (PDT) From: zimoun To: 43345@debbugs.gnu.org Subject: [PATCH 02/12] gnu: r-adaptivesparsity: Move to (gnu packages cran). Date: Fri, 11 Sep 2020 20:08:39 +0200 Message-Id: <20200911180849.12582-2-zimon.toutoune@gmail.com> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20200911180849.12582-1-zimon.toutoune@gmail.com> References: <20200911180849.12582-1-zimon.toutoune@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 43345 Cc: zimoun X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) * gnu/packages/machine-learning.scm (r-adaptivesparsity): Move from here... * gnu/packages/cran.scm (r-adaptivesparsity): ...to here. --- gnu/packages/cran.scm | 36 +++++++++++++++++++++++++++++++ gnu/packages/machine-learning.scm | 35 ------------------------------ 2 files changed, 36 insertions(+), 35 deletions(-) diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm index de4273892d..f701b7fde0 100644 --- a/gnu/packages/cran.scm +++ b/gnu/packages/cran.scm @@ -23607,3 +23607,39 @@ environments (e.g. development, test, production). It reads values using a function that determines the current environment and returns the appropriate value.") (license license:gpl3))) + +(define-public r-adaptivesparsity + (package + (name "r-adaptivesparsity") + (version "1.6") + (source (origin + (method url-fetch) + (uri (cran-uri "AdaptiveSparsity" version)) + (sha256 + (base32 + "0imr5m8mll9j6n4icsv6z9rl5kbnwsp9wvzrg7n90nnmcxq2cz91")))) + (properties + `((upstream-name . "AdaptiveSparsity"))) + (build-system r-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-after 'unpack 'link-against-armadillo + (lambda _ + (substitute* "src/Makevars" + (("PKG_LIBS=" prefix) + (string-append prefix "-larmadillo")))))))) + (propagated-inputs + `(("r-mass" ,r-mass) + ("r-matrix" ,r-matrix) + ("r-rcpp" ,r-rcpp) + ("r-rcpparmadillo" ,r-rcpparmadillo))) + (inputs + `(("armadillo" ,armadillo))) + (home-page "https://cran.r-project.org/web/packages/AdaptiveSparsity") + (synopsis "Adaptive sparsity models") + (description + "This package implements the Figueiredo machine learning algorithm for +adaptive sparsity and the Wong algorithm for adaptively sparse gaussian +geometric models.") + (license license:lgpl3+))) diff --git a/gnu/packages/machine-learning.scm b/gnu/packages/machine-learning.scm index 05646dd770..0301b4964a 100644 --- a/gnu/packages/machine-learning.scm +++ b/gnu/packages/machine-learning.scm @@ -660,41 +660,6 @@ synchronization, thread-safety, concurrent data structures, and non-blocking I/O.") (license license:asl2.0))) -(define-public r-adaptivesparsity - (package - (name "r-adaptivesparsity") - (version "1.6") - (source (origin - (method url-fetch) - (uri (cran-uri "AdaptiveSparsity" version)) - (sha256 - (base32 - "0imr5m8mll9j6n4icsv6z9rl5kbnwsp9wvzrg7n90nnmcxq2cz91")))) - (properties - `((upstream-name . "AdaptiveSparsity"))) - (build-system r-build-system) - (arguments - `(#:phases - (modify-phases %standard-phases - (add-after 'unpack 'link-against-armadillo - (lambda _ - (substitute* "src/Makevars" - (("PKG_LIBS=" prefix) - (string-append prefix "-larmadillo")))))))) - (propagated-inputs - `(("r-mass" ,r-mass) - ("r-matrix" ,r-matrix) - ("r-rcpp" ,r-rcpp) - ("r-rcpparmadillo" ,r-rcpparmadillo))) - (inputs - `(("armadillo" ,armadillo))) - (home-page "https://cran.r-project.org/web/packages/AdaptiveSparsity") - (synopsis "Adaptive sparsity models") - (description - "This package implements the Figueiredo machine learning algorithm for -adaptive sparsity and the Wong algorithm for adaptively sparse gaussian -geometric models.") - (license license:lgpl3+))) (define-public gemmlowp-for-tensorflow ;; The commit hash is taken from "tensorflow/workspace.bzl". -- 2.28.0