GNU bug report logs -
#70855
[PATCH 00/92] python-team patches
Previous Next
Reported by: Nicolas Graves <ngraves <at> ngraves.fr>
Date: Thu, 9 May 2024 22:51:01 UTC
Severity: normal
Tags: patch
Done: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
* gnu/packages/python-xyz.scm (python-autoflake): Update to 2.3.1.
[build-system]: Move to pyproject-build-system.
[arguments]<#:phases>: Add check phase replacement.
[native-inputs]: Add python-hatchling.
Change-Id: I0421107a98b1181a76e1874f23e6aa6e7709e434
---
gnu/packages/python-xyz.scm | 15 ++++++++++++---
1 file changed, 12 insertions(+), 3 deletions(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 0d993fbb208..1f9ebc15e02 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -14890,14 +14890,23 @@ (define-public python-flake8-isort
(define-public python-autoflake
(package
(name "python-autoflake")
- (version "1.3.1")
+ (version "2.3.1")
(source
(origin
(method url-fetch)
(uri (pypi-uri "autoflake" version))
(sha256
- (base32 "0nzr057dbmgprp4a52ymafdkdd5zp2wcqf42913xc7hhvvdbj338"))))
- (build-system python-build-system)
+ (base32 "17lhrmz6h7pz2nald90p8gn3hhzbqwmd78819yf4b1habgf7b2y9"))))
+ (build-system pyproject-build-system)
+ (arguments
+ (list
+ #:phases
+ #~(modify-phases %standard-phases
+ (replace 'check
+ (lambda _
+ (invoke "python" "test_autoflake.py"))))))
+ (native-inputs
+ (list python-hatchling))
(propagated-inputs
(list python-pyflakes))
(home-page "https://github.com/myint/autoflake")
--
2.41.0
This bug report was last modified 364 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.