GNU bug report logs -
#70483
[PATCH 1/1] gnu: Add python-robotframework-requests.
Previous Next
Reported by: Markku Korkeala <markku.korkeala <at> iki.fi>
Date: Sat, 20 Apr 2024 14:48:01 UTC
Severity: normal
Tags: patch
Done: Sharlatan Hellseher <sharlatanus <at> gmail.com>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 70483 in the body.
You can then email your comments to 70483 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
lars <at> 6xq.net, marius <at> gnu.org, me <at> bonfacemunyoki.com, sharlatanus <at> gmail.com, tanguy <at> bioneland.org, jgart <at> dismail.de, guix-patches <at> gnu.org
:
bug#70483
; Package
guix-patches
.
(Sat, 20 Apr 2024 14:48:01 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Markku Korkeala <markku.korkeala <at> iki.fi>
:
New bug report received and forwarded. Copy sent to
lars <at> 6xq.net, marius <at> gnu.org, me <at> bonfacemunyoki.com, sharlatanus <at> gmail.com, tanguy <at> bioneland.org, jgart <at> dismail.de, guix-patches <at> gnu.org
.
(Sat, 20 Apr 2024 14:48:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/python-xyz.scm (python-robotframework-requests): New variable.
Change-Id: I01d814d1a9e20d26e9bfa4a0a77ba91577da2bd8
---
gnu/packages/python-xyz.scm | 38 +++++++++++++++++++++++++++++++++++++
1 file changed, 38 insertions(+)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index bac90b1e07..ff85b3f2bf 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -152,6 +152,7 @@
;;; Copyright © 2024 Adriel Dumas--Jondeau <leirda <at> disroot.org>
;;; Copyright © 2024 Navid Afkhami <navid.afkhami <at> mdc-berlin.de>
;;; Copyright © 2024 TakeV <takev <at> disroot.org>
+;;; Copyright © 2024 Markku Korkeala <markku.korkeala <at> iki.fi>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -7417,6 +7418,43 @@ (define-public python-robotframework-seleniumscreenshots
or for visual regression testing purposes.")
(license license:bsd-3)))
+(define-public python-robotframework-requests
+ (package
+ (name "python-robotframework-requests")
+ (version "0.9.7")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/MarketSquare/robotframework-requests")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "077j8p5k41v53slyv8h32fcmqfi7m6z3r4gmyqqaawm5szfmy61m"))))
+ (build-system python-build-system)
+ (arguments
+ `(#:phases (modify-phases %standard-phases
+ (replace 'check
+ (lambda* (#:key tests? inputs outputs #:allow-other-keys)
+ (when tests?
+ (invoke "pytest" "-v" "utests/")))))))
+ (propagated-inputs (list python-requests python-robotframework))
+ (native-inputs (list python-flask
+ python-flask
+ python-coverage
+ python-flake8
+ python-mock
+ python-flake8
+ python-pytest
+ python-pytest-cov))
+ (home-page "https://github.com/MarketSquare/robotframework-requests")
+ (synopsis "Robot Framework keyword library wrapper around requests")
+ (description
+ "RequestsLibrary is a Robot Framework library aimed to provide HTTP
+ api testing functionalities by wrapping the well known Python
+ Requests Library.")
+ (license license:expat)))
+
(define-public python-rstr
(package
(name "python-rstr")
base-commit: ee9cf4f00bcb8966fa125787e8534580b270bb99
--
2.41.0
Information forwarded
to
guix-patches <at> gnu.org
:
bug#70483
; Package
guix-patches
.
(Sat, 20 Apr 2024 17:24:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 70483 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Hi!
Thank you for the patch.
There are some modification which need to be applied in v2.
The package is more suitable for python-web.
- [source]:
- [build-system]: Swap to pyprject-build-system to simplify the package.
- [arguments]: Relay on default check phase.
- [native-inputs]: Remove duplicates, remove python-flake8, remove-coverage.
- [description]: Fix indentation.
[signature.asc (application/pgp-signature, inline)]
Information forwarded
to
lars <at> 6xq.net, marius <at> gnu.org, me <at> bonfacemunyoki.com, sharlatanus <at> gmail.com, tanguy <at> bioneland.org, jgart <at> dismail.de, guix-patches <at> gnu.org
:
bug#70483
; Package
guix-patches
.
(Tue, 23 Apr 2024 13:10:08 GMT)
Full text and
rfc822 format available.
Message #11 received at 70483 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/python-web.scm (python-robotframework-requests): New variable.
Change-Id: I01d814d1a9e20d26e9bfa4a0a77ba91577da2bd8
---
Improved the patch according to feedback:
Moved package to gnu/packages/python-web.scm
Switched to pyproject-build-system
Simplified the test phase
Removed duplicate and unnecessary dependencies
Fixed description identation
gnu/packages/python-web.scm | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 5a532f8460..2d0695d5a4 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -64,6 +64,7 @@
;;; Copyright © 2024 Troy Figiel <troy <at> troyfigiel.com>
;;; Copyright © 2024 Sharlatan Hellseher <sharlatanus <at> gmail.com>
;;; Copyright © 2024 normally_js <normally_js <at> posteo.net>
+;;; Copyright © 2024 Markku Korkeala <markku.korkeala <at> iki.fi>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -3763,6 +3764,33 @@ (define-public python-requests-ftp
adapter for use with the Requests library.")
(license license:asl2.0)))
+(define-public python-robotframework-requests
+ (package
+ (name "python-robotframework-requests")
+ (version "0.9.7")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/MarketSquare/robotframework-requests")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "077j8p5k41v53slyv8h32fcmqfi7m6z3r4gmyqqaawm5szfmy61m"))))
+ (build-system pyproject-build-system)
+ (arguments
+ '(#:test-flags '("-v" "utests/")))
+ (propagated-inputs (list python-requests python-robotframework))
+ (native-inputs (list python-flask python-mock python-pytest
+ python-pytest-cov))
+ (home-page "https://github.com/MarketSquare/robotframework-requests")
+ (synopsis "Robot Framework keyword library wrapper around requests")
+ (description
+ "RequestsLibrary is a Robot Framework library aimed to provide HTTP
+api testing functionalities by wrapping the well known Python Requests
+Library.")
+ (license license:expat)))
+
(define-public python-aioftp
(package
(name "python-aioftp")
base-commit: ee9cf4f00bcb8966fa125787e8534580b270bb99
--
2.41.0
Reply sent
to
Sharlatan Hellseher <sharlatanus <at> gmail.com>
:
You have taken responsibility.
(Wed, 24 Apr 2024 09:38:08 GMT)
Full text and
rfc822 format available.
Notification sent
to
Markku Korkeala <markku.korkeala <at> iki.fi>
:
bug acknowledged by developer.
(Wed, 24 Apr 2024 09:38:09 GMT)
Full text and
rfc822 format available.
Message #16 received at 70483-done <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Pushed as 22d11dab8b09d8aed780d5c1086c9e8e5589bc70 to master with minor
modifications.
--
Oleg
[signature.asc (application/pgp-signature, inline)]
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Wed, 22 May 2024 11:24:15 GMT)
Full text and
rfc822 format available.
This bug report was last modified 10 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.