summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Graves <ngraves@ngraves.fr>2025-09-22 00:54:15 +0200
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-09-25 09:36:55 +0100
commite970b09a7530cde757dfd71586486fc2d09a2fa2 (patch)
tree1efed44db94a021255376fc7cd0b12b8033e432d
parentf69c32a118c528f6c21ea779717d3e5f190d9c44 (diff)
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>
-rw-r--r--gnu/packages/python-web.scm39
1 files changed, 16 insertions, 23 deletions
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 7f4f175c8e..8d9a073d39 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -11061,33 +11061,26 @@ characters in a smarter, more visually pleasing style.")
(define-public python-mf2py
(package
(name "python-mf2py")
- (version "1.1.2")
- (source (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/microformats/mf2py")
- (commit version)))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "00pzfc5sl6ywlcr6f2k37n3f2bb7w488p2k95ixzjwx6w3yh747n"))))
- (build-system python-build-system)
- (arguments
- (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))
+ (version "2.0.1")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/microformats/mf2py")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0ajnf0zrh1l48fvix9fbs1qvgbqhiljqnrm51rx44p7dbarpw4ls"))))
+ (build-system pyproject-build-system)
+ (native-inputs (list python-mock python-poetry-core python-pytest))
(propagated-inputs
(list python-beautifulsoup4 python-html5lib python-requests))
(home-page "https://github.com/microformats/mf2py")
(synopsis "Python Microformats2 parser")
- (description "This Python library provides a Microformats2 parser
-implementing the full Microformats2 (mf2) specification, including backward
-compatibility with Microformats1 (mf1).")
+ (description
+ "This Python library provides a Microformats2 parser implementing the
+full Microformats2 (mf2) specification, including backward compatibility with
+Microformats1 (mf1).")
(license license:expat)))
(define-public python-extruct