From: Christopher Lemmer Webber <cwebber@dustycloud.org>
To: 40511@debbugs.gnu.org
Subject: [bug#40511] [PATCH 6/10] gnu: Add python-requests-unixsocket.
Date: Tue, 28 Apr 2020 15:48:59 -0400 [thread overview]
Message-ID: <875zdjtmqc.fsf@dustycloud.org> (raw)
In-Reply-To: <87d07rtmvt.fsf@dustycloud.org>
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: 0006-gnu-Add-python-requests-unixsocket.patch --]
[-- Type: text/x-patch, Size: 1993 bytes --]
From 873652e761e8d59f8f2d80da1f9ad3d469013988 Mon Sep 17 00:00:00 2001
From: Christopher Lemmer Webber <cwebber@dustycloud.org>
Date: Tue, 28 Apr 2020 15:22:01 -0400
Subject: [PATCH 06/10] gnu: Add python-requests-unixsocket.
* gnu/packages/python-xyz.scm (python-requests-unixsocket): New variable.
---
gnu/packages/python-xyz.scm | 36 ++++++++++++++++++++++++++++++++++++
1 file changed, 36 insertions(+)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index d9a972c456..2c354c8d71 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -19742,3 +19742,39 @@ methods.")
"This package provides a local continuous test runner for pytest
and watchdog.")
(license license:expat)))
+
+(define-public python-requests-unixsocket
+ (package
+ (name "python-requests-unixsocket")
+ (version "0.2.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "requests-unixsocket" version))
+ (sha256
+ (base32
+ "1sn12y4fw1qki5gxy9wg45gmdrxhrndwfndfjxhpiky3mwh1lp4y"))))
+ ;; why tied to waitress==0.9.0 I have no idea
+ (arguments
+ ;; We don't have all the test deps yet... missing pyttest-cache
+ `(#:tests? #f
+ #:phases
+ (modify-phases %standard-phases
+ ;; Not importing the googleapis package for now
+ (add-after 'unpack 'ignore-googleapis
+ (lambda _
+ (delete-file "test-requirements.txt")
+ #t)))))
+ (build-system python-build-system)
+ (propagated-inputs
+ `(("python-requests" ,python-requests)
+ ("python-urllib3" ,python-urllib3)))
+ (native-inputs
+ `(("python-pbr-minimal" ,python-pbr-minimal)))
+ (home-page
+ "https://github.com/msabramo/requests-unixsocket")
+ (synopsis
+ "Use requests to talk HTTP via a UNIX domain socket")
+ (description
+ "Use the Python requests library to talk HTTP via a UNIX domain socket.")
+ (license #f)))
--
2.26.0
next prev parent reply other threads:[~2020-04-28 19:51 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-04-08 17:27 [bug#40511] Add fava, a beancount web UI Christopher Lemmer Webber
2020-04-28 19:45 ` [bug#40511] [PATCH 1/10] gnu: Add python-jarco-classes Christopher Lemmer Webber
2020-04-28 19:47 ` [bug#40511] [PATCH 2/10] gnu: Add python-jaraco-functools Christopher Lemmer Webber
2020-04-28 20:18 ` [bug#40511] [REDO 1] " Christopher Lemmer Webber
2020-04-28 19:47 ` [bug#40511] [PATCH 3/10] gnu: Add python-jarco-text Christopher Lemmer Webber
2020-04-28 20:18 ` [bug#40511] [REDO 1] " Christopher Lemmer Webber
2020-04-28 19:48 ` [bug#40511] [PATCH 4/10] gnu: Add python-pytest-testmon Christopher Lemmer Webber
2020-04-28 20:19 ` [bug#40511] [REDO 1] " Christopher Lemmer Webber
2020-04-28 19:48 ` [bug#40511] [PATCH 5/10] gnu: Add python-pytest-watch Christopher Lemmer Webber
2020-04-28 20:19 ` [bug#40511] [REDO 1] " Christopher Lemmer Webber
2020-04-28 19:48 ` Christopher Lemmer Webber [this message]
2020-04-28 20:20 ` [bug#40511] [REDO 1] [PATCH 6/10] gnu: Add python-requests-unixsocket Christopher Lemmer Webber
2020-04-28 19:49 ` [bug#40511] [PATCH 7/10] gnu: Add python-trustme Christopher Lemmer Webber
2020-04-28 20:20 ` [bug#40511] [REDO 1] " Christopher Lemmer Webber
2020-04-28 19:49 ` [bug#40511] [PATCH 8/10] gnu: Add python-cheroot Christopher Lemmer Webber
2020-04-28 20:21 ` [bug#40511] [REDO 1] " Christopher Lemmer Webber
2020-04-28 19:50 ` [bug#40511] [PATCH 9/10] gnu: Add python-markdown2 Christopher Lemmer Webber
2020-04-28 19:51 ` [bug#40511] [PATCH 10/10] gnu: Add fava Christopher Lemmer Webber
2020-04-28 20:22 ` Christopher Lemmer Webber
2020-04-28 20:21 ` [bug#40511] [REDO 1] [PATCH 9/10] gnu: Add python-markdown2 Christopher Lemmer Webber
2020-04-28 20:17 ` [bug#40511] [REDO 1] [PATCH 1/10] gnu: Add python-jarco-classes Christopher Lemmer Webber
2024-03-19 9:55 ` bug#40511: Add fava, a beancount web UI Sharlatan Hellseher
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=875zdjtmqc.fsf@dustycloud.org \
--to=cwebber@dustycloud.org \
--cc=40511@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).