gnu: reuse: Update to 1.1.2.

* gnu/packages/license.scm (reuse): Update to 1.1.2.
[build-system]: Switch to pyproject-build-system.
[native-inputs]: Add python-poetry-core. Remove python-setuptools-scm.
[inputs]: Remove python-requests.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
This commit is contained in:
Bruno Victal 2023-03-14 18:27:10 +00:00 committed by Maxim Cournoyer
parent 8e888392b7
commit 09a3dce1f9
No known key found for this signature in database
GPG key ID: 1260E46482E63562

View file

@ -30,6 +30,7 @@ (define-module (gnu packages license)
#:use-module (gnu packages python-xyz) #:use-module (gnu packages python-xyz)
#:use-module (guix build-system perl) #:use-module (guix build-system perl)
#:use-module (guix build-system python) #:use-module (guix build-system python)
#:use-module (guix build-system pyproject)
#:use-module (guix download) #:use-module (guix download)
#:use-module (guix git-download) #:use-module (guix git-download)
#:use-module (guix licenses) #:use-module (guix licenses)
@ -169,23 +170,22 @@ (define-public licensecheck
(define-public reuse (define-public reuse
(package (package
(name "reuse") (name "reuse")
(version "1.0.0") (version "1.1.2")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
(uri (pypi-uri "reuse" version)) (uri (pypi-uri "reuse" version))
(sha256 (sha256
(base32 "1m78q5x19xvhywi1xl0prrag89ihvqiq14lba27rrxl75nz24c6v")))) (base32 "0ij2mpdnawjabnsy291157wzci9050dfclwib95phg7pnmd6xsw0"))))
(build-system python-build-system) (build-system pyproject-build-system)
(native-inputs (native-inputs
(list python-pytest python-setuptools-scm)) (list python-poetry-core python-pytest))
(inputs (inputs
(list python-binaryornot (list python-binaryornot
python-boolean.py python-boolean.py
python-debian python-debian
python-jinja2 python-jinja2
python-license-expression python-license-expression))
python-requests))
(home-page "https://reuse.software/") (home-page "https://reuse.software/")
(synopsis "Provide and verify copyright and licensing information") (synopsis "Provide and verify copyright and licensing information")
(description (description