GNU bug report logs -
#63619
[PATCH 0/9] Add PyMC.
Previous Next
Reported by: Vinicius Monego <monego <at> posteo.net>
Date: Sat, 20 May 2023 23:12:02 UTC
Severity: normal
Tags: patch
Done: Vinicius Monego <monego <at> posteo.net>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
* gnu/packages/statistics.scm (python-altair): New variable.
---
gnu/packages/statistics.scm | 40 +++++++++++++++++++++++++++++++++++++
1 file changed, 40 insertions(+)
diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm
index 7f6dae1d67..4952e16384 100644
--- a/gnu/packages/statistics.scm
+++ b/gnu/packages/statistics.scm
@@ -85,6 +85,7 @@ (define-module (gnu packages statistics)
#:use-module (gnu packages perl)
#:use-module (gnu packages pkg-config)
#:use-module (gnu packages python)
+ #:use-module (gnu packages python-build)
#:use-module (gnu packages python-science)
#:use-module (gnu packages python-xyz)
#:use-module (gnu packages readline)
@@ -2082,6 +2083,45 @@ (define-public python-vega-datasets
and Vega-Lite examples.")
(license license:expat)))
+(define-public python-altair
+ (package
+ (name "python-altair")
+ (version "5.0.1")
+ (source (origin
+ (method git-fetch) ; no tests in PyPI
+ (uri (git-reference
+ (url "https://github.com/altair-viz/altair")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1r74v5n51br9pjhxdzrr62cdgnwkapci93aifnl8dqmfpizfpd7d"))))
+ (build-system pyproject-build-system)
+ (arguments
+ ;; First two open an external connection.
+ ;; Last introduces a circular dependency on altair-viewer.
+ (list #:test-flags #~(list "-k" (string-append
+ "not test_from_and_to_json_roundtrip"
+ " and not test_render_examples_to_chart"
+ " and not test_save_html"))))
+ (propagated-inputs (list python-jinja2
+ python-jsonschema
+ python-numpy
+ python-pandas
+ python-toolz
+ python-typing-extensions))
+ (native-inputs (list python-black
+ python-hatchling
+ python-ipython
+ python-m2r
+ python-pytest
+ python-vega-datasets))
+ (home-page "https://altair-viz.github.io/")
+ (synopsis "Declarative statistical visualization library for Python")
+ (description
+ "Vega-Altair is a declarative statistical visualization library for Python.")
+ (license license:expat)))
+
(define-public python-hdmedians
(package
(name "python-hdmedians")
--
2.34.1
This bug report was last modified 1 year and 330 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.