summaryrefslogtreecommitdiff
path: root/gnu/packages/python-check.scm
diff options
context:
space:
mode:
authorNicolas Graves <ngraves@ngraves.fr>2025-08-25 20:25:51 +0200
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-09-02 21:13:19 +0100
commit580d1f52e580c87b80c4ebd45808b3ff88558199 (patch)
treee3709afd627ae05c65b83bfd5162ba1645ee0d5d /gnu/packages/python-check.scm
parent162d72fe07f8872f5a3f2caa996e24437d08c81d (diff)
gnu: python-pytest-services: Switch to pyproject.
* gnu/packages/python-check.scm (python-pytest-services): [source]: Switch to git-fetch. [build-system]: Switch to pyproject-build-system. [arguments]<#:tests?>: Update comment. [native-inputs]: Add python-setuptools, python-wheel. Change-Id: Ib5932dc71639c9f264f15702a3b318a2f39c74f1 Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu/packages/python-check.scm')
-rw-r--r--gnu/packages/python-check.scm26
1 files changed, 14 insertions, 12 deletions
diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm
index 7d6878fa3e8..c40255c612c 100644
--- a/gnu/packages/python-check.scm
+++ b/gnu/packages/python-check.scm
@@ -2967,18 +2967,20 @@ you to test your code asynchronously.")
(name "python-pytest-services")
(version "1.3.1")
(source
- (origin
- (method url-fetch)
- (uri (pypi-uri "pytest-services" version))
- (sha256
- (base32
- "0b2zfv04w6m3gp2v44ifdhx22vcji069qnn95ry3zcyxib7cjnq3"))))
- (build-system python-build-system)
- (arguments '(#:tests? #f)) ; Tests not included in release tarball.
- (propagated-inputs
- (list python-psutil python-requests))
- (native-inputs
- (list python-pytest))
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/pytest-dev/pytest-services")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "123s2vd3h5knfs6lz7b83z0wl2miqsbya3w71cm8xk6hgyb10nmv"))))
+ (build-system pyproject-build-system)
+ (arguments
+ ;; XXX: Tests require running memcached, mysql and X servers.
+ (list #:tests? #f))
+ (propagated-inputs (list python-psutil python-requests))
+ (native-inputs (list python-pytest python-setuptools python-wheel))
(home-page "https://github.com/pytest-dev/pytest-services")
(synopsis "Services plugin for pytest testing framework")
(description