mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: python-rencode: Update to 1.0.8.
* gnu/packages/python-xyz.scm (python-rencode): Update to 1.0.8. [source]: Switch to git-fetch providing tests. [native-inputs]: Remove pkg-config; add python-pytest and python-poetry-core, and python-setuptools. Change-Id: I5b266ac0c559f000aeca8edb4cc0f0d68ac0936a
This commit is contained in:
parent
94c39f23f1
commit
e9162cd10c
1 changed files with 23 additions and 25 deletions
|
@ -27636,37 +27636,35 @@ case-folding for case-insensitive matches in Unicode.")
|
||||||
(license license:psfl)))
|
(license license:psfl)))
|
||||||
|
|
||||||
(define-public python-rencode
|
(define-public python-rencode
|
||||||
|
;; TODO: Move to (gnu package serialization)
|
||||||
(package
|
(package
|
||||||
(name "python-rencode")
|
(name "python-rencode")
|
||||||
(version "1.0.5")
|
(version "1.0.8")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method git-fetch) ;no tests in PyPI archive
|
||||||
(uri (pypi-uri "rencode" version))
|
(uri (git-reference
|
||||||
(sha256
|
(url "https://github.com/aresch/rencode")
|
||||||
(base32
|
(commit (string-append "v" version))))
|
||||||
"0mzwdq1is7kyyr32i5k4iz6g5xxdvmiyc132jnc60p9m6lnwjrpv"))))
|
(file-name (git-file-name name version))
|
||||||
(build-system python-build-system)
|
(sha256
|
||||||
(arguments
|
(base32 "1dicbm8gdii2bjp85s2p4pnclf25k9x4b4kaj80y8ddhh87glrlk"))))
|
||||||
`(#:phases
|
(build-system pyproject-build-system)
|
||||||
(modify-phases %standard-phases
|
(native-inputs
|
||||||
(add-before 'check 'delete-bogus-test
|
(list python-cython
|
||||||
;; This test requires /home/aresch/Downloads, which is not provided by
|
python-pytest
|
||||||
;; the build environment.
|
python-poetry-core
|
||||||
(lambda _
|
python-setuptools))
|
||||||
(delete-file "rencode/t.py")
|
(home-page "https://github.com/aresch/rencode")
|
||||||
#t)))))
|
(synopsis "Serialization of heterogeneous data structures")
|
||||||
(native-inputs (list pkg-config python-cython))
|
(description
|
||||||
(home-page "https://github.com/aresch/rencode")
|
"The @code{rencode} module is a data structure serialization library,
|
||||||
(synopsis "Serialization of heterogeneous data structures")
|
|
||||||
(description
|
|
||||||
"The @code{rencode} module is a data structure serialization library,
|
|
||||||
similar to @code{bencode} from the BitTorrent project. For complex,
|
similar to @code{bencode} from the BitTorrent project. For complex,
|
||||||
heterogeneous data structures with many small elements, r-encoding stake up
|
heterogeneous data structures with many small elements, r-encoding stake up
|
||||||
significantly less space than b-encodings. This version of rencode is a
|
significantly less space than b-encodings. This version of rencode is a
|
||||||
complete rewrite in Cython to attempt to increase the performance over the
|
complete rewrite in Cython to attempt to increase the performance over the
|
||||||
pure Python module.")
|
pure Python module.")
|
||||||
(license license:bsd-3)))
|
(license license:bsd-3)))
|
||||||
|
|
||||||
(define-public python-pysocks
|
(define-public python-pysocks
|
||||||
(package
|
(package
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue