me
/
guix
Archived
1
0
Fork 0

gnu: python-parse-type: Update to 0.6.0, fixing build.

* gnu/packages/python-xyz.scm (python-parse-type): Update to 0.6.0.
[arguments]: New field.
[native-inputs]: Remove python-pytest-runner and python-setuptools.
master
Maxim Cournoyer 2022-04-19 12:52:55 -04:00
parent 046e5f0d04
commit 1f88242992
No known key found for this signature in database
GPG Key ID: 1260E46482E63562
1 changed files with 15 additions and 12 deletions

View File

@ -2968,21 +2968,24 @@ backported for previous versions of Python from 2.4 to 3.3.")
(define-public python-parse-type
(package
(name "python-parse-type")
(version "0.5.2")
(version "0.6.0")
(source
(origin
(method url-fetch)
(uri (pypi-uri "parse_type" version))
(sha256
(base32
"02wclgiqky06y36b3q07b7ngpks5j0gmgl6n71ac2j2hscc0nsbz"))))
(method url-fetch)
(uri (pypi-uri "parse_type" version))
(sha256
(base32
"07smqnzc9km7sbvxfyx4gdm9njrx58x8grdw6gs4gva81rk3rd10"))))
(build-system python-build-system)
(propagated-inputs
(list python-six python-parse))
(native-inputs
;; Use setuptools < 58 to work around
;; https://github.com/jenisys/parse_type/issues/17
(list python-pytest python-pytest-runner python-setuptools))
(arguments
'(#:phases
(modify-phases %standard-phases
(replace 'check
(lambda* (#:key tests? #:allow-other-keys)
(when tests?
(invoke "pytest" "-vv" "-c" "/dev/null")))))))
(propagated-inputs (list python-six python-parse))
(native-inputs (list python-pytest))
(home-page "https://github.com/jenisys/parse_type")
(synopsis "Extended parse module")
(description