mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: python-mf2py: Update to 2.0.1.
* gnu/packages/python-web.scm (python-mf2py): Update to 2.0.1. [build-system]: Switch to pyproject-build-system. [arguments]: Remove them. [native-inputs]: Add python-poetry-core. [description]: Improve style. Change-Id: I43b67d96178314a2efe442ff6fd6ab34865daa5a Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
This commit is contained in:
parent
f69c32a118
commit
e970b09a75
1 changed files with 16 additions and 23 deletions
|
@ -11061,33 +11061,26 @@ characters in a smarter, more visually pleasing style.")
|
||||||
(define-public python-mf2py
|
(define-public python-mf2py
|
||||||
(package
|
(package
|
||||||
(name "python-mf2py")
|
(name "python-mf2py")
|
||||||
(version "1.1.2")
|
(version "2.0.1")
|
||||||
(source (origin
|
(source
|
||||||
(method git-fetch)
|
(origin
|
||||||
(uri (git-reference
|
(method git-fetch)
|
||||||
(url "https://github.com/microformats/mf2py")
|
(uri (git-reference
|
||||||
(commit version)))
|
(url "https://github.com/microformats/mf2py")
|
||||||
(file-name (git-file-name name version))
|
(commit (string-append "v" version))))
|
||||||
(sha256
|
(file-name (git-file-name name version))
|
||||||
(base32
|
(sha256
|
||||||
"00pzfc5sl6ywlcr6f2k37n3f2bb7w488p2k95ixzjwx6w3yh747n"))))
|
(base32 "0ajnf0zrh1l48fvix9fbs1qvgbqhiljqnrm51rx44p7dbarpw4ls"))))
|
||||||
(build-system python-build-system)
|
(build-system pyproject-build-system)
|
||||||
(arguments
|
(native-inputs (list python-mock python-poetry-core python-pytest))
|
||||||
(list
|
|
||||||
#:phases
|
|
||||||
#~(modify-phases %standard-phases
|
|
||||||
(replace 'check
|
|
||||||
(lambda* (#:key tests? #:allow-other-keys)
|
|
||||||
(when tests?
|
|
||||||
(invoke "pytest" "-vv" "test")))))))
|
|
||||||
(native-inputs (list python-mock python-pytest))
|
|
||||||
(propagated-inputs
|
(propagated-inputs
|
||||||
(list python-beautifulsoup4 python-html5lib python-requests))
|
(list python-beautifulsoup4 python-html5lib python-requests))
|
||||||
(home-page "https://github.com/microformats/mf2py")
|
(home-page "https://github.com/microformats/mf2py")
|
||||||
(synopsis "Python Microformats2 parser")
|
(synopsis "Python Microformats2 parser")
|
||||||
(description "This Python library provides a Microformats2 parser
|
(description
|
||||||
implementing the full Microformats2 (mf2) specification, including backward
|
"This Python library provides a Microformats2 parser implementing the
|
||||||
compatibility with Microformats1 (mf1).")
|
full Microformats2 (mf2) specification, including backward compatibility with
|
||||||
|
Microformats1 (mf1).")
|
||||||
(license license:expat)))
|
(license license:expat)))
|
||||||
|
|
||||||
(define-public python-extruct
|
(define-public python-extruct
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue