gnu: python-astroid: Update to 2.4.2-1.5f67396.

* gnu/packages/python-xyz.scm (python-astroid): Update to 2.4.2-1.5f67396.
This commit is contained in:
Maxim Cournoyer 2021-02-03 17:45:58 -05:00
parent 157b302011
commit 05e7bdf7ec
No known key found for this signature in database
GPG key ID: 1260E46482E63562

View file

@ -15370,22 +15370,21 @@ (define-public python2-larch
(license license:gpl3+))) (license license:gpl3+)))
(define-public python-astroid (define-public python-astroid
(let ((revision "1")
(commit "5f67396894c79c4661e357ec8bb03aa134a51109"))
(package (package
(name "python-astroid") (name "python-astroid")
(version "2.4.2") (version (git-version "2.4.2" revision commit))
(source (source
(origin (origin
(method url-fetch) ;; The current 2.4.2 release doesn't support Python 3.9.
(uri (pypi-uri "astroid" version)) (method git-fetch)
(uri (git-reference
(url "https://github.com/PyCQA/astroid")
(commit commit)))
(file-name (git-file-name name version))
(sha256 (sha256
(base32 "00xp5gqxidxvgg1bwd91myqzdf2fpb9cjwbdl3p7gwqvlk17hh1g")) (base32 "1ir5716wqgz39jva7x9chhjy41yi3n7fkymb8snh5giwig8kyipk"))))
(modules '((guix build utils)))
(snippet
'(begin
;; Check to see if the version pinning has been removed.
(substitute* "astroid/__pkginfo__.py"
(("==1\\.4\\.\\*") ">=1.4.0"))
#t))))
(build-system python-build-system) (build-system python-build-system)
(propagated-inputs (propagated-inputs
`(("python-lazy-object-proxy" ,python-lazy-object-proxy) `(("python-lazy-object-proxy" ,python-lazy-object-proxy)
@ -15408,7 +15407,7 @@ (define-public python-astroid
support for static inference and local name scopes. Furthermore, astroid support for static inference and local name scopes. Furthermore, astroid
builds partial trees by inspecting living objects.") builds partial trees by inspecting living objects.")
(license license:lgpl2.1+) (license license:lgpl2.1+)
(properties `((python2-variant . ,(delay python2-astroid)))))) (properties `((python2-variant . ,(delay python2-astroid)))))))
(define-public python2-astroid (define-public python2-astroid
(let ((base (package-with-python2 (let ((base (package-with-python2