From cf67c48303e66c1dcba57c98a10d8c06a4aca0f7 Mon Sep 17 00:00:00 2001 From: Nicolas Graves Date: Wed, 24 Sep 2025 21:46:01 +0200 Subject: [PATCH] gnu: python-shopifyapi: Switch to pyproject. * gnu/packages/python-web.scm (python-shopifyapi): [source]: Switch to git-fetch. [build-system]: Switch to pyproject-build-system. [native-inputs]: Add python-setuptools-next. [description]: Improve style. Change-Id: If574f434dc796c26f07f93f60157bea5a2ac9aaf Signed-off-by: Sharlatan Hellseher --- gnu/packages/python-web.scm | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 4bde4500ae6..525c7781af0 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -11702,19 +11702,23 @@ infer complex relations and structures.") (package (name "python-shopifyapi") (version "12.0.0") - (source (origin - (method url-fetch) - (uri (pypi-uri "ShopifyAPI" version)) - (sha256 - (base32 - "03np9mkycqbw5l5vk0srmq353q3vmbycbbarzv0cg3z703p81gnb")))) - (build-system python-build-system) - (native-inputs (list python-mock)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/Shopify/shopify_python_api") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0qhs52yxwyasdigdsajsnqqb3jg78a3fm7cmx8dfq267l64xk465")))) + (build-system pyproject-build-system) + (native-inputs (list python-mock python-setuptools)) (propagated-inputs (list python-pyactiveresource python-pyjwt python-pyyaml python-six)) (home-page "https://github.com/Shopify/shopify_python_api") (synopsis "Shopify API for Python") - (description "This package provides the Shopify API for Python. + (description + "This package provides the Shopify API for Python. The ShopifyAPI library allows Python developers to programmatically access the admin section of stores using an ActiveResource-like interface similar the