me
/
guix
Archived
1
0
Fork 0

gnu: python-branca: Update to 0.7.2.

* gnu/packages/python-web.scm (python-branca): Update to 0.7.2.
[source]: Fetch from GitHub.
[build-system]: Use pyproject-build-system.
[arguments]<#:test-flags>: Ignore a file and skip one test.
<#:phases>: Add phase 'pretend-version.
[propagated-inputs]: Remove python-six.
[native-inputs]: Add python-numpy, python-setuptools-scm.
[description]: Improve it.

Change-Id: I0263797b69fc437b2a268b5d03c211d76e2963c3
master
Vinicius Monego 2024-03-23 22:29:25 -03:00
parent 6f595eca59
commit a0339072b6
No known key found for this signature in database
GPG Key ID: 637B0B138065B68A
1 changed files with 26 additions and 11 deletions

View File

@ -5823,22 +5823,37 @@ library to create slugs from unicode strings while keeping it DRY.")
(define-public python-branca
(package
(name "python-branca")
(version "0.3.1")
(version "0.7.2")
(source
(origin
(method url-fetch)
(uri (pypi-uri "branca" version))
(method git-fetch) ; no tests in PyPI
(uri (git-reference
(url "https://github.com/python-visualization/branca")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32
"0pmigd521j2228xf8x34vbx0niwvms7xl7za0lymywj0vydjqxiy"))))
(build-system python-build-system)
(propagated-inputs
(list python-jinja2 python-six))
(native-inputs
(list python-pytest))
(base32 "1vs94nqa7r6iwm8mj3m29hg090gmgz4ywnayxh8qiz9ij8jv96wa"))))
(build-system pyproject-build-system)
(arguments
;; This file requires Selenium.
(list #:test-flags #~(list "--ignore" "tests/test_iframe.py"
;; This test passes but is very slow.
"-k" "not test_color_brewer_extendability")
#:phases
#~(modify-phases %standard-phases
(add-before 'build 'pretend-version
;; The version string is usually derived via setuptools-scm,
;; but without the git metadata available, the version string
;; is set to '0.0.0'.
(lambda _
(setenv "SETUPTOOLS_SCM_PRETEND_VERSION"
#$(package-version this-package)))))))
(propagated-inputs (list python-jinja2))
(native-inputs (list python-numpy python-pytest python-setuptools-scm))
(home-page "https://github.com/python-visualization/branca")
(synopsis "Generate complex HTML+JS pages with Python")
(description "Generate complex HTML+JS pages with Python")
(description "This library is a spinoff from @code{folium} that would host
the non-map-specific features. It can be used to generate HTML + JS.")
(license license:expat)))
(define-public python-tinycss