From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id wH8XF3hmB2FVSAEAgWs5BA (envelope-from ) for ; Mon, 02 Aug 2021 05:28:56 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id aBvTEnhmB2E/KQAA1q6Kng (envelope-from ) for ; Mon, 02 Aug 2021 03:28:56 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id E9FB81C56A for ; Mon, 2 Aug 2021 05:28:55 +0200 (CEST) Received: from localhost ([::1]:44202 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mAOdL-0006cE-1S for larch@yhetil.org; Sun, 01 Aug 2021 23:28:55 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59636) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mAOcZ-0005BC-Mv for guix-patches@gnu.org; Sun, 01 Aug 2021 23:28:07 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:54038) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mAOcZ-00038D-DM for guix-patches@gnu.org; Sun, 01 Aug 2021 23:28:07 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mAOcZ-0000L8-BL for guix-patches@gnu.org; Sun, 01 Aug 2021 23:28:07 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#49813] [PATCH 32/34] gnu: shogun: Fix regex in FIND-FILES invocation. Resent-From: Sarah Morgensen Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 02 Aug 2021 03:28:07 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49813 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 49813@debbugs.gnu.org Received: via spool by 49813-submit@debbugs.gnu.org id=B49813.16278748821211 (code B ref 49813); Mon, 02 Aug 2021 03:28:07 +0000 Received: (at 49813) by debbugs.gnu.org; 2 Aug 2021 03:28:02 +0000 Received: from localhost ([127.0.0.1]:37333 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mAOcS-0000J0-PT for submit@debbugs.gnu.org; Sun, 01 Aug 2021 23:28:02 -0400 Received: from out0.migadu.com ([94.23.1.103]:17782) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mAOcR-0000Ie-6L for 49813@debbugs.gnu.org; Sun, 01 Aug 2021 23:27:59 -0400 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mgsn.dev; s=key1; t=1627874877; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=C5hZx5gHDNHZvve4QVmwN+HvvW55pofgvQNfQHxZHxg=; b=afXiqCrTiWqAP5pmCYMg7quyTe1YCpqV2EvKKFaGcvrpPQS0jGf93hpVWdoLbZcGsg2rvf v4jzKnP8ofO1rWzt4V+u+lO8QPAwAXRkpdarrjApVEBx0gEPaX8L3IeVzNJETelwVFuhY8 B5J1tYzgnxR5wYtfv34PJy3qACXc/RM= From: Sarah Morgensen Date: Sun, 1 Aug 2021 20:27:48 -0700 Message-Id: In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Migadu-Auth-User: iskarian@mgsn.dev X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1627874936; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=C5hZx5gHDNHZvve4QVmwN+HvvW55pofgvQNfQHxZHxg=; b=eQVg0NmN+nYJgrnXJHmwpjA+rSW6ndu/Xqs6AEcJ/vKF1NANIlwBcsu4AASb2iWX8hqgo6 fa1TqRR1VaqqfEN/CA0HC2vNQA3jYW6UX6uDGRceCiqWzvmQldZ2tdPHnLvOhOXoW45e2Q eIiTDgKGPzmEqfdHf2kR29KFvntWTB5YcGyoYmyk1o7/erQmu01JCj7Ut/WeUuAGn1RgTe aKufx8MbgCgv8mKFMArwimdoAM+JjIdsttSUUUaggxsqFabLjzWBHmLpIYLtWPAfx5xxnU LFDXq+dOrNV6v5quWicQH1TRD9oNHbFhVnqbuu9RI8NIyr2n+iC1aCq/klSNLg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1627874936; a=rsa-sha256; cv=none; b=qq/w3pVCVVB9039wpDJGA0cdFGwRe+5iCf46a9UdAEzBdN0wUOR6cZKOuDPe7e27nkaw0c C48nhLFVLFq2I8g6dTFoXWxT+2OTMWoektgP1W/GRr+Dz+lIGrlwPQjh1ks+UXVZ8QUV9d a56QA165qdF1+5n6uEYTD1gAs9jk24ZRmb1JVpvdzxWe3ZqhpoE4wdfa97FpEU3uUKy0nb PZMpx0TALwbDqDipVCe1UuI0QuihAA5oPa95NNK7tQ2pHPx+aRG/68MkFq0HFbRm/zo6S1 IFjDpoWNJkgvEajMSsDqYjHB2uAgXeFl/IEgyjnslYrB+sjYdSFlxo0DEiO91g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=mgsn.dev header.s=key1 header.b=afXiqCrT; dmarc=fail reason="SPF not aligned (relaxed)" header.from=mgsn.dev (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: 3.68 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=mgsn.dev header.s=key1 header.b=afXiqCrT; dmarc=fail reason="SPF not aligned (relaxed)" header.from=mgsn.dev (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: E9FB81C56A X-Spam-Score: 3.68 X-Migadu-Scanner: scn0.migadu.com X-TUID: LA+N+tlMtzPl See for more information. * gnu/packages/machine-learning.scm (shogun)[origin]: Fix regex. --- gnu/packages/machine-learning.scm | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/gnu/packages/machine-learning.scm b/gnu/packages/machine-learning.scm index 02365a4d59..1263b0621c 100644 --- a/gnu/packages/machine-learning.scm +++ b/gnu/packages/machine-learning.scm @@ -454,12 +454,12 @@ optimizing, and searching weighted finite-state transducers (FSTs).") ;; Remove non-free sources and files referencing them (for-each delete-file (find-files "src/shogun/classifier/svm/" - "SVMLight\\.(cpp|h)")) + "^SVMLight\\.(cpp|h)$")) (for-each delete-file (find-files "examples/undocumented/libshogun/" (string-append - "(classifier_.*svmlight.*|" - "evaluation_cross_validation_locked_comparison).cpp"))) + "^(classifier_.*svmlight.*|" + "evaluation_cross_validation_locked_comparison).cpp$"))) ;; Remove non-free functions. (define (delete-ifdefs file) (with-atomic-file-replacement file @@ -481,17 +481,17 @@ optimizing, and searching weighted finite-state transducers (FSTs).") (for-each delete-ifdefs (append (find-files "src/shogun/classifier/mkl" - "^MKLClassification\\.cpp") + "^MKLClassification\\.cpp$") (find-files "src/shogun/classifier/svm" - "^SVMLightOneClass\\.(cpp|h)") + "^SVMLightOneClass\\.(cpp|h)$") (find-files "src/shogun/multiclass" - "^ScatterSVM\\.(cpp|h)") + "^ScatterSVM\\.(cpp|h)$") (find-files "src/shogun/kernel/" - "^(Kernel|CombinedKernel|ProductKernel)\\.(cpp|h)") + "^(Kernel|CombinedKernel|ProductKernel)\\.(cpp|h)$") (find-files "src/shogun/regression/svr" - "^(MKLRegression|SVRLight)\\.(cpp|h)") + "^(MKLRegression|SVRLight)\\.(cpp|h)$") (find-files "src/shogun/transfer/domain_adaptation" - "^DomainAdaptationSVM\\.(cpp|h)"))) + "^DomainAdaptationSVM\\.(cpp|h)$"))) #t)))) (build-system cmake-build-system) (arguments -- 2.31.1