mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
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:
parent
157b302011
commit
05e7bdf7ec
1 changed files with 29 additions and 30 deletions
|
@ -15370,35 +15370,34 @@ clone, while other processes access the original tree.")
|
||||||
(license license:gpl3+)))
|
(license license:gpl3+)))
|
||||||
|
|
||||||
(define-public python-astroid
|
(define-public python-astroid
|
||||||
(package
|
(let ((revision "1")
|
||||||
(name "python-astroid")
|
(commit "5f67396894c79c4661e357ec8bb03aa134a51109"))
|
||||||
(version "2.4.2")
|
(package
|
||||||
(source
|
(name "python-astroid")
|
||||||
(origin
|
(version (git-version "2.4.2" revision commit))
|
||||||
(method url-fetch)
|
(source
|
||||||
(uri (pypi-uri "astroid" version))
|
(origin
|
||||||
(sha256
|
;; The current 2.4.2 release doesn't support Python 3.9.
|
||||||
(base32 "00xp5gqxidxvgg1bwd91myqzdf2fpb9cjwbdl3p7gwqvlk17hh1g"))
|
(method git-fetch)
|
||||||
(modules '((guix build utils)))
|
(uri (git-reference
|
||||||
(snippet
|
(url "https://github.com/PyCQA/astroid")
|
||||||
'(begin
|
(commit commit)))
|
||||||
;; Check to see if the version pinning has been removed.
|
(file-name (git-file-name name version))
|
||||||
(substitute* "astroid/__pkginfo__.py"
|
(sha256
|
||||||
(("==1\\.4\\.\\*") ">=1.4.0"))
|
(base32 "1ir5716wqgz39jva7x9chhjy41yi3n7fkymb8snh5giwig8kyipk"))))
|
||||||
#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)
|
("python-six" ,python-six)
|
||||||
("python-six" ,python-six)
|
("python-wrapt" ,python-wrapt)))
|
||||||
("python-wrapt" ,python-wrapt)))
|
(native-inputs
|
||||||
(native-inputs
|
`(("python-dateutil" ,python-dateutil)
|
||||||
`(("python-dateutil" ,python-dateutil)
|
("python-pytest" ,python-pytest)
|
||||||
("python-pytest" ,python-pytest)
|
("python-pytest-runner" ,python-pytest-runner)))
|
||||||
("python-pytest-runner" ,python-pytest-runner)))
|
(home-page "https://github.com/PyCQA/astroid")
|
||||||
(home-page "https://github.com/PyCQA/astroid")
|
(synopsis "Common base representation of python source code for pylint and
|
||||||
(synopsis "Common base representation of python source code for pylint and
|
|
||||||
other projects")
|
other projects")
|
||||||
(description "@code{python-astroid} provides a common base representation
|
(description "@code{python-astroid} provides a common base representation
|
||||||
of python source code for projects such as pychecker, pyreverse, pylint, etc.
|
of python source code for projects such as pychecker, pyreverse, pylint, etc.
|
||||||
|
|
||||||
It provides a compatible representation which comes from the _ast module. It
|
It provides a compatible representation which comes from the _ast module. It
|
||||||
|
@ -15407,8 +15406,8 @@ down the AST and building an extended ast. The new node classes have
|
||||||
additional methods and attributes for different usages. They include some
|
additional methods and attributes for different usages. They include some
|
||||||
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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue