summaryrefslogtreecommitdiff
path: root/gnu/packages/python-xyz.scm
diff options
context:
space:
mode:
authorNicolas Graves <ngraves@ngraves.fr>2025-10-19 19:10:09 +0200
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-10-19 21:21:21 +0100
commit4983e2277b32efcd2c10dcde3876fcbd3be9550e (patch)
tree16e8947a208f57ecc65969ff9240e4cbbd75c915 /gnu/packages/python-xyz.scm
parent5dec4cf322f7e62a51fb41b239bffb31982fb119 (diff)
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 <sharlatanus@gmail.com>
Diffstat (limited to 'gnu/packages/python-xyz.scm')
-rw-r--r--gnu/packages/python-xyz.scm18
1 files changed, 12 insertions, 6 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index b2be63df07..5421006e40 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