unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#64747] [PATCH] gnu: Add python-pynetbox.
@ 2023-07-20 17:13 Timotej Lazar
  2023-10-05 15:27 ` Mathieu Othacehe
  0 siblings, 1 reply; 3+ messages in thread
From: Timotej Lazar @ 2023-07-20 17:13 UTC (permalink / raw)
  To: 64747; +Cc: Timotej Lazar, Lars-Dominik Braun, jgart

* gnu/packages/python-web.scm (python-pynetbox): New variable.
---
 gnu/packages/python-web.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 6f855a503b..bce7fbd0e8 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -8686,3 +8686,28 @@ (define-public python-enoslib
 scientific testbeds.  It lets you deploy networks of machines on actual
 hardware on Grid'5000 or via OpenStack, to Vagrant, Chameleon, and more.")
     (license license:gpl3+)))
+
+(define-public python-pynetbox
+  (package
+    (name "python-pynetbox")
+    (version "7.0.1")
+    (source (origin
+              (method url-fetch)
+              (uri (pypi-uri "pynetbox" version))
+              (sha256
+               (base32
+                "16ps9zgcjzyzn95lry277741i8php4ci3plsyd2vqxd57havba7b"))))
+    (build-system pyproject-build-system)
+    (arguments
+     (list #:phases #~(modify-phases %standard-phases
+                        (add-after 'unpack 'disable-failing-tests
+                          (lambda _
+                            ;; Integration tests depend on docker.
+                            (delete-file-recursively "tests/integration"))))))
+    (propagated-inputs (list python-requests))
+    (native-inputs (list python-pytest python-pyyaml python-setuptools-scm))
+    (home-page "https://github.com/netbox-community/pynetbox")
+    (synopsis "NetBox API client library")
+    (description "Python module to query and edit data stored in a
+@url{https://netbox.dev,NetBox} instance.")
+    (license license:asl2.0)))

base-commit: 21b718f4d6c3ded8ef50d12f6e9ae6474f74620f
-- 
2.41.0





^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [bug#64747] [PATCH] gnu: Add python-pynetbox.
  2023-07-20 17:13 [bug#64747] [PATCH] gnu: Add python-pynetbox Timotej Lazar
@ 2023-10-05 15:27 ` Mathieu Othacehe
  2023-10-05 16:32   ` bug#64747: " Mathieu Othacehe
  0 siblings, 1 reply; 3+ messages in thread
From: Mathieu Othacehe @ 2023-10-05 15:27 UTC (permalink / raw)
  To: Timotej Lazar; +Cc: 64747, Lars-Dominik Braun, jgart


Hey,

Sorry for the laaate review.

> +    (version "7.0.1")

The patch looks OK, but the 7.2.0 is up there, would you mind updating
please?

Thanks,

Mathieu




^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#64747: [PATCH] gnu: Add python-pynetbox.
  2023-10-05 15:27 ` Mathieu Othacehe
@ 2023-10-05 16:32   ` Mathieu Othacehe
  0 siblings, 0 replies; 3+ messages in thread
From: Mathieu Othacehe @ 2023-10-05 16:32 UTC (permalink / raw)
  To: Timotej Lazar; +Cc: jgart, 64747-done, Lars-Dominik Braun


> The patch looks OK, but the 7.2.0 is up there, would you mind updating
> please?

I did that myself with 29243a9f39744f6275ba0a9e0a182f257a2a46eb.

Thanks,

Mathieu




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-10-05 16:32 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-07-20 17:13 [bug#64747] [PATCH] gnu: Add python-pynetbox Timotej Lazar
2023-10-05 15:27 ` Mathieu Othacehe
2023-10-05 16:32   ` bug#64747: " Mathieu Othacehe

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).