[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
338/397: gnu: csvkit: Update to 2.0.1.
From: |
guix-commits |
Subject: |
338/397: gnu: csvkit: Update to 2.0.1. |
Date: |
Thu, 16 Jan 2025 04:31:13 -0500 (EST) |
rekado pushed a commit to branch python-team
in repository guix.
commit 6a4f66dab7c8642207dd3ccc3a553bf411651582
Author: Sharlatan Hellseher <sharlatanus@gmail.com>
AuthorDate: Tue Jan 14 09:36:52 2025 +0000
gnu: csvkit: Update to 2.0.1.
* gnu/packages/wireservice.scm (csvkit): Update to 2.0.1. Use
G-expressions, improve package style.
[build-system]: Swap to pyproject-build-system.
[arguments] <test-flags>: Skip one test.
[phases] {install-docs}: Split doc output.
[native-inputs]: Add python-pytest, python-setuptools, and python-wheel.
[inputs]: Remove python-six.
Change-Id: I09d54bdcf1f4aa35f4003aa8dca07621e5caab70
---
gnu/packages/wireservice.scm | 56 ++++++++++++++++++++++++++------------------
1 file changed, 33 insertions(+), 23 deletions(-)
diff --git a/gnu/packages/wireservice.scm b/gnu/packages/wireservice.scm
index 4bc5e712a7..34e84240cf 100644
--- a/gnu/packages/wireservice.scm
+++ b/gnu/packages/wireservice.scm
@@ -3,6 +3,7 @@
;;; Copyright © 2020 Tobias Geerinckx-Rice <me@tobias.gr>
;;; Copyright © 2020 Tanguy Le Carrour <tanguy@bioneland.org>
;;; Copyright © 2022 Guillaume Le Vaillant <glv@posteo.net>
+;;; Copyright © 2025 Sharlatan Hellseher <sharlatanus@gmail.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -239,33 +240,42 @@ xlsx files support to all @code{agate.Table} instances.")
(define-public csvkit
(package
(name "csvkit")
- (version "1.1.1")
- (source (origin
- (method url-fetch)
- (uri (pypi-uri "csvkit" version))
- (sha256
- (base32
- "08wj0hlmbdmklar12cjzqp91vcxzwifsvmgasszas8kbiyvvgpdy"))
- (patches
- (search-patches "csvkit-set-locale-for-tests.patch"))))
- (build-system python-build-system)
+ (version "2.0.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "csvkit" version))
+ (sha256
+ (base32 "1lbd2khkyr75rdc2fblvv8qkl33fv3nx6kj158qzy4spdlk6155a"))
+ (patches
+ (search-patches "csvkit-set-locale-for-tests.patch"))))
+ (outputs (list "out" "doc"))
+ (build-system pyproject-build-system)
+ (arguments
+ (list
+ ;; AssertionError: '9748.346\n' != '9,748.346\n
+ #:test-flags #~(list "-k" "not test_decimal_format")
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'install 'install-docs
+ (lambda _
+ (let* ((man1 (string-append #$output:doc "/share/man/man1")))
+ (with-directory-excursion "docs"
+ (invoke "make" "man")
+ (copy-recursively "_build/man" man1))))))))
(native-inputs
(list (libc-utf8-locales-for-target)
python-psycopg2 ; to test PostgreSQL support
- python-sphinx python-sphinx-rtd-theme))
+ python-pytest
+ python-setuptools
+ python-sphinx
+ python-sphinx-rtd-theme
+ python-wheel))
(inputs
- (list python-agate-dbf python-agate-excel python-agate-sql
- python-six python-text-unidecode))
- (arguments
- `(#:phases
- (modify-phases %standard-phases
- (add-after 'install 'install-docs
- (lambda* (#:key outputs #:allow-other-keys)
- (let* ((out (assoc-ref outputs "out"))
- (man1 (string-append out "/share/man/man1")))
- (with-directory-excursion "docs"
- (invoke "make" "man")
- (copy-recursively "_build/man" man1))))))))
+ (list python-agate-dbf
+ python-agate-excel
+ python-agate-sql
+ python-text-unidecode))
(home-page "https://csvkit.rtfd.org")
(synopsis "Command-line tools for working with CSV")
(description "csvkit is a suite of command-line tools for converting to
- 130/397: gnu: python-pathy: Remove old version of dataclasses., (continued)
- 130/397: gnu: python-pathy: Remove old version of dataclasses., guix-commits, 2025/01/16
- 173/397: gnu: python-asgi-lifespan: Update to 2.1.0., guix-commits, 2025/01/16
- 233/397: gnu: python-swagger-spec-validator: Update to 3.0.4., guix-commits, 2025/01/16
- 234/397: gnu: python-branca: Add missing inputs., guix-commits, 2025/01/16
- 253/397: gnu: python-audioread: Update to 3.0.1., guix-commits, 2025/01/16
- 280/397: gnu: python-mulpyplexer: Add missing inputs., guix-commits, 2025/01/16
- 322/397: gnu: python-pytest-vcr: Fix tests., guix-commits, 2025/01/16
- 299/397: gnu: python-pkgconfig: Update to 1.5.5., guix-commits, 2025/01/16
- 304/397: gnu: python-xmp-toolkit: Fix build., guix-commits, 2025/01/16
- 302/397: gnu: ansible-core: Update to 2.17.7., guix-commits, 2025/01/16
- 338/397: gnu: csvkit: Update to 2.0.1.,
guix-commits <=
- 281/397: gnu: python-itanium-demangler: Add missing inputs., guix-commits, 2025/01/16
- 334/397: gnu: python-agate: Update to 1.12.0., guix-commits, 2025/01/16
- 396/397: gnu: Deprecate fanc., guix-commits, 2025/01/16
- 394/397: gnu: python-flask-misaka: Update to 1.0.1., guix-commits, 2025/01/16
- 378/397: gnu: python-multidict: Update to 6.1.0., guix-commits, 2025/01/16
- 370/397: gnu: python-sunkit-image: Disable tests., guix-commits, 2025/01/16
- 301/397: gnu: python-tensorly: Update to 0.9.0., guix-commits, 2025/01/16
- 331/397: gnu: Remove python-pyodbc-c., guix-commits, 2025/01/16
- 123/397: gnu: python-jose: Fix build., guix-commits, 2025/01/16
- 217/397: gnu: python-metpy: Add missing inputs., guix-commits, 2025/01/16