mirror of
https://codeberg.org/guix/guix.git
synced 2026-01-27 19:35:10 -06:00
gnu: python-astor: Update to 0.8.1-0.df09001.
* gnu/packages/python-xyz.scm (python-astor): Update to 0.8.1-0.df09001. [source]: Switch to git-fetch. [build-system]: Switch to pyproject-build-system. [arguemnts]<#:test-flags>: Ignore failing tests. [native-inputs]: Add python-pytest, python-setuptools. [description]: Improve style. Change-Id: If59cb53040d1cf402a652c14d0c45d613b92eb85 Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
This commit is contained in:
parent
b9420a2e95
commit
14dcd29c10
1 changed files with 21 additions and 10 deletions
|
|
@ -28422,21 +28422,32 @@ of Python libraries for building Python applications.")
|
|||
(define-public python-astor
|
||||
(package
|
||||
(name "python-astor")
|
||||
(version "0.8.1")
|
||||
(properties '((commit . "df09001112f079db54e7c5358fa143e1e63e74c4")
|
||||
(revision . "0")))
|
||||
(version (git-version "0.8.1"
|
||||
(assoc-ref properties 'revision)
|
||||
(assoc-ref properties 'commit)))
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (pypi-uri "astor" version))
|
||||
(method git-fetch)
|
||||
(uri (git-reference
|
||||
(url "https://github.com/berkerpeksag/astor")
|
||||
(commit (assoc-ref properties 'commit))))
|
||||
(file-name (git-file-name name version))
|
||||
(sha256
|
||||
(base32
|
||||
"0ppscdzzvxpznclkmhhj53iz314x3pfv4yc7c6gwxqgljgdgyvka"))))
|
||||
(build-system python-build-system)
|
||||
;; FIXME: There are two errors and two test failures.
|
||||
(arguments `(#:tests? #f))
|
||||
(base32 "0ymj0n23b6b4qc6x8ycysh2dipdry5a3gakcaf8nravzp5ma2psl"))))
|
||||
(build-system pyproject-build-system)
|
||||
(arguments
|
||||
(list
|
||||
;; FIXME: Unclear why this test fails.
|
||||
#:test-flags #~(list "--deselect=\
|
||||
tests/test_rtrip.py::RtripTestCase::test_convert_stdlib")))
|
||||
(native-inputs (list python-pytest python-setuptools))
|
||||
(home-page "https://github.com/berkerpeksag/astor")
|
||||
(synopsis "Read and write Python ASTs")
|
||||
(description "Astor is designed to allow easy manipulation of Python
|
||||
source via the Abstract Syntax Tree.")
|
||||
(description
|
||||
"Astor is designed to allow easy manipulation of Python source via the
|
||||
Abstract Syntax Tree.")
|
||||
(license license:bsd-3)))
|
||||
|
||||
(define-public python-astunparse
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue