From 4983e2277b32efcd2c10dcde3876fcbd3be9550e Mon Sep 17 00:00:00 2001 From: Nicolas Graves Date: Sun, 19 Oct 2025 19:10:09 +0200 Subject: [PATCH] gnu: python-connection-pool: Switch to pyproject. * gnu/packages/python-xyz.scm (python-connection-pool): [source]: Switch to git-fetch. [build-system]: Switch to pyproject-build-system. [arguments]<#:tests?>: Disable them. [native-inputs]: Add python-setuptools. [description]: Improve style. Change-Id: If13e840c63d4ed48341739c3c6bb8666b3167942 Signed-off-by: Sharlatan Hellseher --- gnu/packages/python-xyz.scm | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index b2be63df07575e152d42cf509134ec74e13de59f..5421006e40e2b47e46e96647169a055b20d0c524 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -19746,15 +19746,21 @@ be set via config files and/or environment variables.") (version "0.0.3") (source (origin - (method url-fetch) - (uri (pypi-uri "connection_pool" version)) + (method git-fetch) + (uri (git-reference + (url "https://github.com/zhouyl/ConnectionPool") + (commit version))) + (file-name (git-file-name name version)) (sha256 - (base32 "1p6hfkcl4n3hhhcgjbaxn21i7b1yipag6j7dnilir4k5xxx9whmz")))) - (build-system python-build-system) + (base32 "1c6676vga0p4xxa3f0jpbwgp3n69mxjisnfcwibd9x23iyxf3sr2")))) + (build-system pyproject-build-system) + (arguments (list #:tests? #f)) ; No tests. + (native-inputs (list python-setuptools)) (home-page "https://github.com/zhouyl/ConnectionPool") (synopsis "Thread-safe connection pool") - (description "This package provides a library implementing a thread-safe -connection pool.") + (description + "This package provides a library implementing a thread-safe connection +pool.") (license license:expat))) (define-public python-argparse-dataclass