GNU bug report logs -
#63165
[PATCH 0/2] Add python-jaraco-test, update python-cssutils.
Previous Next
Reported by: kiasoc5 <kiasoc5 <at> disroot.org>
Date: Sat, 29 Apr 2023 05:27:02 UTC
Severity: normal
Tags: patch
Done: Ludovic Courtès <ludo <at> gnu.org>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 63165 in the body.
You can then email your comments to 63165 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
guix-patches <at> gnu.org
:
bug#63165
; Package
guix-patches
.
(Sat, 29 Apr 2023 05:27:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
kiasoc5 <kiasoc5 <at> disroot.org>
:
New bug report received and forwarded. Copy sent to
guix-patches <at> gnu.org
.
(Sat, 29 Apr 2023 05:27:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
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
Information forwarded
to
guix-patches <at> gnu.org
:
bug#63165
; Package
guix-patches
.
(Sat, 29 Apr 2023 05:32:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 63165 <at> debbugs.gnu.org (full text, mbox):
* 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
Information forwarded
to
guix-patches <at> gnu.org
:
bug#63165
; Package
guix-patches
.
(Sat, 29 Apr 2023 05:32:02 GMT)
Full text and
rfc822 format available.
Message #11 received at 63165 <at> debbugs.gnu.org (full text, mbox):
* 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
Information forwarded
to
guix-patches <at> gnu.org
:
bug#63165
; Package
guix-patches
.
(Sat, 29 Apr 2023 05:44:02 GMT)
Full text and
rfc822 format available.
Message #14 received at 63165 <at> debbugs.gnu.org (full text, mbox):
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
Reply sent
to
Ludovic Courtès <ludo <at> gnu.org>
:
You have taken responsibility.
(Fri, 19 May 2023 14:47:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
kiasoc5 <kiasoc5 <at> disroot.org>
:
bug acknowledged by developer.
(Fri, 19 May 2023 14:47:02 GMT)
Full text and
rfc822 format available.
Message #19 received at 63165-done <at> debbugs.gnu.org (full text, mbox):
Hi,
kiasoc5 <kiasoc5 <at> disroot.org> skribis:
> gnu: Add python-jaraco-test.
> gnu: python-cssutils: Update to 2.6.0.
Applied, thanks!
Ludo’.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Sat, 17 Jun 2023 11:24:08 GMT)
Full text and
rfc822 format available.
This bug report was last modified 1 year and 328 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.