From: Felix Gruber <felgru@posteo.net>
To: 64258@debbugs.gnu.org
Cc: Felix Gruber <felgru@posteo.net>
Subject: [bug#64258] [PATCH v2 1/2] gnu: Add python-daft.
Date: Sat, 4 Nov 2023 15:43:04 +0000 [thread overview]
Message-ID: <ad7d7f79af0291de0da5e561da18cccacc5ddaf8.1699112425.git.felgru@posteo.net> (raw)
In-Reply-To: <cover.1699112425.git.felgru@posteo.net>
* gnu/packages/python-xyz.scm (python-daft): New variable.
Change-Id: I546556c825662e5b8bff46e5a78e7c98c8cc55ed
---
gnu/packages/python-xyz.scm | 49 ++++++++++++++++++++++++++++++++++++-
1 file changed, 48 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index e521c1580d..1dfaa2480d 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -108,7 +108,7 @@
;;; Copyright © 2021 Simon Streit <simon@netpanic.org>
;;; Copyright © 2021, 2022, 2023 Daniel Meißner <daniel.meissner-i4k@ruhr-uni-bochum.de>
;;; Copyright © 2021, 2022 Pradana Aumars <paumars@courrier.dev>
-;;; Copyright © 2021, 2022 Felix Gruber <felgru@posteo.net>
+;;; Copyright © 2021, 2022, 2023 Felix Gruber <felgru@posteo.net>
;;; Copyright © 2021 Sébastien Lerique <sl@eauchat.org>
;;; Copyright © 2021 Raphaël Mélotte <raphael.melotte@mind.be>
;;; Copyright © 2021 ZmnSCPxj <ZmnSCPxj@protonmail.com>
@@ -4157,6 +4157,53 @@ (define-public python-pomegranate
Cython for speed.")
(license license:expat)))
+(define-public python-daft
+ (package
+ (name "python-daft")
+ (version "0.1.2")
+ (source (origin
+ (method url-fetch)
+ (uri (pypi-uri "daft" version))
+ (sha256
+ (base32
+ "1r8jsfavd624q2q61f863lk6has6mv5csswh39saafd5khwf0xry"))))
+ (build-system pyproject-build-system)
+ (arguments
+ (list
+ #:test-flags
+ '(list "-k"
+ (string-append
+ ;; The following tests compare matplotlib output with
+ ;; previously generated images. They fail due to minor
+ ;; differences in where matplotlib places labels.
+ "not test_bca[png]"
+ " and not test_classic[png]"
+ " and not test_deconvolution[png]"
+ " and not test_exoplanets[png]"
+ " and not test_fixed[png]"
+ " and not test_gaia[png]"
+ " and not test_galex[png]"
+ " and not test_huey_p_newton[png]"
+ " and not test_logo[png]"
+ " and not test_no_circles[png]"
+ " and not test_no_gray[png]"
+ " and not test_recursive[png]"
+ " and not test_thick_lines[png]"
+ " and not test_weaklensing[png]"
+ " and not test_wordy[png]"))))
+ (propagated-inputs (list python-matplotlib python-numpy))
+ (native-inputs (list python-pytest))
+ (home-page "http://daft-pgm.org")
+ (synopsis "PGM rendering library")
+ (description "Daft is a Python package that uses matplotlib to
+render pixel-perfect probabilistic graphical models for publication in
+a journal or on the internet. With a short Python script and an
+intuitive model-building syntax you can design directed (Bayesian
+Networks, directed acyclic graphs) and undirected (Markov random fields)
+models and save them in any formats that matplotlib supports (including
+PDF, PNG, EPS and SVG).")
+ (license license:expat)))
+
(define-public python-portalocker
(package
(name "python-portalocker")
--
2.42.0
next prev parent reply other threads:[~2023-11-04 15:46 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-06-23 21:11 [bug#64258] [PATCH 0/2] Add pgmpy library for Bayesian Networks Felix Gruber
2023-06-23 21:12 ` [bug#64258] [PATCH 1/2] gnu: Add python-daft Felix Gruber
2023-06-23 21:12 ` [bug#64258] [PATCH 2/2] gnu: Add python-pgmpy Felix Gruber
2023-11-04 15:43 ` [bug#64258] [PATCH v2 0/2] Add pgmpy library for Bayesian Networks Felix Gruber
2023-11-04 15:43 ` Felix Gruber [this message]
2023-11-04 15:43 ` [bug#64258] [PATCH v2 2/2] gnu: Add python-pgmpy Felix Gruber
2023-12-28 20:55 ` [bug#64258] [PATCH v3 0/2] Add pgmpy library for Bayesian Networks Felix Gruber
2023-12-28 20:55 ` [bug#64258] [PATCH v3 1/2] gnu: Add python-daft Felix Gruber
2023-12-28 20:55 ` [bug#64258] [PATCH v3 2/2] gnu: Add python-pgmpy Felix Gruber
2024-02-14 16:53 ` bug#64258: [PATCH 0/2] Add pgmpy library for Bayesian Networks Sharlatan Hellseher
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ad7d7f79af0291de0da5e561da18cccacc5ddaf8.1699112425.git.felgru@posteo.net \
--to=felgru@posteo.net \
--cc=64258@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).