[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#69980] [PATCH v2 10/14] gnu: python-identify: Update to 2.5.35.
From: |
Nicolas Graves |
Subject: |
[bug#69980] [PATCH v2 10/14] gnu: python-identify: Update to 2.5.35. |
Date: |
Thu, 9 May 2024 16:47:09 +0200 |
From: Vinicius Monego <monego@posteo.net>
* gnu/packages/python-xyz.scm (python-identify): Update to 2.5.35.
[build-system]: Use pyproject-build-system.
[arguments]: Use G-Expressions. Do not override the check phase.
[native-inputs]: Add python-ukkonen.
Change-Id: I970507dc358029b4e2cc0a295d19db4b28202544
---
gnu/packages/python-xyz.scm | 20 ++++++++------------
1 file changed, 8 insertions(+), 12 deletions(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 67b167bfcc5..443c484ce8e 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -27750,7 +27750,7 @@ (define-public python-ukkonen
(define-public python-identify
(package
(name "python-identify")
- (version "1.4.25")
+ (version "2.5.35")
(source
(origin
;; There are no tests in the PyPI tarball.
@@ -27760,19 +27760,15 @@ (define-public python-identify
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
- (base32 "1fqgci6skckcq0x5pnxh6k2qjzn1ndsrgha1j6wwv1ld4g9bd3hz"))))
- (build-system python-build-system)
+ (base32 "0w1wnh4y6xll3980m555k5g4iwwk31pwjx4j0b5x88bdvfml0h4i"))))
+ (build-system pyproject-build-system)
(arguments
- `(#:phases
- (modify-phases %standard-phases
- ;; system-error "utime" "~A" ("No such file or directory")
- (delete 'ensure-no-mtimes-pre-1980)
- (replace 'check
- (lambda* (#:key tests? #:allow-other-keys)
- (when tests?
- (invoke "pytest" "-vv")))))))
+ (list
+ #:phases #~(modify-phases %standard-phases
+ ;; system-error "utime" "~A" ("No such file or directory")
+ (delete 'ensure-no-mtimes-pre-1980))))
(native-inputs
- (list python-coverage python-pytest))
+ (list python-coverage python-pytest python-ukkonen))
(propagated-inputs
(list python-editdistance))
(home-page "https://github.com/chriskuehl/identify")
--
2.41.0
- [bug#69980] [PATCH v2 00/14] Update and cleanup pre-commit & friends., Nicolas Graves, 2024/05/09
- [bug#69980] [PATCH v2 04/14] gnu: python-rich-click: Remove pre-commit from native-inputs., Nicolas Graves, 2024/05/09
- [bug#69980] [PATCH v2 01/14] gnu: python-jsonargparse: Remove pre-commit from native-inputs., Nicolas Graves, 2024/05/09
- [bug#69980] [PATCH v2 03/14] gnu: python-seaborn: Remove pre-commit from native-inputs., Nicolas Graves, 2024/05/09
- [bug#69980] [PATCH v2 06/14] gnu: python-jupytext: Remove pre-commit from native-inputs., Nicolas Graves, 2024/05/09
- [bug#69980] [PATCH v2 05/14] gnu: python-lazy-loader: Remove pre-commit from native-inputs., Nicolas Graves, 2024/05/09
- [bug#69980] [PATCH v2 07/14] gnu: python-omnipath: Remove pre-commit from native-inputs., Nicolas Graves, 2024/05/09
- [bug#69980] [PATCH v2 09/14] gnu: Add python-ukkonen., Nicolas Graves, 2024/05/09
- [bug#69980] [PATCH v2 08/14] gnu: python-cfgv: Update to 3.4.0., Nicolas Graves, 2024/05/09
- [bug#69980] [PATCH v2 02/14] gnu: python-traitlets: Remove pre-commit from native-inputs., Nicolas Graves, 2024/05/09
- [bug#69980] [PATCH v2 10/14] gnu: python-identify: Update to 2.5.35.,
Nicolas Graves <=
- [bug#69980] [PATCH v2 12/14] gnu: pre-commit: Update to 3.6.2., Nicolas Graves, 2024/05/09
- [bug#69980] [PATCH v2 13/14] gnu: python-jupytext: Move to pyproject-build-system., Nicolas Graves, 2024/05/09
- [bug#69980] [PATCH v2 11/14] gnu: python-nodeenv: Update to 1.8.0., Nicolas Graves, 2024/05/09
- [bug#69980] [PATCH v2 14/14] gnu: jupytext: Fix pre-commit native-input removal., Nicolas Graves, 2024/05/09