summaryrefslogtreecommitdiff
path: root/gnu/packages/python-web.scm
diff options
context:
space:
mode:
authorNicolas Graves <ngraves@ngraves.fr>2025-12-23 14:18:52 +0100
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-12-28 14:55:12 +0000
commitbad9bf88356b86a7f30de5a311b9407e58b15ed2 (patch)
tree2197185eaf868074bea70d761db104f1b2f5b0ae /gnu/packages/python-web.scm
parent4f57b0b3d84c4d98f7f39419750cd27d11929986 (diff)
gnu: python-flask-htmlmin: Update to 3.0.0.
* gnu/packages/python-web.scm (python-flask-htmlmin): Update to 3.0.0. [source]: Switch to git-fetch. [build-system]: Switch to pyproject-build-system. [native-inputs]: Add python-pytest, python-setuptools. [propagated-inputs]: Add python-cssmin, replace python-htmlmin by python-htmlmin2. Change-Id: I6f64c78fdaf02501bf106c09da62d7b8ecc38904 Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu/packages/python-web.scm')
-rw-r--r--gnu/packages/python-web.scm22
1 files changed, 12 insertions, 10 deletions
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 472bd17a3f2..d12f59031bd 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -7948,17 +7948,19 @@ the original @code{python-htmlmin}.")
(define-public python-flask-htmlmin
(package
(name "python-flask-htmlmin")
- (version "1.2")
+ (version "3.0.0")
(source
- (origin
- (method url-fetch)
- (uri (pypi-uri "Flask-HTMLmin" version))
- (sha256
- (base32
- "1n6zlq72kakkw0z2jpq6nh74lfsmxybm4g053pwhc14fbr809348"))))
- (propagated-inputs
- (list python-flask python-htmlmin))
- (build-system python-build-system)
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/hamidfzm/Flask-HTMLmin")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0ybqssnqwa9zgv61azp5r1grgnq28ypfhr80p9rp61x2z0y0zl32"))))
+ (build-system pyproject-build-system)
+ (native-inputs (list python-pytest python-setuptools))
+ (propagated-inputs (list python-cssmin python-flask python-htmlmin2))
(home-page "https://github.com/hamidfzm/Flask-HTMLmin")
(synopsis "HTML response minifier for Flask")
(description