me
/
guix
Archived
1
0
Fork 0

gnu: python-pdfminer-six: Update to 20231228.

* gnu/packages/python-xyz.scm (python-pdfminer-six): Update to 20231228.
[build-system]: Use pyproject-build-system.
[arguments]: Convert to gexp and remove custom 'check phase.
[propagated-inputs]: Remove python-chardet and python-sortedcontainers.
Add python-charset-normalizer.
[native-inputs]: Remove python-nose and python-tox. Add python-pytest.

Change-Id: I9913385a681b32afde930e32e7379db91357177b
Signed-off-by: Andreas Enge <andreas@enge.fr>
master
Felix Gruber 2024-06-09 09:35:07 +00:00 committed by Andreas Enge
parent b141f45642
commit c86a07bacc
No known key found for this signature in database
GPG Key ID: F7D5C9BF765C61E3
1 changed files with 11 additions and 15 deletions

View File

@ -20017,7 +20017,7 @@ encoding algorithms to do fuzzy string matching.")
(define-public python-pdfminer-six
(package
(name "python-pdfminer-six")
(version "20201018")
(version "20231228")
;; There are no tests in the PyPI tarball.
(source
(origin
@ -20027,23 +20027,19 @@ encoding algorithms to do fuzzy string matching.")
(commit version)))
(file-name (git-file-name name version))
(sha256
(base32 "1a2fxxnnjqbx344znpvx7cnv1881dk6585ibw01inhfq3w6yj2lr"))))
(build-system python-build-system)
(base32 "1anyr0gm7amwls8qifflql1viz5rq6q95lfwcg43v3180h4w8wrd"))))
(build-system pyproject-build-system)
(arguments
`(#:phases
(modify-phases %standard-phases
;; Tests write to the source tree.
(add-after 'unpack 'make-git-checkout-writable
(lambda _
(for-each make-file-writable (find-files "."))
#t))
(replace 'check
(lambda _
(invoke "make" "test"))))))
(list #:phases
#~(modify-phases %standard-phases
;; Tests write to the source tree.
(add-after 'unpack 'make-git-checkout-writable
(lambda _
(for-each make-file-writable (find-files ".")))))))
(propagated-inputs
(list python-chardet python-cryptography python-sortedcontainers))
(list python-charset-normalizer python-cryptography))
(native-inputs
(list python-nose python-tox))
(list python-pytest))
(home-page "https://github.com/pdfminer/pdfminer.six")
(synopsis "PDF parser and analyzer")
(description "@code{pdfminer.six} is a community maintained fork of