gnu: python-flask-assets: Update to 2.1.0-1.62efd23.

* gnu/packages/python-web.scm (python-flask-assets): Update to
2.1.0-1.62efd23.
[source]: Fetch from git repository.
[build-system]: Use pyproject-build-system.
[native-inputs]: Add nss-certs-for-test, python-pytest, python-setuptools, and
python-wheel.

Change-Id: I8c3dedb39d4cc1e51d9c3ef9fe9298586f871736
This commit is contained in:
Ricardo Wurmus 2025-01-06 17:25:58 +01:00
parent b3e8c9ce68
commit b70ac4564c
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -2136,26 +2136,33 @@ between a web browser and web server.")
(license license:expat))) (license license:expat)))
(define-public python-flask-assets (define-public python-flask-assets
(package ;; The latest release still depends on the abandoned flask-script, whereas
(name "python-flask-assets") ;; at this later commit (already 2 years old at the time of this writing)
(version "2.0") ;; the dependency has been lifted.
(source (let ((commit "62efd23fe95ee6a86fc1cfaa98fc1e2152093557")
(origin (revision "1"))
(method url-fetch) (package
(uri (pypi-uri "Flask-Assets" version)) (name "python-flask-assets")
(sha256 (version (git-version "2.1.0" revision commit))
(base32 "1hmqldxc7zciksmcl35jx0wbyrrxc7vk2a57mmmd8i07whsymz8x")))) (source
(build-system python-build-system) (origin
(arguments (method git-fetch)
;; Tests require python-flask-script which is incompatible with Flask2. (uri (git-reference
`(#:tests? #f)) (url "https://github.com/miracle2k/flask-assets/")
(propagated-inputs (commit commit)))
(list python-flask python-webassets)) (file-name (git-file-name name version))
(home-page "https://github.com/miracle2k/flask-assets") (sha256
(synopsis "Asset management for Flask") (base32 "11q8vm2ipj4xrvawy9vl1l4k8kb4r72ghy1n8xrzci52v6lx8960"))))
(description "This package integrates @code{webassets} with Flask, adding (build-system pyproject-build-system)
(propagated-inputs
(list python-flask python-webassets))
(native-inputs
(list nss-certs-for-test python-pytest python-setuptools python-wheel))
(home-page "https://github.com/miracle2k/flask-assets")
(synopsis "Asset management for Flask")
(description "This package integrates @code{webassets} with Flask, adding
support for merging, minifying and compiling CSS and Javascript files.") support for merging, minifying and compiling CSS and Javascript files.")
(license license:bsd-2))) (license license:bsd-2))))
(define-public python-flask-babel (define-public python-flask-babel
(package (package