me
/
guix
Archived
1
0
Fork 0

gnu: python-plotnine: Reformat with guix style.

* gnu/packages/python-science.scm (python-plotnine): Reformat with guix style.

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
master
Troy Figiel 2024-01-18 10:54:58 +01:00 committed by Sharlatan Hellseher
parent 662ae5eac2
commit 0118fe6f85
No known key found for this signature in database
GPG Key ID: 76D727BFF62CD2B5
1 changed files with 75 additions and 76 deletions

View File

@ -1742,15 +1742,15 @@ aggregated sum and more.")
(package
(name "python-plotnine")
(version "0.10.1")
(source (origin
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/has2k1/plotnine")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32
"0lg53wcm00lj8zbb4q9yj4a0n0fqaqq7c7vj18bda0k56gg0fpwl"))))
(base32 "0lg53wcm00lj8zbb4q9yj4a0n0fqaqq7c7vj18bda0k56gg0fpwl"))))
(build-system pyproject-build-system)
(arguments
(list
@ -1758,10 +1758,9 @@ aggregated sum and more.")
;; XXX: Check for any new failing tests during next update cycle.
;; These all fail because the images are considered to be too different,
;; though they really do look fine.
'(list "-k" (string-append
"not TestThemes"
(string-join
(list
'(list "-k"
(string-append "not TestThemes"
(string-join (list
;; Image tests
"test_adjust_text"
"test_annotation_logticks_coord_flip_discrete"
@ -1796,15 +1795,16 @@ aggregated sum and more.")
;; Missing optional modules
"test_non_linear_smooth"
"test_non_linear_smooth_no_ci")
" and not " 'prefix)))
#:phases
'(modify-phases %standard-phases
" and not "
'prefix)))
#:phases '(modify-phases %standard-phases
(add-before 'check 'pre-check
(lambda* (#:key inputs outputs #:allow-other-keys)
;; The data files are referenced by the tests but they are not
;; installed.
(copy-recursively "plotnine/data"
(string-append (site-packages inputs outputs)
(string-append (site-packages inputs
outputs)
"/plotnine/data"))
;; Matplotlib needs to be able to write its configuration file
;; somewhere.
@ -1812,19 +1812,18 @@ aggregated sum and more.")
(setenv "TZ" "UTC")
(setenv "TZDIR"
(search-input-directory inputs "share/zoneinfo")))))))
(propagated-inputs
(list python-adjusttext
(propagated-inputs (list python-adjusttext
python-matplotlib
python-mizani
python-numpy
python-patsy
python-scipy
python-statsmodels))
(native-inputs
(list python-geopandas
(native-inputs (list python-geopandas
python-mock
python-pandas
python-pytest python-pytest-cov
python-pytest
python-pytest-cov
tzdata-for-tests))
(home-page "https://github.com/has2k1/plotnine")
(synopsis "Grammar of Graphics for Python")