me
/
guix
Archived
1
0
Fork 0

gnu: python-pdbpp: Update to 0.10.3-0.e1c2e34.

* gnu/packages/python-xyz.scm (python-pdbpp): Update to 0.10.3-0.e1c2e34.
[arguments]: Add pretend-version phase.
master
Maxim Cournoyer 2023-04-24 20:15:34 -04:00
parent 381da6260f
commit 941adac603
No known key found for this signature in database
GPG Key ID: 1260E46482E63562
1 changed files with 42 additions and 31 deletions

View File

@ -6801,20 +6801,31 @@ debugger, with which it shares the same interface.")
(license license:bsd-3))) (license license:bsd-3)))
(define-public python-pdbpp (define-public python-pdbpp
;; The latest release lacks support for Python 3.10; use the latest commit
;; of the master branch (see: https://github.com/pdbpp/pdbpp/issues/503).
(let ((commit "e1c2e347cc55a6dd89e058e56a1366ada68884bc")
(revision "0"))
(package (package
(name "python-pdbpp") (name "python-pdbpp")
(version "0.10.3") (version (git-version "0.10.3" revision commit))
(source (source (origin
(origin (method git-fetch)
(method url-fetch) (uri (git-reference
(uri (pypi-uri "pdbpp" version)) (url "https://github.com/pdbpp/pdbpp")
(commit commit)))
(file-name (git-file-name name version))
(sha256 (sha256
(base32 (base32
"1xb9yvi30rb1cdpvfdk2kg79vh3anvkz91r8bwvfp3iqv97kzr6r")))) "1hql1ldwa9czml7zrnv6qdzgpywwav3a282dbvqypf108zvjsdiw"))))
(build-system python-build-system) (build-system python-build-system)
(arguments (arguments
`(#:phases (list
(modify-phases %standard-phases #:phases
#~(modify-phases %standard-phases
(add-before 'build 'pretend-version
(lambda _
(setenv "SETUPTOOLS_SCM_PRETEND_VERSION"
#$(package-version this-package))))
(replace 'check (replace 'check
(lambda* (#:key tests? #:allow-other-keys) (lambda* (#:key tests? #:allow-other-keys)
(when tests? (when tests?
@ -6840,7 +6851,7 @@ includes the following improvements compared to @code{pdb}:
@item smart command parsing @item smart command parsing
@item additional convenience functions in the @code{pdb} module. @item additional convenience functions in the @code{pdb} module.
@end itemize") @end itemize")
(license license:bsd-3))) (license license:bsd-3))))
(define-public python-pdftotext (define-public python-pdftotext
(package (package