[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/02: gnu: python-pyscss: Update to 1.4.0.
From: |
guix-commits |
Subject: |
02/02: gnu: python-pyscss: Update to 1.4.0. |
Date: |
Thu, 25 Jan 2024 14:49:57 -0500 (EST) |
rekado pushed a commit to branch master
in repository guix.
commit d6c394d6a177fdaf6b28f82a9dd2163633e5eeee
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Thu Jan 25 20:48:37 2024 +0100
gnu: python-pyscss: Update to 1.4.0.
* gnu/packages/python-web.scm (python-pyscss): Update to 1.4.0.
[source]: Remove snippet.
[arguments]: Remove; enable tests.
Change-Id: I954baf228e6e343b616b6a0eb15742920873f31d
---
gnu/packages/python-web.scm | 23 ++++-------------------
1 file changed, 4 insertions(+), 19 deletions(-)
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 096c2b2b0f..0c0cc46e5f 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -1440,32 +1440,17 @@ Encryption} (JOSE) Web Standards.")
(define-public python-pyscss
(package
(name "python-pyscss")
- (version "1.3.7")
+ (version "1.4.0")
(source
(origin
(method git-fetch) ; no tests in PyPI release
(uri (git-reference
(url "https://github.com/Kronuz/pyScss")
- (commit version)))
+ (commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
- (base32 "0701hziiiw67blafgpmjhzspmrss8mfvif7fw0rs8fikddwwc9g6"))
- (snippet
- #~(begin (use-modules (guix build utils))
- (substitute* "scss/types.py"
- (("from collections import Iterable")
- "from collections.abc import Iterable"))))))
- (build-system python-build-system)
- (arguments
- ;; XXX: error in test collection, possible incompatibility with Pytest 6.
- `(#:tests? #f
- #:phases
- (modify-phases %standard-phases
- (replace 'check
- (lambda* (#:key inputs outputs tests? #:allow-other-keys)
- (when tests?
- (add-installed-pythonpath inputs outputs)
- (invoke "python" "-m" "pytest" "--pyargs" "scss")))))))
+ (base32 "1vinddg8sbh3v9n1r1wmvjx6ydk8xp7scbvhb3csl4y9xz7vhk6g"))))
+ (build-system pyproject-build-system)
(native-inputs
(list python-pytest python-pytest-cov))
(inputs