diff options
| author | Ricardo Wurmus <rekado@elephly.net> | 2025-01-06 17:25:58 +0100 |
|---|---|---|
| committer | Ricardo Wurmus <rekado@elephly.net> | 2025-01-20 21:37:37 +0100 |
| commit | b70ac4564ceb09d9e6136a54086c03c36b031865 (patch) | |
| tree | 34c3a85eb079b543637c7c1f882306b97d340253 /gnu/packages/python-web.scm | |
| parent | b3e8c9ce683943420057e9b635046b7500493f33 (diff) | |
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
Diffstat (limited to 'gnu/packages/python-web.scm')
| -rw-r--r-- | gnu/packages/python-web.scm | 45 |
1 files changed, 26 insertions, 19 deletions
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index f81ec5749ab..9e302e8209f 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm | |||
| @@ -2136,26 +2136,33 @@ between a web browser and web server.") | |||
| 2136 | (license license:expat))) | 2136 | (license license:expat))) |
| 2137 | 2137 | ||
| 2138 | (define-public python-flask-assets | 2138 | (define-public python-flask-assets |
| 2139 | (package | 2139 | ;; The latest release still depends on the abandoned flask-script, whereas |
| 2140 | (name "python-flask-assets") | 2140 | ;; at this later commit (already 2 years old at the time of this writing) |
| 2141 | (version "2.0") | 2141 | ;; the dependency has been lifted. |
| 2142 | (source | 2142 | (let ((commit "62efd23fe95ee6a86fc1cfaa98fc1e2152093557") |
| 2143 | (origin | 2143 | (revision "1")) |
| 2144 | (method url-fetch) | 2144 | (package |
| 2145 | (uri (pypi-uri "Flask-Assets" version)) | 2145 | (name "python-flask-assets") |
| 2146 | (sha256 | 2146 | (version (git-version "2.1.0" revision commit)) |
| 2147 | (base32 "1hmqldxc7zciksmcl35jx0wbyrrxc7vk2a57mmmd8i07whsymz8x")))) | 2147 | (source |
| 2148 | (build-system python-build-system) | 2148 | (origin |
| 2149 | (arguments | 2149 | (method git-fetch) |
| 2150 | ;; Tests require python-flask-script which is incompatible with Flask2. | 2150 | (uri (git-reference |
| 2151 | `(#:tests? #f)) | 2151 | (url "https://github.com/miracle2k/flask-assets/") |
| 2152 | (propagated-inputs | 2152 | (commit commit))) |
| 2153 | (list python-flask python-webassets)) | 2153 | (file-name (git-file-name name version)) |
| 2154 | (home-page "https://github.com/miracle2k/flask-assets") | 2154 | (sha256 |
| 2155 | (synopsis "Asset management for Flask") | 2155 | (base32 "11q8vm2ipj4xrvawy9vl1l4k8kb4r72ghy1n8xrzci52v6lx8960")))) |
| 2156 | (description "This package integrates @code{webassets} with Flask, adding | 2156 | (build-system pyproject-build-system) |
| 2157 | (propagated-inputs | ||
| 2158 | (list python-flask python-webassets)) | ||
| 2159 | (native-inputs | ||
| 2160 | (list nss-certs-for-test python-pytest python-setuptools python-wheel)) | ||
| 2161 | (home-page "https://github.com/miracle2k/flask-assets") | ||
| 2162 | (synopsis "Asset management for Flask") | ||
| 2163 | (description "This package integrates @code{webassets} with Flask, adding | ||
| 2157 | support for merging, minifying and compiling CSS and Javascript files.") | 2164 | support for merging, minifying and compiling CSS and Javascript files.") |
| 2158 | (license license:bsd-2))) | 2165 | (license license:bsd-2)))) |
| 2159 | 2166 | ||
| 2160 | (define-public python-flask-babel | 2167 | (define-public python-flask-babel |
| 2161 | (package | 2168 | (package |
