mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-12 06:06:53 -05:00
gnu: Add python-tdda.
* gnu/packages/python-science.scm (python-tdda): New variable. Change-Id: I456aa236b3348e5b990289d8a381c2d5276a12f1 Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
parent
7c9e264849
commit
416ae9ad89
1 changed files with 33 additions and 0 deletions
|
@ -22,6 +22,7 @@
|
||||||
;;; Copyright © 2022 Eric Bavier <bavier@posteo.net>
|
;;; Copyright © 2022 Eric Bavier <bavier@posteo.net>
|
||||||
;;; Copyright © 2022 Antero Mejr <antero@mailbox.org>
|
;;; Copyright © 2022 Antero Mejr <antero@mailbox.org>
|
||||||
;;; Copyright © 2022 jgart <jgart@dismail.de>
|
;;; Copyright © 2022 jgart <jgart@dismail.de>
|
||||||
|
;;; Copyright © 2023 Troy Figiel <troy@troyfigiel.com>
|
||||||
;;;
|
;;;
|
||||||
;;; This file is part of GNU Guix.
|
;;; 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.")
|
@code{skopt} aims to be accessible and easy to use in many contexts.")
|
||||||
(license license:bsd-3)))
|
(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
|
(define-public python-trimesh
|
||||||
(package
|
(package
|
||||||
(name "python-trimesh")
|
(name "python-trimesh")
|
||||||
|
|
Loading…
Reference in a new issue