guix_mirror_bot pushed a commit to branch master
in repository guix.
commit e305a17dfd66d2f3ba203e842f7edd5073a6e8e8
Author: Nicolas Graves <[email protected]>
AuthorDate: Sat Oct 25 16:00:49 2025 +0200
gnu: python-csscompressor: Switch to pyproject.
* gnu/packages/python-xyz.scm (python-csscompressor):
[source]: Switch to git-fetch.
[build-system]: Switch to pyproject-build-system.
[arguments]: Drop them.
[native-inputs]: Add python-setuptools.
[description]: Improve style.
Change-Id: I20a28f6f1f9dc2f81386c42e4271bfac40b3e509
Signed-off-by: Sharlatan Hellseher <[email protected]>
---
gnu/packages/python-xyz.scm | 28 +++++++++++-----------------
1 file changed, 11 insertions(+), 17 deletions(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index b3c89c3018..544380a242 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -23558,25 +23558,19 @@ the network.")
(name "python-csscompressor")
(version "0.9.5")
(source
- (origin
- (method url-fetch)
- (uri (pypi-uri "csscompressor" version))
- (sha256
- (base32
- "018ssffvlpnc1salmnpyl52c11glzzwj4k9f757hl4pkpjnjp8mg"))))
- (build-system python-build-system)
- (arguments
- '(#:phases
- (modify-phases %standard-phases
- (replace 'check
- (lambda _
- (invoke "py.test"))))))
- (native-inputs
- (list python-pytest))
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/sprymix/csscompressor")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1gzzb474lgs8l539z2vyyvcvm1j7nxxnb5jk79ys63ysbg4jwmz8"))))
+ (build-system pyproject-build-system)
+ (native-inputs (list python-pytest python-setuptools))
(home-page "https://github.com/sprymix/csscompressor")
(synopsis "Python port of YUI CSS Compressor")
- (description
- "This package provides a python port of YUI CSS Compressor.")
+ (description "This package provides a python port of YUI CSS Compressor.")
(license license:bsd-3)))
(define-public python-rcssmin