From 8e8839eb998b60bca63455016fa38d636b0b6bf2 Mon Sep 17 00:00:00 2001 From: Nicolas Graves Date: Sun, 12 Oct 2025 01:14:41 +0200 Subject: [PATCH] gnu: python-robotframework-seleniumscreenshots: Switch to pyproject. * gnu/packages/python-xyz.scm (python-robotframework-seleniumscreenshots): [source]: Switch to git-fetch. [build-system]: Switch to pyproject-build-system. [native-inputs]: Add python-setuptools. [home-page, synopsis, description]: Run guix style. Change-Id: I8a3701a215776fd408c828344df3b13970da7a53 Signed-off-by: Sharlatan Hellseher --- gnu/packages/python-xyz.scm | 32 ++++++++++++++++++++------------ 1 file changed, 20 insertions(+), 12 deletions(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index b7442f225d717e811196d0170470c217091d99d6..28a55bb13bd4285eeeece05013e9ec06d5d468b6 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -9655,23 +9655,31 @@ that utilizes the Selenium tool internally.") (version "0.9.5") (source (origin - (method url-fetch) - (uri (pypi-uri "robotframework-seleniumscreenshots" version)) + (method git-fetch) + (uri (git-reference + (url + "https://github.com/MarketSquare/robotframework-seleniumscreenshots") + (commit version))) + (file-name (git-file-name name version)) (sha256 - (base32 "05qv323hvjmy62h33ryrjaa9k1hyvp8hq5qnj8j1x3ap2ci3q3s0")))) - (build-system python-build-system) + (base32 "1gal4ifibk2bj1qgppcs6vmjgjvz47nq4d4gqvyd70vpyf9iw342")))) + (build-system pyproject-build-system) (arguments - ;; XXX: The tests require a relatively complicated setup configured in - ;; their CI with Nix (!). + ;; XXX: The tests require a relatively complicated setup configured in + ;; their CI with Nix (!). `(#:tests? #f)) + (native-inputs (list python-setuptools)) (propagated-inputs (list python-robotframework python-robotframework-seleniumlibrary)) - (home-page "https://github.com/MarketSquare/robotframework-seleniumscreenshots") - (synopsis "Robot Framework library for annotating and cropping screenshots") - (description "The SeleniumScreenshots library for Robot Framework provides -keywords for annotating and cropping screenshots taken with SeleniumLibrary. -It is useful for scripting automatically updated screenshots for documentation -or for visual regression testing purposes.") + (home-page + "https://github.com/MarketSquare/robotframework-seleniumscreenshots") + (synopsis + "Robot Framework library for annotating and cropping screenshots") + (description + "The SeleniumScreenshots library for Robot Framework provides keywords +for annotating and cropping screenshots taken with SeleniumLibrary. It is +useful for scripting automatically updated screenshots for documentation or +for visual regression testing purposes.") (license license:bsd-3))) (define-public python-rstr