Async http client/server framework
Key Features:
- Supports both client and server side of HTTP protocol.
- Supports both client and server Web-Sockets out-of-the-box and avoids Callback
Hell.
- Provides Web-server with middlewares and plugable routing.
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 py312-aiohttp listed in the above command, you can pick from the names under the Packages section.
===> The following configuration options are available for py312-aiohttp-3.14.3:
SPEEDUPS=off: Performance speedups
===> Use 'make config' to modify these settings
*: Revise USES=python:... version range constraints
and strip all lower bounds of 3.9 or 3.10 because they are implied now.
python:3.9-X -> python:-X
python:3.9+ -> python
python:3.10-X -> python:-X
python:3.10+ -> python
(options such as ,build preserved)
www/py-aiohttp: fix (some) tests
- Add missing TEST_DEPENDS
- Skip a test which depend on python_on_whales which is not (and
unlikely to be) available on FreeBSD
Approved by: portmgr blanket
devel/py-setuptools: convert individual consumers to ${PY_SETUPTOOLS}
Currently a no-op, but in the future outputs the correct setuptools
port depending on whether USES_PYTHON=distutils is specified.
With hat: python
PR: 270510, 270358
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>
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)
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 )
www/py-aiohttp: Bump PORTREVISION to fix
ca76312d7fcb20b0cb419121bcdf938e5fbdf907
ca76312d7fcb20b0cb419121bcdf938e5fbdf907 is incorrect and incomplete, therefore
bump PORTREVISION.
*/*: Cleanup after the removal of lang/python36
* Remove codes that aren't necessary after the removal of lang/python36
* Mark ports that aren't necessary with Python 3.7 or later as
DEPRECATED and set EXPIRATION_DATE.
PR: 261046
Approved by: lwhsu (python)
www/py-aiohttp: fix build with python 3.11
Forcibly run cython on all *.pyx files, as just touching them is
not enough, and the package lacks facilities to cythonize automatically.
Approved by: koobs (maintainer)
Mk: switch PYTHON_REL to 5 digits to support python 3.10.x
PR: 255013
Differential Revision: https://reviews.freebsd.org/D29418
Exp-run by: antoine
Approved by: wen@, no objection from python@ or portmgr@
www/py-aiohttp: Update to 3.5.4
- Drop use of cython, only needed for 'from git' builds
- Document necessary but not-yet-ported TEST_DEPENDS for our future selves
and potential contributors to see.
- Update port metadata to match upstream: pkg-desc, WWW URL, LICENSE, COMMENT
- Patch setup.py: Add necessary but missing entries to tests_require. For the
ones not yet ported, they're fetched from PyPI via setuptools when correctly
declared. Move pytest min version requirement from pytest.ini to
tests_require where it belongs, so it can be parsed and the right version
can be fetched, instead of just failing if its not the required version.
- Patch pytest.ini: Strip --cov from pytest args. We don't care about coverage
downstream, and it shouldnt be a compulsory (tests_require) dependency, but
instead an extras_require, so dont add it to TEST_DEPENDS even though it is
a port.
Changelog:
https://github.com/aio-libs/aiohttp/blob/v3.5.4/CHANGES.rst
PR: 228575
Mark BROKEN: fails to run
File "/usr/local/lib/python3.6/site-packages/aiohttp/web_urldispatcher.py",
line 21, in <module>
from yarl import URL, unquote
ImportError: cannot import name 'unquote'
Reported by: pkg-fallout (via www/py-aiohttp-wsgi)
Convert Python ports to FLAVORS.
Ports using USE_PYTHON=distutils are now flavored. They will
automatically get flavors (py27, py34, py35, py36) depending on what
versions they support.
There is also a USE_PYTHON=flavors for ports that do not use distutils
but need FLAVORS to be set. A USE_PYTHON=noflavors can be set if
using distutils but flavors are not wanted.
A new USE_PYTHON=optsuffix that will add PYTHON_PKGNAMESUFFIX has been
added to cope with Python ports that did not have the Python
PKGNAMEPREFIX but are flavored.
USES=python now also exports a PY_FLAVOR variable that contains the
(Only the first 15 lines of the commit message are shown above )
www/py-aiohttp: Update to 0.16.3
- Update to 0.16.3
- chardet is now a RUN_DEPENDS, not only TEST_DEPENDS
- Add gunicorn to TEST_DEPENDS as per setup.py
Changes:
https://github.com/KeepSafe/aiohttp/blob/v0.16.3/CHANGES.txt
Based on:
PR: 200188
Submitted by: Vitaly Magerya <vmagerya gmail com>
Switch PYTHON_REL from a 3 digits number to a 4 digits number to handle
python 2.7.10
Differential Revision: https://reviews.freebsd.org/D2639
Reviewed by: sunpoet, mva
www/py-aiohttp: Update to 0.8.2
- Update to 0.8.2
Changes: 22-06-2014
* Make ProxyConnector.proxy immutable property.
* Make UnixConnector.path immutable property.
* Fix resource leak for aiohttp.request() with implicit connector.
* Rename Connector's reuse_timeout to keepalive_timeout.