Port details |
- py-dugong HTTP 1.1 client module designed for RESTful protocols
- 3.7.5 net =3 3.7.5Version of this port present on the latest quarterly branch.
- Maintainer: niklaas@kulturflatrate.net
- Port Added: 2015-12-22 15:31:13
- Last Update: 2023-06-27 19:34:34
- Commit Hash: 3d9a815
- People watching this port, also watch:: ubench, easy-rsa, fusefs-sshfs, csync2, rkhunter
- Also Listed In: python
- License: PSFL
- WWW:
- https://github.com/python-dugong/python-dugong/
- Description:
- The Python Dugong module provides an API for communicating with HTTP 1.1
servers. It is an alternative to the standard library's http.client (formerly
httplib) module. In contrast to http.client, Dugong:
* allows you to send multiple requests right after each other without having to
read the responses first.
* supports waiting for 100-continue before sending the request body.
* raises an exception instead of silently delivering partial data if the
connection is closed before all data has been received.
* raises one specific exception (ConnectionClosed) if the connection has been
closed (while http.client connection may raise any of BrokenPipeError,
BadStatusLine, ConnectionAbortedError, ConnectionResetError, IncompleteRead
or simply return '' on read)
* supports non-blocking, asynchronous operation and is compatible with the
asyncio module.
* can in most cases distinguish between an unavailable DNS server and an
unresolvable hostname.
* is not compatible with old HTTP 0.9 or 1.0 servers.
All request and response headers are represented as str, but must be encodable
in latin1. Request and response body must be bytes-like objects or binary
streams.
- ¦ ¦ ¦ ¦
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - There is no configure plist information for this port.
- Dependency lines:
-
- ${PYTHON_PKGNAMEPREFIX}dugong>0:net/py-dugong@${PY_FLAVOR}
- To install the port:
- cd /usr/ports/net/py-dugong/ && make install clean
- To add the package, run one of these commands:
- pkg install net/py-dugong
- pkg install py39-dugong
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above. NOTE: This is a Python port. Instead of py39-dugong listed in the above command, you can pick from the names under the Packages section.- PKGNAME: py39-dugong
- Package flavors (<flavor>: <package>)
- distinfo:
- TIMESTAMP = 1600944094
SHA256 (dugong-3.7.5.tar.bz2) = d0d07606282230fd9832f2de647e4cb46882c227883e6a12a8ff811ac46d7283
SIZE (dugong-3.7.5.tar.bz2) = 211642
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- py39-setuptools>=63.1.0 : devel/py-setuptools@py39
- python3.9 : lang/python39
- Test dependencies:
-
- py39-pytest4>0 : devel/py-pytest4@py39
- python3.9 : lang/python39
- Runtime dependencies:
-
- py39-setuptools>=63.1.0 : devel/py-setuptools@py39
- python3.9 : lang/python39
- This port is required by:
- for Build
-
Deleted ports which required this port:
- for Run
-
Deleted ports which required this port:
- * - deleted ports are only shown under the This port is required by section. It was harder to do for the Required section. Perhaps later...
Configuration Options:
- No options to configure
- Options name:
- net_py-dugong
- USES:
- python tar:bzip2
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|
Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
Commit | Credits | Log message |
3.7.5 27 Jun 2023 19:34:34 |
Rene Ladan (rene) |
all: remove explicit versions in USES=python for "3.x+"
The logic in USES=python will automatically convert this to 3.8+ by
itself.
Adjust two ports that only had Python 3.7 mentioned but build fine
on Python 3.8 too.
finance/quickfix: mark BROKEN with PYTHON
libtool: compile: c++ -DHAVE_CONFIG_H -I. -I../.. -I -I. -I.. -I../.. -I../C++
-DLIBICONV_PLUG -DPYTHON_MAJOR_VERSION=3 -Wno-unused-variable
-Wno-maybe-uninitialized -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong
-fno-strict-aliasing -DLIBICONV_PLUG -Wall -ansi
-Wno-unused-command-line-argument -Wpointer-arith -Wwrite-strings
-Wno-overloaded-virtual -Wno-deprecated-declarations -Wno-deprecated -std=c++0x
-MT _quickfix_la-QuickfixPython.lo -MD -MP -MF
.deps/_quickfix_la-QuickfixPython.Tpo -c QuickfixPython.cpp -fPIC -DPIC -o
.libs/_quickfix_la-QuickfixPython.o
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean
'-Wno-uninitialized'? [-Wunknown-warning-option]
QuickfixPython.cpp:175:11: fatal error: 'Python.h' file not found
^~~~~~~~~~
1 warning and 1 error generated.
Reviewed by: portmgr, vishwin, yuri
Differential Revision: <https://reviews.freebsd.org/D40568> |
3.7.5 11 Jan 2023 15:58:34 |
Dmitry Marakasov (amdmi3) |
*/*: rename CHEESESHOP to PYPI in MASTER_SITES
PR: 267994
Differential revision: D37518
Approved by: bapt |
07 Sep 2022 21:58:51 |
Stefan Eßer (se) |
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner) |
3.7.5 07 Sep 2022 21:10:59 |
Stefan Eßer (se) |
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above ) |
3.7.5 28 Mar 2022 12:31:03 |
Dmitry Marakasov (amdmi3) |
net/py-dugong: switch to pytest4
- Switch to pytest4 to avoid test failures after updating pytest to 7.x
PR: 256624 |
3.7.5 07 Apr 2021 08:09:01 |
Mathieu Arnold (mat) |
One more small cleanup, forgotten yesterday.
Reported by: lwhsu |
3.7.5 06 Apr 2021 14:31:07 |
Mathieu Arnold (mat) |
Remove # $FreeBSD$ from Makefiles. |
3.7.5 24 Sep 2020 03:02:19 |
wen |
- Update to 3.7.5
- Update WWW
PR: 249215
Submitted by: gspurki@gmail.com
Approved by: maintainer(timeout, > 14 days) |
3.7.3 18 Aug 2018 03:05:24 |
wen |
- Update to 3.7.3
PR: 230317
Submitted by: ndowens@yahoo.com
Approved by: maintainer(timeout, > 14 days) |
3.5 22 Dec 2015 15:31:05 |
miwi |
The Python Dugong module provides an API for communicating with HTTP 1.1
servers. It is an alternative to the standard library's http.client (formerly
httplib) module. In contrast to http.client, Dugong:
* allows you to send multiple requests right after each other without having to
read the responses first.
* supports waiting for 100-continue before sending the request body.
* raises an exception instead of silently delivering partial data if the
connection is closed before all data has been received.
* raises one specific exception (ConnectionClosed) if the connection has been
closed (while http.client connection may raise any of BrokenPipeError,
BadStatusLine, ConnectionAbortedError, ConnectionResetError, IncompleteRead
or simply return '' on read)
* supports non-blocking, asynchronous operation and is compatible with the
asyncio module. (Only the first 15 lines of the commit message are shown above ) |