gnu: python-treelib: Remove python-six properly.

The package still used python-six.  Luckily a PR was ready for its
removal.

* gnu/packages/python-xyz.scm (python-treelib)[source]: Add patch.
* gnu/packages/patches/python-treelib-remove-python2-compat.patch: Add file.
* gnu/local.mk: Record patch.

Change-Id: I91a37770391cc72f158ade5b9619e80ab9a36bc7
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
This commit is contained in:
Nicolas Graves 2025-09-22 01:30:43 +02:00 committed by Sharlatan Hellseher
parent 9156f680aa
commit 7c156003e8
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5
3 changed files with 134 additions and 2 deletions

View file

@ -14636,13 +14636,15 @@ without using the configuration machinery.")
(version "1.8.0")
(source
(origin
(method git-fetch) ; no tests in PyPI
(method git-fetch)
(uri (git-reference
(url "https://github.com/caesar0301/treelib")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "0jd3rdaq8v7ykb626cm1gxa03higqnn2pmnv46fc0lc55xbrkxlf"))))
(base32 "0jd3rdaq8v7ykb626cm1gxa03higqnn2pmnv46fc0lc55xbrkxlf"))
(patches
(search-patches "python-treelib-remove-python2-compat.patch"))))
(build-system pyproject-build-system)
(native-inputs (list python-poetry-core python-pytest))
(home-page "https://github.com/caesar0301/treelib")