From 0f323cb9c35fbd0af940ea47aeffa34b2c078c6b Mon Sep 17 00:00:00 2001 From: Hartmut Goebel Date: Tue, 30 Sep 2025 23:48:15 +0200 Subject: [PATCH] gnu: python-pyactiveresource: Switch to pyproject and fix build. * gnu/packages/python-web.scm (python-pyactiveresource) [source]: Switch to github tag. [build-system]: Switch to pyproject-build-system. [native-inputs]: Add python-pytest, python-setuptools and python-wheel. Change-Id: I2a11bfead8e10f8a32720d3d48373449a5c92b9a --- gnu/packages/python-web.scm | 24 ++++++++++++++---------- 1 file changed, 14 insertions(+), 10 deletions(-) diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index ceb876ef38..70bb55fdbf 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -12216,19 +12216,23 @@ your FastAPI app, manage your FastAPI project, and more.") (package (name "python-pyactiveresource") (version "2.2.2") - (source (origin - (method url-fetch) - (uri (pypi-uri "pyactiveresource" version)) - (sha256 - (base32 - "1n7xvzh1j8fxal0gx9bgg1ayrp3q9mb1a2vb12d6s86wa93880rg")))) - (build-system python-build-system) - (native-inputs (list python-dateutil python-pyyaml)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/Shopify/pyactiveresource") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "03pw6fwqjn09fbd6xmng0arlz75pp6ykw25c8d1snp4bxlzkrwqf")))) + (build-system pyproject-build-system) + (native-inputs (list python-dateutil python-pytest python-pyyaml + python-setuptools)) (propagated-inputs (list python-six)) (home-page "https://github.com/Shopify/pyactiveresource/") (synopsis "ActiveResource for Python") - (description "This package provides a Python port of the ActiveResource -project. + (description + "This package provides a Python port of the ActiveResource project. Active Resource attempts to provide a coherent wrapper object-relational mapping for REST web services. It follows the same philosophy as Active