GNU bug report logs - #74874
[PATCH] gnu: reuse: Update to 5.0.2.

Previous Next

Package: guix-patches;

Reported by: Evgeny Pisemsky <mail <at> pisemsky.site>

Date: Sat, 14 Dec 2024 17:31:02 UTC

Severity: normal

Tags: patch

Done: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>

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 74874 in the body.
You can then email your comments to 74874 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#74874; Package guix-patches. (Sat, 14 Dec 2024 17:31:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Evgeny Pisemsky <mail <at> pisemsky.site>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Sat, 14 Dec 2024 17:31:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Evgeny Pisemsky <mail <at> pisemsky.site>
To: guix-patches <at> gnu.org
Subject: [PATCH] gnu: reuse: Update to 5.0.2.
Date: Sat, 14 Dec 2024 20:30:13 +0300
[0001-gnu-reuse-Update-to-5.0.2.patch (text/x-patch, inline)]
From 90dafdbe169674fc02ad392b47dcb47e837ba4db Mon Sep 17 00:00:00 2001
Message-ID: <90dafdbe169674fc02ad392b47dcb47e837ba4db.1734197197.git.mail <at> pisemsky.site>
From: Evgeny Pisemsky <mail <at> pisemsky.site>
Date: Sat, 14 Dec 2024 20:25:10 +0300
Subject: [PATCH] gnu: reuse: Update to 5.0.2.

* gnu/packages/license.scm (reuse): Update to 5.0.2.

Change-Id: Ibb14f17a94148910f2e32d977d000ccb40f6e36a
---
 gnu/packages/license.scm | 16 +++++++++++-----
 1 file changed, 11 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/license.scm b/gnu/packages/license.scm
index 53a0b98f9a..589e54e9a0 100644
--- a/gnu/packages/license.scm
+++ b/gnu/packages/license.scm
@@ -5,6 +5,7 @@
 ;;; Copyright © 2021 Tanguy Le Carrour <tanguy <at> bioneland.org>
 ;;; Copyright © 2022 Felix Gruber <felgru <at> posteo.net>
 ;;; Copyright © 2024 Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
+;;; Copyright © 2024 Evgeny Pisemsky <mail <at> pisemsky.site>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -175,13 +176,15 @@ (define-public licensecheck
 (define-public reuse
   (package
     (name "reuse")
-    (version "3.0.2")
+    (version "5.0.2")
     (source
      (origin
        (method url-fetch)
        (uri (pypi-uri "reuse" version))
        (sha256
-        (base32 "19ijdwbr47pa0ba30s40b53qb0chyq27akj0484aj9s5p1i85svk"))))
+        (base32 "0p08xmpf361m81kfmkwzm898q9iaq5v6cvb0sjx1176jbnp1d047"))
+       ;; Delete test that hangs for some reason.
+       (snippet '(delete-file "tests/test_cli_spdx.py"))))
     (build-system pyproject-build-system)
     (arguments
      ;; Change directory before running the test suite to avoid having both
@@ -194,14 +197,17 @@ (define-public reuse
     (native-inputs
      (list python-poetry-core
            python-pytest
-           python-wheel))
+           python-pytest-cov
+           python-freezegun))
     (inputs
      (list python-binaryornot
            python-boolean.py
            python-debian
            python-jinja2
            python-license-expression
-           python-setuptools)) ; For pkg_resources.
+           python-attrs
+           python-click
+           python-tomlkit))
     (home-page "https://reuse.software/")
     (synopsis "Provide and verify copyright and licensing information")
     (description
@@ -219,7 +225,7 @@ (define-public reuse
 tools that have a lot more features and functionality surrounding the analysis
 and inspection of copyright and licenses in software projects.  This one is
 designed to be simple.")
-    (license (list asl2.0 gpl3+))))
+    (license (list asl2.0 cc0 cc-by-sa4.0 gpl3+))))
 
 (define-public licenseheaders
   (package

base-commit: b8d72efbb14637a9242168b4ceafdd6864895ff2
-- 
2.46.0





Reply sent to Maxim Cournoyer <maxim.cournoyer <at> gmail.com>:
You have taken responsibility. (Mon, 23 Dec 2024 08:46:01 GMT) Full text and rfc822 format available.

Notification sent to Evgeny Pisemsky <mail <at> pisemsky.site>:
bug acknowledged by developer. (Mon, 23 Dec 2024 08:46:02 GMT) Full text and rfc822 format available.

Message #10 received at 74874-done <at> debbugs.gnu.org (full text, mbox):

From: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
To: Evgeny Pisemsky <mail <at> pisemsky.site>
Cc: 74874-done <at> debbugs.gnu.org
Subject: Re: [bug#74874] [PATCH] gnu: reuse: Update to 5.0.2.
Date: Mon, 23 Dec 2024 17:44:05 +0900
Hello,

I happened to come up with an update independently of your work (hadn't
looked first, sorry!); they mostly converge.  I'll share what I've done
a bit differently below:

Evgeny Pisemsky <mail <at> pisemsky.site> writes:

>>From 90dafdbe169674fc02ad392b47dcb47e837ba4db Mon Sep 17 00:00:00 2001
> Message-ID: <90dafdbe169674fc02ad392b47dcb47e837ba4db.1734197197.git.mail <at> pisemsky.site>
> From: Evgeny Pisemsky <mail <at> pisemsky.site>
> Date: Sat, 14 Dec 2024 20:25:10 +0300
> Subject: [PATCH] gnu: reuse: Update to 5.0.2.
>
> * gnu/packages/license.scm (reuse): Update to 5.0.2.

The GNU changelog commit message should contains the changes made (see
other commits for examples).

[...]

> @@ -175,13 +176,15 @@ (define-public licensecheck
>  (define-public reuse
>    (package
>      (name "reuse")
> -    (version "3.0.2")
> +    (version "5.0.2")
>      (source
>       (origin
>         (method url-fetch)
>         (uri (pypi-uri "reuse" version))
>         (sha256
> -        (base32 "19ijdwbr47pa0ba30s40b53qb0chyq27akj0484aj9s5p1i85svk"))))
> +        (base32 "0p08xmpf361m81kfmkwzm898q9iaq5v6cvb0sjx1176jbnp1d047"))
> +       ;; Delete test that hangs for some reason.
> +       (snippet '(delete-file "tests/test_cli_spdx.py"))))

I've used #:test-flags #~(list "-k" "not test_simple") instead, and
reported the problem upstream (see:
https://github.com/fsfe/reuse-tool/issues/1119).

>      (build-system pyproject-build-system)
>      (arguments
>       ;; Change directory before running the test suite to avoid having both
> @@ -194,14 +197,17 @@ (define-public reuse
>      (native-inputs
>       (list python-poetry-core
>             python-pytest
> -           python-wheel))
> +           python-pytest-cov

pytest-cov doesn't appear to be required (optional).

> +           python-freezegun))
>      (inputs
>       (list python-binaryornot
>             python-boolean.py
>             python-debian
>             python-jinja2
>             python-license-expression
> -           python-setuptools)) ; For pkg_resources.
> +           python-attrs
> +           python-click
> +           python-tomlkit))
>      (home-page "https://reuse.software/")
>      (synopsis "Provide and verify copyright and licensing information")
>      (description
> @@ -219,7 +225,7 @@ (define-public reuse
>  tools that have a lot more features and functionality surrounding the analysis
>  and inspection of copyright and licenses in software projects.  This one is
>  designed to be simple.")
> -    (license (list asl2.0 gpl3+))))
> +    (license (list asl2.0 cc0 cc-by-sa4.0 gpl3+))))

This is not mentioned in your commit message; but I see this seems
accurate according to
https://github.com/fsfe/reuse-tool/tree/main/LICENSES, so I've kept it.

I've added a Co-authored-by git trailer to your name, along a copyright
line for you, and pushed as 06ca44f70f.

Thank you!

-- 
Maxim




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 20 Jan 2025 12:24:13 GMT) Full text and rfc822 format available.

This bug report was last modified 148 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.