gnu: python-rencode: Update to 1.0.5.

* gnu/packages/python.scm (python-rencode): Update to 1.0.5.
[arguments]: Add a 'delete-bogus-test' phase.
This commit is contained in:
Tobias Geerinckx-Rice 2018-09-21 12:58:02 +02:00
parent e36058634d
commit a1d6610e84
No known key found for this signature in database
GPG Key ID: 0DB0FF884F556D79
1 changed files with 11 additions and 2 deletions

View File

@ -12456,15 +12456,24 @@ library.")
(define-public python-rencode (define-public python-rencode
(package (package
(name "python-rencode") (name "python-rencode")
(version "1.0.3") (version "1.0.5")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
(uri (pypi-uri "rencode" version)) (uri (pypi-uri "rencode" version))
(sha256 (sha256
(base32 (base32
"08if5yax1xn5yfp8p3765ccjmfcv9di7i4m5jckgnwvdsgznwkbj")))) "0mzwdq1is7kyyr32i5k4iz6g5xxdvmiyc132jnc60p9m6lnwjrpv"))))
(build-system python-build-system) (build-system python-build-system)
(arguments
`(#:phases
(modify-phases %standard-phases
(add-before 'check 'delete-bogus-test
;; This test requires /home/aresch/Downloads, which is not provided by
;; the build environment.
(lambda _
(delete-file "rencode/t.py")
#t)))))
(native-inputs `(("pkg-config" ,pkg-config) (native-inputs `(("pkg-config" ,pkg-config)
("python-cython" ,python-cython))) ("python-cython" ,python-cython)))
(home-page "https://github.com/aresch/rencode") (home-page "https://github.com/aresch/rencode")