summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Graves <ngraves@ngraves.fr>2025-10-04 00:54:04 +0200
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-10-04 08:32:22 +0100
commitac2d9c7ca7cd60a80065bc00512146007e17f14e (patch)
treeef63b89f59e41f9d2087f1b4f2f89f254cb3866e
parent84607539b5af49df776174c965061b2cdd02df0c (diff)
gnu: python-pymd4c: Switch to pyproject.
* gnu/packages/python-xyz.scm (python-pymd4c): [source]: Switch to git-fetch. [build-system]: Switch to pyproject-build-system. [arguments]<#:tests?>: Disable them. [native-inputs]: Add python-setuptools. Remove python-flake8. Change-Id: I1df009b2002694b9b0afe5b0a9e4e6e56a30b066 Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
-rw-r--r--gnu/packages/python-xyz.scm18
1 files changed, 10 insertions, 8 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index fb9e875bf7..35c2cd17fa 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -4208,15 +4208,17 @@ state changes.")
(version "0.4.6.0b1")
(source
(origin
- (method url-fetch)
- (uri (pypi-uri "pymd4c" version))
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/dominickpastore/pymd4c")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
(sha256
- (base32 "07s3arn85ri92im6x3ipljdmrxmpik7irs06i6lm17j1x6j9841d"))))
- (build-system python-build-system)
- (inputs
- (list md4c))
- (native-inputs
- (list python-flake8 python-pkgconfig pkg-config))
+ (base32 "0skmdn2bxfc546djxapdgb0bjvlr3c7a3kkv7j3bpx9zw09m0rcs"))))
+ (build-system pyproject-build-system)
+ (arguments (list #:tests? #f)) ; No tests.
+ (inputs (list md4c))
+ (native-inputs (list pkg-config python-pkgconfig python-setuptools))
(home-page "https://github.com/dominickpastore/pymd4c")
(synopsis "Python bindings for MD4C")
(description