* [bug#63165] [PATCH 0/2] Add python-jaraco-test, update python-cssutils.
@ 2023-04-29 5:24 kiasoc5 via Guix-patches via
2023-04-29 5:31 ` [bug#63165] [PATCH 1/2] gnu: Add python-jaraco-test kiasoc5 via Guix-patches via
` (2 more replies)
0 siblings, 3 replies; 5+ messages in thread
From: kiasoc5 via Guix-patches via @ 2023-04-29 5:24 UTC (permalink / raw)
To: 63165; +Cc: kiasoc5
The previous build for python-cssutils was failing, this fixes it.
kiasoc5 (2):
gnu: Add python-jaraco-test.
gnu: python-cssutils: Update to 2.6.0.
gnu/packages/python-web.scm | 33 +++++++++++++++++++++------------
gnu/packages/python-xyz.scm | 31 +++++++++++++++++++++++++++++++
2 files changed, 52 insertions(+), 12 deletions(-)
base-commit: 4884ee6dd4b1694a4a502dd8058d6c61fa0c0199
--
2.40.1
^ permalink raw reply [flat|nested] 5+ messages in thread
* [bug#63165] [PATCH 1/2] gnu: Add python-jaraco-test.
2023-04-29 5:24 [bug#63165] [PATCH 0/2] Add python-jaraco-test, update python-cssutils kiasoc5 via Guix-patches via
@ 2023-04-29 5:31 ` kiasoc5 via Guix-patches via
2023-04-29 5:31 ` [bug#63165] [PATCH 2/2] gnu: python-cssutils: Update to 2.6.0 kiasoc5 via Guix-patches via
2023-04-29 5:43 ` [bug#63165] [PATCH v2] " kiasoc5 via Guix-patches via
2023-05-19 14:46 ` bug#63165: [PATCH 0/2] Add python-jaraco-test, update python-cssutils Ludovic Courtès
2 siblings, 1 reply; 5+ messages in thread
From: kiasoc5 via Guix-patches via @ 2023-04-29 5:31 UTC (permalink / raw)
To: 63165; +Cc: kiasoc5
* gnu/packages/python-xyz.scm (python-jaraco-test): New variable.
---
gnu/packages/python-xyz.scm | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index e2d082091f..02bb96111b 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -9258,6 +9258,37 @@ (define-public python-jaraco-packaging
releases.")
(license license:expat)))
+(define-public python-jaraco-test
+ (package
+ (name "python-jaraco-test")
+ (version "5.3.0")
+ (source (origin
+ (method url-fetch)
+ (uri (pypi-uri "jaraco.test" version))
+ (sha256
+ (base32
+ "0h0x8qmvfkfqvwdx2m7kwhn53sg26k8gkaas7s1730ak772zqrvz"))))
+ (build-system pyproject-build-system)
+ (arguments
+ (list
+ #:phases #~(modify-phases %standard-phases
+ (replace 'check
+ (lambda _
+ (invoke "pytest" "-vv" "-k" "http"))))))
+ (propagated-inputs (list python-jaraco-context python-jaraco-functools))
+ (native-inputs (list python-flake8
+ python-pytest
+ python-pytest-black
+ python-pytest-checkdocs
+ python-pytest-cov
+ python-pytest-enabler
+ python-pytest-flake8
+ python-pytest-mypy))
+ (home-page "https://github.com/jaraco/jaraco.test")
+ (synopsis "Testing support by jaraco")
+ (description "This package provides testing support by jaraco.")
+ (license license:expat)))
+
(define-public python-simplegeneric
(package
(name "python-simplegeneric")
--
2.40.1
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [bug#63165] [PATCH 2/2] gnu: python-cssutils: Update to 2.6.0.
2023-04-29 5:31 ` [bug#63165] [PATCH 1/2] gnu: Add python-jaraco-test kiasoc5 via Guix-patches via
@ 2023-04-29 5:31 ` kiasoc5 via Guix-patches via
0 siblings, 0 replies; 5+ messages in thread
From: kiasoc5 via Guix-patches via @ 2023-04-29 5:31 UTC (permalink / raw)
To: 63165; +Cc: kiasoc5
* gnu/packages/python-web.scm (python-cssutils): Update to 2.6.0.
[native-inputs]: Remove unzip; add python-pytest and python-jaraco-test.
---
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 d7ad051007..3c34c1c043 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -1929,20 +1929,29 @@ (define-public python-openid
(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
--
2.40.1
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [bug#63165] [PATCH v2] gnu: python-cssutils: Update to 2.6.0.
2023-04-29 5:24 [bug#63165] [PATCH 0/2] Add python-jaraco-test, update python-cssutils kiasoc5 via Guix-patches via
2023-04-29 5:31 ` [bug#63165] [PATCH 1/2] gnu: Add python-jaraco-test kiasoc5 via Guix-patches via
@ 2023-04-29 5:43 ` kiasoc5 via Guix-patches via
2023-05-19 14:46 ` bug#63165: [PATCH 0/2] Add python-jaraco-test, update python-cssutils Ludovic Courtès
2 siblings, 0 replies; 5+ messages in thread
From: kiasoc5 via Guix-patches via @ 2023-04-29 5:43 UTC (permalink / raw)
To: 63165; +Cc: kiasoc5
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.
---
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 d7ad051007..3c34c1c043 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -1929,20 +1929,29 @@ (define-public python-openid
(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
base-commit: 4884ee6dd4b1694a4a502dd8058d6c61fa0c0199
prerequisite-patch-id: 81152a28167c5753792b6ac435f46dd43dadcb13
--
2.40.1
^ permalink raw reply related [flat|nested] 5+ messages in thread
* bug#63165: [PATCH 0/2] Add python-jaraco-test, update python-cssutils.
2023-04-29 5:24 [bug#63165] [PATCH 0/2] Add python-jaraco-test, update python-cssutils kiasoc5 via Guix-patches via
2023-04-29 5:31 ` [bug#63165] [PATCH 1/2] gnu: Add python-jaraco-test kiasoc5 via Guix-patches via
2023-04-29 5:43 ` [bug#63165] [PATCH v2] " kiasoc5 via Guix-patches via
@ 2023-05-19 14:46 ` Ludovic Courtès
2 siblings, 0 replies; 5+ messages in thread
From: Ludovic Courtès @ 2023-05-19 14:46 UTC (permalink / raw)
To: kiasoc5; +Cc: 63165-done
Hi,
kiasoc5 <kiasoc5@disroot.org> skribis:
> gnu: Add python-jaraco-test.
> gnu: python-cssutils: Update to 2.6.0.
Applied, thanks!
Ludo’.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2023-05-19 14:47 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-04-29 5:24 [bug#63165] [PATCH 0/2] Add python-jaraco-test, update python-cssutils kiasoc5 via Guix-patches via
2023-04-29 5:31 ` [bug#63165] [PATCH 1/2] gnu: Add python-jaraco-test kiasoc5 via Guix-patches via
2023-04-29 5:31 ` [bug#63165] [PATCH 2/2] gnu: python-cssutils: Update to 2.6.0 kiasoc5 via Guix-patches via
2023-04-29 5:43 ` [bug#63165] [PATCH v2] " kiasoc5 via Guix-patches via
2023-05-19 14:46 ` bug#63165: [PATCH 0/2] Add python-jaraco-test, update python-cssutils Ludovic Courtès
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.