From patchwork Sat Nov 11 18:19:16 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Troy Figiel X-Patchwork-Id: 56371 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 BF2BB27BBE2; Sun, 12 Nov 2023 11:15:33 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 508D927BBE9 for ; Sun, 12 Nov 2023 11:15:29 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r28Qk-0002kv-NJ; Sun, 12 Nov 2023 06:15:06 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1r25Fb-0003VI-Ln for guix-patches@gnu.org; Sun, 12 Nov 2023 02:51:23 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1r25Fb-00066b-DP for guix-patches@gnu.org; Sun, 12 Nov 2023 02:51:23 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1r25GG-0008Af-68 for guix-patches@gnu.org; Sun, 12 Nov 2023 02:52:04 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#67125] [PATCH] gnu: Add python-tdda. Resent-From: Troy Figiel Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 12 Nov 2023 07:52:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 67125 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 67125@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.169977547231297 (code B ref -1); Sun, 12 Nov 2023 07:52:04 +0000 Received: (at submit) by debbugs.gnu.org; 12 Nov 2023 07:51:12 +0000 Received: from localhost ([127.0.0.1]:55032 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r25FP-00088d-0A for submit@debbugs.gnu.org; Sun, 12 Nov 2023 02:51:12 -0500 Received: from lists.gnu.org ([2001:470:142::17]:53142) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r1ue2-0006i2-Qj for submit@debbugs.gnu.org; Sat, 11 Nov 2023 15:31:56 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1r1udI-0008M0-96 for guix-patches@gnu.org; Sat, 11 Nov 2023 15:31:08 -0500 Received: from mout-y-209.mailbox.org ([2001:67c:2050:103:465::209]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256) (Exim 4.90_1) (envelope-from ) id 1r1udE-0005NF-2c for guix-patches@gnu.org; Sat, 11 Nov 2023 15:31:07 -0500 Received: from smtp1.mailbox.org (smtp1.mailbox.org [10.196.197.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-y-209.mailbox.org (Postfix) with ESMTPS id 4SSS4v6m24z9twC for ; Sat, 11 Nov 2023 21:30:55 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=troyfigiel.com; s=MBO0001; t=1699734655; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=Eh0X5qdNruPtNPKNvf/jIlZQWMRXgWI/WzSZxr5jZEU=; b=LRD62TIEgbWW0G2u93hwua+OqrNDV3lwc92t2IwEx4TKrv7DyKPSEdOh/MJyCZ2CUPMpVg 408EhWHfiMTHFVGRs/1/CoN17pExVeDc0pJJt4B1l4LdIE1TxRAmasI5uZ64iY4ouuWFZ5 H9ID8BjdscX6ZovfwsKBIDasGl7S1+sphsQqQWt55DDQKwq15kDyYRPz2S2Xu2Lgy+SseN Zw5Z+hQhx82Vbe7u958oeZ7Jcw1USXdnUrPACpVU05fXc0bGplIwQNHChRHu+RlViE4LfB zC+Q+pDdBBcdPRNFJdTE0tJ0raQ4gPxJImyk2ooZtwsLEwqOjoKQIMD9fmFAQQ== From: Troy Figiel Date: Sat, 11 Nov 2023 19:19:16 +0100 Message-ID: <87ttps118k.fsf@troyfigiel.com> MIME-Version: 1.0 Received-SPF: pass client-ip=2001:67c:2050:103:465::209; envelope-from=troy@troyfigiel.com; helo=mout-y-209.mailbox.org X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Sun, 12 Nov 2023 02:51:04 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Mailman-Approved-At: Sun, 12 Nov 2023 06:15:03 -0500 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/python-science.scm (python-tdda): New variable. Change-Id: I456aa236b3348e5b990289d8a381c2d5276a12f1 --- gnu/packages/python-science.scm | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm index 4063797a30..949cd11929 100644 --- a/gnu/packages/python-science.scm +++ b/gnu/packages/python-science.scm @@ -22,6 +22,7 @@ ;;; Copyright © 2022 Eric Bavier ;;; Copyright © 2022 Antero Mejr ;;; Copyright © 2022 jgart +;;; Copyright © 2023 Troy Figiel ;;; ;;; This file is part of GNU Guix. ;;; @@ -349,6 +350,38 @@ (define-public python-scikit-optimize @code{skopt} aims to be accessible and easy to use in many contexts.") (license license:bsd-3))) +(define-public python-tdda + (package + (name "python-tdda") + (version "2.0.9") + (source + (origin + (method url-fetch) + (uri (pypi-uri "tdda" version)) + (sha256 + (base32 "1xs91s8b7cshjcqw88qsrjh10xly799k5rf2ycawqfz2mw8sy3br")))) + (build-system pyproject-build-system) + (arguments + '(#:phases (modify-phases %standard-phases + (add-after 'unpack 'relax-requirements + (lambda _ + (substitute* "setup.py" + (("pandas>=1.5.2") + "pandas")))) + (replace 'check + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + (invoke "tdda" "test"))))))) + (native-inputs (list python-numpy python-pandas)) + (home-page "https://www.stochasticsolutions.com") + (synopsis "Test-driven data analysis library for Python") + (description + "The TDDA Python module provides command-line and Python API support +for the overall process of data analysis, through tools that peform +reference testing, constraint discovery for data, automatic inference +of regular expressions from text data and automatic test generation.") + (license license:expat))) ; MIT License + (define-public python-trimesh (package (name "python-trimesh")