diff options
| author | Nicolas Graves <ngraves@ngraves.fr> | 2025-12-23 14:10:22 +0100 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-12-28 14:55:11 +0000 |
| commit | 9cd7aafa520330ca4d17089340593bb1de28c59e (patch) | |
| tree | 554c6ca56ef77bd91e9dd379efff25cb31f9854e /gnu/packages | |
| parent | e7187c72801dcc05723f0654e668cc6b853ea1bb (diff) | |
gnu: python-cssmin: Switch to pyproject.
* gnu/packages/python-web.scm (python-cssmin):
[source]: Switch to git-fetch.
[build-system]: Switch to pyproject-build-system.
[arguments]<#:tests?>: Disable them.
[native-inputs]: Add python-setuptools.
Change-Id: I2459228cc72bb22a0f24ea91476cc94d61b746ac
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu/packages')
| -rw-r--r-- | gnu/packages/python-web.scm | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 08f2d9873b8..d614138a9e7 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -8108,13 +8108,17 @@ jspacker or CSS tidy. It also supports URL rewriting in CSS files.") (name "python-cssmin") (version "0.2.0") (source - (origin - (method url-fetch) - (uri (pypi-uri "cssmin" version)) - (sha256 - (base32 - "1dk723nfm2yf8cp4pj785giqlwv42l0kj8rk40kczvq1hk6g04p0")))) - (build-system python-build-system) + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/zacharyvoase/cssmin") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "04bzpal6j26pjjjf3p7iq6g2wcr61j4g0ygqz6h847h4hsyah9qg")))) + (build-system pyproject-build-system) + (arguments (list #:tests? #f)) ; No tests. + (native-inputs (list python-setuptools)) (home-page "https://github.com/zacharyvoase/cssmin") (synopsis "Python port of the YUI CSS Compressor") (description "Python port of the YUI CSS Compressor.") |
