guix_mirror_bot pushed a commit to branch ungraft
in repository guix.
commit 600070c1843722b7d44d03302c8e67512a8c21c8
Author: Hugo Buddelmeijer <[email protected]>
AuthorDate: Tue Dec 16 17:57:12 2025 +0100
gnu: python-pychm: Switch to pyproject-build-system.
* gnu/packages/ebook.scm (python-pychm): Switch to pyproject-build-system.
[source]: Switch to git-fetch for tests.
[build-system]: Switch to pyproject-build-system.
[native-inputs]: Add python-pytest and python-setuptools.
Change-Id: I35bdfc15cdff6c86accad0722653071300c40563
Signed-off-by: Andreas Enge <[email protected]>
---
gnu/packages/ebook.scm | 15 ++++++++++-----
1 file changed, 10 insertions(+), 5 deletions(-)
diff --git a/gnu/packages/ebook.scm b/gnu/packages/ebook.scm
index e0c122b573..2218adb49e 100644
--- a/gnu/packages/ebook.scm
+++ b/gnu/packages/ebook.scm
@@ -120,18 +120,23 @@
(version "0.8.6")
(source
(origin
- (method url-fetch)
- (uri (pypi-uri "pychm" version))
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/dottedmag/pychm")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
(sha256
(base32
- "0wpn9ijlsmrpyiwg3drmgz4dms1i1i347adgqw37bkrh3vn6yq16"))))
- (build-system python-build-system)
+ "0zf2vnrby2m31nvi6p3isspbrjmzjw1vwfx3xl7bkvjs7sli1wbw"))))
+ (build-system pyproject-build-system)
+ (native-inputs
+ (list python-pytest python-setuptools))
(inputs
(list chmlib))
(home-page "https://github.com/dottedmag/pychm")
(synopsis "Handle CHM files")
(description "This package provides a Python module for interacting
-with Microsoft Compiled HTML (CHM) files")
+with Microsoft Compiled HTML (CHM) files.")
(license license:gpl2+)))
(define-public calibre