From d3d09be3cab1a72193ac78b23a1c75b8ae089a79 Mon Sep 17 00:00:00 2001 From: Nicolas Graves Date: Fri, 21 Nov 2025 18:36:58 +0100 Subject: [PATCH] gnu: python-pywatchman: Update to 3.0.0. * gnu/packages/python-xyz.scm (python-pywatchman): Update to 3.0.0. [build-system]: Switch to pyproject-build-system. [arguments]: Enable tests. [native-inputs]: Add python-setuptools. [description]: Improve style. Change-Id: I2bdaed5a9e1ff1414a3a37b1a3e7f4f5662aeff1 Signed-off-by: Sharlatan Hellseher --- gnu/packages/python-xyz.scm | 28 +++++++++++++++------------- 1 file changed, 15 insertions(+), 13 deletions(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 72ad683f1d7d2d1d631c378cc8b3a79c97f715d5..15b2e9846a64ad99163329f7bd54680e7d04027b 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -31611,22 +31611,24 @@ asyncio applications.") (define-public python-pywatchman (package (name "python-pywatchman") - (version "1.4.1") + (version "3.0.0") (source - (origin - (method url-fetch) - (uri (pypi-uri "pywatchman" version)) - (sha256 - (base32 - "1yf2gm20wc3djpb5larxii3l55xxby0il2ns3q0v1byyfnr7w16h")))) - (build-system python-build-system) + (origin + (method url-fetch) + (uri (pypi-uri "pywatchman" version)) + (sha256 + (base32 "07lix9z2ib7g4h648wsbp930x5i03akis12mih8p4n0s74bjmlzg")))) + (build-system pyproject-build-system) (arguments - `(#:tests? #f)) ;there are none - (home-page - "https://facebook.github.io/watchman/") + (list + #:test-backend #~'custom + #:test-flags #~(list "tests/tests.py"))) + (native-inputs (list python-setuptools)) + (home-page "https://facebook.github.io/watchman/") (synopsis "Watchman client for python") - (description "@code{python-pywatchman} is a library to connect and -query Watchman to discover file changes.") + (description + "@code{python-pywatchman} is a library to connect and query Watchman to +discover file changes.") (license license:bsd-3))) (define-public python-roundrobin