summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Graves <ngraves@ngraves.fr>2025-10-12 01:14:41 +0200
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-10-30 16:23:53 +0000
commit8e8839eb998b60bca63455016fa38d636b0b6bf2 (patch)
tree9ff39dc94735cad4a16d7e4451ad3ad14a941875
parent10e6072561531592e0e5ab2994085cf19e159061 (diff)
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 <sharlatanus@gmail.com>
-rw-r--r--gnu/packages/python-xyz.scm32
1 files changed, 20 insertions, 12 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index b7442f225d7..28a55bb13bd 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