gnu: python-hacking: Update to 7.0.0.

* gnu/packages/openstack.scm (python-hacking): Update to 7.0.0.
[build-system]: Use pyproject-build-system.
[native-inputs]: Add python-setuptools and python-wheel.

Change-Id: Ie82d0a89699fa4ae32f008f089de402181f89bc3
This commit is contained in:
Ricardo Wurmus 2025-01-14 20:37:54 +01:00
parent 522225af77
commit f59129c09b
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -4,7 +4,7 @@
;;; Copyright © 2016, 2017, 2019, 2021 Clément Lassieur <clement@lassieur.org> ;;; Copyright © 2016, 2017, 2019, 2021 Clément Lassieur <clement@lassieur.org>
;;; Copyright © 2018, 2019 Tobias Geerinckx-Rice <me@tobias.gr> ;;; Copyright © 2018, 2019 Tobias Geerinckx-Rice <me@tobias.gr>
;;; Copyright © 2018, 2022 Marius Bakke <marius@gnu.org> ;;; Copyright © 2018, 2022 Marius Bakke <marius@gnu.org>
;;; Copyright © 2020, 2021 Ricardo Wurmus <rekado@elephly.net> ;;; Copyright © 2020, 2021, 2025 Ricardo Wurmus <rekado@elephly.net>
;;; Copyright © 2020 Maxim Cournoyer <maxim.cournoyer@gmail.com> ;;; Copyright © 2020 Maxim Cournoyer <maxim.cournoyer@gmail.com>
;;; Copyright © 2022 Tanguy Le Carrour <tanguy@bioneland.org> ;;; Copyright © 2022 Tanguy Le Carrour <tanguy@bioneland.org>
;;; Copyright © 2022 Hartmut Goebel <h.goebel@crazy-compilers.com> ;;; Copyright © 2022 Hartmut Goebel <h.goebel@crazy-compilers.com>
@ -44,6 +44,7 @@ (define-module (gnu packages openstack)
#:use-module (gnu packages version-control) #:use-module (gnu packages version-control)
#:use-module (gnu packages xml) #:use-module (gnu packages xml)
#: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 licenses) #:use-module ((guix licenses)
#:select (asl2.0)) #:select (asl2.0))
@ -139,27 +140,28 @@ (define-public python-debtcollector
(define-public python-hacking (define-public python-hacking
(package (package
(name "python-hacking") (name "python-hacking")
(version "5.0.0") (version "7.0.0")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
(uri (pypi-uri "hacking" version)) (uri (pypi-uri "hacking" version))
(sha256 (sha256
(base32 (base32
"09p0avmz914asszvdknc46n43bl070f369wmjmppl51zmw4b4ddb")))) "1dya2mbnm8cbkwrzmhsacdpmp37nhfcy13y5hbx58z8g53jw5dmr"))))
(build-system python-build-system) (build-system pyproject-build-system)
(propagated-inputs (propagated-inputs
(list python-flake8)) (list python-flake8))
(native-inputs (native-inputs
(list ;; Tests (list python-coverage
python-coverage
python-ddt python-ddt
python-eventlet python-eventlet
python-fixtures python-fixtures
python-subunit python-setuptools
python-stestr python-stestr
python-subunit
python-testscenarios python-testscenarios
python-testtools)) python-testtools
python-wheel))
(home-page "https://github.com/openstack-dev/hacking") (home-page "https://github.com/openstack-dev/hacking")
(synopsis "OpenStack hacking guideline enforcement") (synopsis "OpenStack hacking guideline enforcement")
(description (description