[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
393/474: gnu: python-anytree: Update to 2.12.0.
From: |
guix-commits |
Subject: |
393/474: gnu: python-anytree: Update to 2.12.0. |
Date: |
Sat, 30 Nov 2024 18:21:02 -0500 (EST) |
sharlatan pushed a commit to branch python-team
in repository guix.
commit 7d3b17f82a1796e911975129833359db3a095623
Author: Sharlatan Hellseher <sharlatanus@gmail.com>
AuthorDate: Sun Nov 24 22:14:42 2024 +0000
gnu: python-anytree: Update to 2.12.0.
* gnu/packages/python-xyz.scm (python-anytree): Update to 2.12.0.
[source]: Swap to git checkout containing tests.
[build-system]: Swap to pyproject-build-system.
[arguments]<phases>: Add 'pre-check.
[native-inputs]: Remove python-nose; add python-poetry-core and
python-pytest.
Change-Id: I5520d3824ad6c03bda1b213876277e289e802f4c
---
gnu/packages/python-xyz.scm | 35 +++++++++++++++++++++++------------
1 file changed, 23 insertions(+), 12 deletions(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 58b360e447..6f36b0c75e 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -6999,20 +6999,31 @@ alternative representations which do not require this
package.")
(define-public python-anytree
(package
(name "python-anytree")
- (version "2.8.0")
- (source (origin
- (method url-fetch)
- (uri (pypi-uri "anytree" version))
- (sha256
- (base32
- "1aycpc387wqz7h9w2p53qxn43qsh3m6by6ak4kkc66x9aprr63rz"))))
- (build-system python-build-system)
+ (version "2.12.0")
+ (source
+ (origin
+ (method git-fetch) ; no tests data in PyPi package
+ (uri (git-reference
+ (url "https://github.com/c0fec0de/anytree")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0fagd6h6nixvzf3ps8pbfkxvp9xnpq8hpmzaaq1zab4dzqnpsrgj"))))
+ (build-system pyproject-build-system)
+ (arguments
+ (list
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-before 'check 'pre-check
+ (lambda _
+ ;; Tests need to write to that direcroty.
+ (mkdir-p "tests/dotexport/"))))))
+ (native-inputs
+ (list graphviz ;for 'dot'
+ python-poetry-core
+ python-pytest))
(propagated-inputs
(list python-six))
- (native-inputs
- (list ;; For tests.
- graphviz ;for 'dot'
- python-nose))
(home-page "https://github.com/c0fec0de/anytree")
(synopsis "Lightweight tree data library")
(description
- 199/474: gnu: python-cmd2: Move to pyproject-build-system., (continued)
- 199/474: gnu: python-cmd2: Move to pyproject-build-system., guix-commits, 2024/11/30
- 211/474: gnu: python-numpydoc: Move to pyproject-build-sytem., guix-commits, 2024/11/30
- 207/474: gnu: borgmatic: Move to pyproject-build-system., guix-commits, 2024/11/30
- 231/474: gnu: python-daft: Adjust inputs., guix-commits, 2024/11/30
- 212/474: gnu: python-multidict: Move to pyproject-build-system., guix-commits, 2024/11/30
- 230/474: gnu: Remove python-mrkd., guix-commits, 2024/11/30
- 223/474: gnu: Remove python-mistune-next., guix-commits, 2024/11/30
- 213/474: gnu: python-warcio: Move to pyproject-build-system., guix-commits, 2024/11/30
- 379/474: gnu: Remove python-typeguard-4., guix-commits, 2024/11/30
- 388/474: gnu: python-pytest-regressions: Update to 2.5.0., guix-commits, 2024/11/30
- 393/474: gnu: python-anytree: Update to 2.12.0.,
guix-commits <=
- 399/474: gnu: Add python-pytest-asyncio-0.23., guix-commits, 2024/11/30
- 403/474: gnu: python-uvloop: Update to 0.21.0., guix-commits, 2024/11/30
- 414/474: gnu: Add python-taskgroup., guix-commits, 2024/11/30
- 415/474: gnu: hypercorn: Update to 0.17.3., guix-commits, 2024/11/30
- 430/474: gnu: python-pyflakes: Move to pyproejct-build-system., guix-commits, 2024/11/30
- 218/474: gnu: python-cssselect2: Move to pyproject-build-system., guix-commits, 2024/11/30
- 448/474: gnu: python-omnipath: Remove pre-commit from native-inputs., guix-commits, 2024/11/30
- 449/474: gnu: python-seaborn: Remove pre-commit from native-inputs., guix-commits, 2024/11/30
- 454/474: gnu: pre-commit: Update to 3.7.1., guix-commits, 2024/11/30
- 460/474: gnu: python-networkx: Update to 3.4.2., guix-commits, 2024/11/30