[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#51314] [PATCH 10/29] gnu: Add python-flask-assets.
From: |
Vinicius Monego |
Subject: |
[bug#51314] [PATCH 10/29] gnu: Add python-flask-assets. |
Date: |
Thu, 21 Oct 2021 04:01:41 +0000 |
* gnu/packages/python-web.scm (python-flask-assets): New variable.
---
gnu/packages/python-web.scm | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index f9401cceb3..24e6bc063e 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -1033,6 +1033,35 @@ between a web browser and web server.")
(define-public python2-sockjs-tornado
(package-with-python2 python-sockjs-tornado))
+(define-public python-flask-assets
+ (package
+ (name "python-flask-assets")
+ (version "2.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "Flask-Assets" version))
+ (sha256
+ (base32 "1hmqldxc7zciksmcl35jx0wbyrrxc7vk2a57mmmd8i07whsymz8x"))))
+ (build-system python-build-system)
+ (arguments
+ ;; FIXME: 8 tests are failing with:
+ ;; TypeError: __init__() got an unexpected keyword argument 'static_path'
+ `(#:tests? #f))
+ (native-inputs
+ `(("python-flask-script" ,python-flask-script)
+ ("python-nose" ,python-nose)
+ ("python-pyscss" ,python-pyscss)
+ ("python-pyyaml" ,python-pyyaml)))
+ (propagated-inputs
+ `(("python-flask" ,python-flask)
+ ("python-webassets" ,python-webassets)))
+ (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.")
+ (license license:bsd-2)))
+
(define-public python-flask-babel
(package
(name "python-flask-babel")
--
2.30.2
- [bug#51314] [PATCH 00/29] Add Octoprint (web UI for 3d printers)., Vinicius Monego, 2021/10/20
- [bug#51314] [PATCH 01/29] gnu: Add python-filetype., Vinicius Monego, 2021/10/20
- [bug#51314] [PATCH 05/29] gnu: Add python-sarge., Vinicius Monego, 2021/10/21
- [bug#51314] [PATCH 14/29] gnu: Add python-pytest-doctest-custom., Vinicius Monego, 2021/10/21
- [bug#51314] [PATCH 17/29] gnu: python-feedparser: Enable tests., Vinicius Monego, 2021/10/21
- [bug#51314] [PATCH 13/29] gnu: Add python-sentry-sdk., Vinicius Monego, 2021/10/21
- [bug#51314] [PATCH 10/29] gnu: Add python-flask-assets.,
Vinicius Monego <=
- [bug#51314] [PATCH 12/29] gnu: Add python-executing., Vinicius Monego, 2021/10/21
- [bug#51314] [PATCH 19/29] gnu: python-websocket-client: Update to 0.59.0., Vinicius Monego, 2021/10/21
- [bug#51314] [PATCH 20/29] gnu: python-pkginfo: Update to 1.7.1., Vinicius Monego, 2021/10/21
- [bug#51314] [PATCH 06/29] gnu: Add python-pylru., Vinicius Monego, 2021/10/21
- [bug#51314] [PATCH 09/29] gnu: Add python-pyscss., Vinicius Monego, 2021/10/21
- [bug#51314] [PATCH 22/29] gnu: python-colorlog: Update to 5.0.1., Vinicius Monego, 2021/10/21
- [bug#51314] [PATCH 21/29] gnu: python-watchdog: Update to 0.10.7., Vinicius Monego, 2021/10/21
- [bug#51314] [PATCH 15/29] gnu: Add python-sgmllib3k., Vinicius Monego, 2021/10/21
- [bug#51314] [PATCH 16/29] gnu: python-feedparser: Update to 6.0.8., Vinicius Monego, 2021/10/21
- [bug#51314] [PATCH 08/29] gnu: python-flask: Respect #:tests?., Vinicius Monego, 2021/10/21