summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2026-05-04 20:53:40 +0100
committerSharlatan Hellseher <sharlatanus@gmail.com>2026-05-18 14:36:49 +0100
commitcefaa96e8da4f0d7a487d46a60a431c25d0c0c19 (patch)
tree267d9a9bfb22cc2179f41be8fe5fb4350f0cb756 /gnu
parent3fcd37dcb3e624dea39b73016b1bda74387cf3f6 (diff)
gnu: pdf-tocgen: Remove unused phases and native-inputs.
* gnu/packages/pdf.scm (pdf-tocgen): [phases]{patch-tests}: Remove phase. [native-inputs]: Remove poetry, python-mamba, and python-pylint. Relates-to: guix/guix#8361 Change-Id: I54ffb9668e6e1c3056b91df419ebe70a219cc463
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/pdf.scm29
1 files changed, 8 insertions, 21 deletions
diff --git a/gnu/packages/pdf.scm b/gnu/packages/pdf.scm
index c67398ed0e..89e498eb64 100644
--- a/gnu/packages/pdf.scm
+++ b/gnu/packages/pdf.scm
@@ -1189,27 +1189,14 @@ Electronic Publication} and @acronym{FB2, Fiction Book 2} (e-books) format.")
(list
;; A required file is missing, seemingly causing the test suite to fail,
;; see https://github.com/Krasjet/pdf.tocgen/issues/41
- #:tests? #f
- #:phases #~(modify-phases %standard-phases
- (add-after 'unpack 'patch-tests
- ;; The test suite wants to run all commands with poetry,
- ;; this is superfluous and causes errors, so we disable that.
- (lambda _
- (substitute* "Makefile"
- (("@poetry run ") ""))))
- (replace 'check
- (lambda* (#:key tests? #:allow-other-keys)
- (when tests?
- (invoke "make" "test")))))))
- (native-inputs (list poetry
- python-poetry-core
- python-mamba
- python-pylint))
- (propagated-inputs (list
- python-chardet
- python-jedi
- python-pymupdf
- python-toml))
+ #:tests? #f))
+ (native-inputs
+ (list python-poetry-core))
+ (propagated-inputs
+ (list python-chardet
+ python-jedi
+ python-pymupdf
+ python-toml))
(home-page "https://krasjet.com/voice/pdf.tocgen/")
(synopsis "Automatically generate table of contents for pdf files")
(description "pdf.tocgen is a set of command-line tools for automatically