diff options
| author | Hugo Buddelmeijer <hugo@buddelmeijer.nl> | 2025-12-16 17:57:12 +0100 |
|---|---|---|
| committer | Andreas Enge <andreas@enge.fr> | 2025-12-17 11:20:21 +0100 |
| commit | 89710d99faec24448412a7074e46f2c73de58bc2 (patch) | |
| tree | 7c874675dbd5893813f039fc082b39e38d2bba99 | |
| parent | 812d9b4717942c973a94948b8f662c011cecd898 (diff) | |
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
Modified-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Signed-off-by: Andreas Enge <andreas@enge.fr>
| -rw-r--r-- | gnu/packages/ebook.scm | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/gnu/packages/ebook.scm b/gnu/packages/ebook.scm index e0c122b573..4b64c22099 100644 --- a/gnu/packages/ebook.scm +++ b/gnu/packages/ebook.scm @@ -45,6 +45,7 @@ #:use-module (gnu packages) #:use-module (gnu packages autotools) #:use-module (gnu packages bash) + #:use-module (gnu packages check) #:use-module (gnu packages compression) #:use-module (gnu packages curl) #:use-module (gnu packages cmake) @@ -120,18 +121,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 |
