[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
11/11: gnu: python-cssutils: Update to 2.6.0.
From: |
guix-commits |
Subject: |
11/11: gnu: python-cssutils: Update to 2.6.0. |
Date: |
Fri, 19 May 2023 10:50:44 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit bac28a52cb7cbc42d7fabbce0e47028367e69a61
Author: kiasoc5 <kiasoc5@disroot.org>
AuthorDate: Sat Apr 29 01:43:15 2023 -0400
gnu: python-cssutils: Update to 2.6.0.
Resending second patch with a better commit message.
* gnu/packages/python-web.scm (python-cssutils): Update to 2.6.0.
[build-system]: Switch to pyproject-build-system.
[arguments]: Enable tests.
[native-inputs]: Remove unzip; add python-pytest and python-jaraco-test.
[homepage]: Update it.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
---
gnu/packages/python-web.scm | 33 +++++++++++++++++++++------------
1 file changed, 21 insertions(+), 12 deletions(-)
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index dbd6e98730..b6ad489626 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -1978,20 +1978,29 @@ for clients and servers.")
(define-public python-cssutils
(package
(name "python-cssutils")
- (version "1.0.2")
+ (version "2.6.0")
(source
- (origin
- (method url-fetch)
- (uri (pypi-uri "cssutils" version))
- (sha256
- (base32
- "1bxchrbqzapwijap0yhlxdil1w9bmwvgx77aizlkhc2mcxjg1z52"))))
- (build-system python-build-system)
- (native-inputs
- (list unzip)) ; for unpacking the source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "cssutils" version))
+ (sha256
+ (base32
+ "13l1y0xr3fgbl95w3pinb5av5dqk2ip39pih6vgrz47c3hyd5p7p"))))
+ (build-system pyproject-build-system)
(arguments
- `(#:tests? #f)) ; tests require python-pbr < 1.7.0
- (home-page "https://cthedot.de/cssutils/")
+ (list
+ #:phases
+ #~(modify-phases %standard-phases
+ (replace 'check
+ (lambda _
+ (invoke "pytest" "-vv" "-k"
+ ;; disable tests requiring network
+ (string-append "not test_parseUrl "
+ "and not encutils "
+ "and not website.logging")))))))
+ (native-inputs
+ (list python-pytest python-jaraco-test))
+ (home-page "https://github.com/jaraco/cssutils")
(synopsis
"CSS Cascading Style Sheets library for Python")
(description
- branch master updated (7ff9ca2201 -> bac28a52cb), guix-commits, 2023/05/19
- 01/11: gnu: criu: Reset timestamps in .egg file., guix-commits, 2023/05/19
- 02/11: gnu: sssd: Fix failing tests by using samba/pinned input, guix-commits, 2023/05/19
- 04/11: gnu: python-yamllint: Update to 1.31.0., guix-commits, 2023/05/19
- 05/11: teams: Correct chemistry.scm typo., guix-commits, 2023/05/19
- 07/11: gnu: openmw: Fix build on glibc 2.34 and newer., guix-commits, 2023/05/19
- 09/11: gnu: mympd: Update to 10.3.2., guix-commits, 2023/05/19
- 06/11: gnu: recastnavigation: Update to commit 6d1f971., guix-commits, 2023/05/19
- 03/11: gnu: sssd: Fix build, guix-commits, 2023/05/19
- 08/11: gnu: packages: Fix weechat-wee-slack build., guix-commits, 2023/05/19
- 11/11: gnu: python-cssutils: Update to 2.6.0.,
guix-commits <=
- 10/11: gnu: Add python-jaraco-test., guix-commits, 2023/05/19