diff options
author | Michał Górny <mgorny@gentoo.org> | 2023-08-19 20:17:36 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2023-08-19 20:17:36 +0200 |
commit | 181ddd28242e772984a148fadde238597c6757a2 (patch) | |
tree | a6a711f6a012afed8e44d444e40ba0d0c039d12c /www-servers | |
parent | dev-python/versioneer: Remove old (diff) | |
download | gentoo-181ddd28242e772984a148fadde238597c6757a2.tar.gz gentoo-181ddd28242e772984a148fadde238597c6757a2.tar.bz2 gentoo-181ddd28242e772984a148fadde238597c6757a2.zip |
www-servers/gunicorn: Remove old
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'www-servers')
-rw-r--r-- | www-servers/gunicorn/Manifest | 3 | ||||
-rw-r--r-- | www-servers/gunicorn/files/gunicorn-20.1.0-new-eventlet.patch | 31 | ||||
-rw-r--r-- | www-servers/gunicorn/files/gunicorn-20.1.0-tests_optional_modules.patch | 22 | ||||
-rw-r--r-- | www-servers/gunicorn/gunicorn-20.1.0-r1.ebuild | 50 | ||||
-rw-r--r-- | www-servers/gunicorn/gunicorn-21.0.1.ebuild | 51 | ||||
-rw-r--r-- | www-servers/gunicorn/gunicorn-21.1.0.ebuild | 51 |
6 files changed, 0 insertions, 208 deletions
diff --git a/www-servers/gunicorn/Manifest b/www-servers/gunicorn/Manifest index 9cd89a17bf7f..ce58d1b98610 100644 --- a/www-servers/gunicorn/Manifest +++ b/www-servers/gunicorn/Manifest @@ -1,4 +1 @@ -DIST gunicorn-20.1.0.gh.tar.gz 354960 BLAKE2B bae414a8da7a4dbdf79e0b46f517138534521a1a8544f4ea2e1e27e6778d2f6ad8d6a8af02590fedad47d305acdea53f1cdbc4deeda3619fc4a5ffef0932bea1 SHA512 4fd905f62adc30e044cf2a56a1a77e14bc633258267d6bfbd4f6a68494f93f377e9fb9ed94fab7f11f9d7813857a680974a88c4b6bf97d4f1b74792a81810111 -DIST gunicorn-21.0.1.gh.tar.gz 361025 BLAKE2B bf6b5dafa5b19f9cafe7556339a2ad264f8abbcaf9c8ccdc958f5019a3935b2a1bc3d56411387c578731f0b517d8f31eeb94087abf9fbf99477727b948bb84a3 SHA512 81081192ad5400f65898a37524ef097a3793aa242028ea30de7b478b605fb14dccdd0eb18d9e8102d8218c33a228143637fec7e02902ceaaa8ce95ea8a2f8be4 -DIST gunicorn-21.1.0.gh.tar.gz 361055 BLAKE2B 77605a60eda72ac73bd80a504821bdb765828655d671ec27b72a1e061367012d45c2ae0347475737a16bc33729e419d2a23022dc14dfbf84c01b3345e486c037 SHA512 269a875bc98bc9b71fba75d212e181074664c8d5a045fdd8ecefb36272106affe66ecce699a5e343c88c8325b3123802ac15af60fac37d0b658cf1f1fb8fe7f9 DIST gunicorn-21.2.0.gh.tar.gz 361112 BLAKE2B 94c868435ecca25d4c83e348bff219d26f53fe28e15d284c00f6f981ee88a5a32e802014b121f1314ec337684fa7bb37fcc21e2ec2aeab4275e526aa84f22677 SHA512 47c21293bd5340e43074c87694d13241b2867437ad993b204ee4bd21ea923350763a424b3f7ce59737b10cd526d12127b1ae95ef60410eca9924605b522d637c diff --git a/www-servers/gunicorn/files/gunicorn-20.1.0-new-eventlet.patch b/www-servers/gunicorn/files/gunicorn-20.1.0-new-eventlet.patch deleted file mode 100644 index 0ba4faffe639..000000000000 --- a/www-servers/gunicorn/files/gunicorn-20.1.0-new-eventlet.patch +++ /dev/null @@ -1,31 +0,0 @@ -From a244b149b15c4417b4f0a4b4a57a1f8c296e968e Mon Sep 17 00:00:00 2001 -From: Daniel Bibik <55541040+Boring-Mind@users.noreply.github.com> -Date: Mon, 10 May 2021 12:31:29 +0300 -Subject: [PATCH] Fix compatibility with latest eventlet - -Fix issue with import error while using latest eventlet (>=0.30.3). - -Changes made in eventlet: https://github.com/benoitc/gunicorn/pull/2581 ---- - gunicorn/workers/geventlet.py | 8 +++++++- - 1 file changed, 7 insertions(+), 1 deletion(-) - -diff --git a/gunicorn/workers/geventlet.py b/gunicorn/workers/geventlet.py -index ffdb206c0..06477e74d 100644 ---- a/gunicorn/workers/geventlet.py -+++ b/gunicorn/workers/geventlet.py -@@ -17,7 +17,13 @@ - - from eventlet import hubs, greenthread - from eventlet.greenio import GreenSocket --from eventlet.wsgi import ALREADY_HANDLED as EVENTLET_ALREADY_HANDLED -+ -+try: -+ from eventlet.wsgi import ALREADY_HANDLED as EVENTLET_ALREADY_HANDLED -+except ImportError: -+ # Since eventlet 0.30.3 -+ from eventlet.wsgi import WSGI_LOCAL as EVENTLET_ALREADY_HANDLED -+ - import greenlet - - from gunicorn.workers.base_async import AsyncWorker diff --git a/www-servers/gunicorn/files/gunicorn-20.1.0-tests_optional_modules.patch b/www-servers/gunicorn/files/gunicorn-20.1.0-tests_optional_modules.patch deleted file mode 100644 index d04c300c2076..000000000000 --- a/www-servers/gunicorn/files/gunicorn-20.1.0-tests_optional_modules.patch +++ /dev/null @@ -1,22 +0,0 @@ ---- a/tests/workers/test_geventlet.py -+++ b/tests/workers/test_geventlet.py -@@ -3,5 +3,8 @@ - # This file is part of gunicorn released under the MIT license. - # See the NOTICE for more information. - -+import pytest -+pytest.importorskip('eventlet') -+ - def test_import(): - __import__('gunicorn.workers.geventlet') ---- a/tests/workers/test_ggevent.py -+++ b/tests/workers/test_ggevent.py -@@ -3,5 +3,8 @@ - # This file is part of gunicorn released under the MIT license. - # See the NOTICE for more information. - -+import pytest -+pytest.importorskip('gevent') -+ - def test_import(): - __import__('gunicorn.workers.ggevent') diff --git a/www-servers/gunicorn/gunicorn-20.1.0-r1.ebuild b/www-servers/gunicorn/gunicorn-20.1.0-r1.ebuild deleted file mode 100644 index 85f53b598bde..000000000000 --- a/www-servers/gunicorn/gunicorn-20.1.0-r1.ebuild +++ /dev/null @@ -1,50 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( pypy3 python3_{10..12} ) - -inherit distutils-r1 - -DESCRIPTION="A WSGI HTTP Server for UNIX" -HOMEPAGE=" - https://gunicorn.org/ - https://github.com/benoitc/gunicorn/ - https://pypi.org/project/gunicorn/ -" -SRC_URI=" - https://github.com/benoitc/gunicorn/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="MIT PSF-2 doc? ( BSD )" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos" - -RDEPEND=" - dev-python/setproctitle[${PYTHON_USEDEP}] - dev-python/setuptools[${PYTHON_USEDEP}] -" - -PATCHES=( - "${FILESDIR}"/${PN}-20.1.0-tests_optional_modules.patch - "${FILESDIR}"/${P}-new-eventlet.patch -) - -DOCS=( README.rst ) - -distutils_enable_sphinx 'docs/source' --no-autodoc -distutils_enable_tests pytest - -src_prepare() { - sed -e 's:--cov=gunicorn --cov-report=xml::' -i setup.cfg || die - distutils-r1_src_prepare -} - -python_install_all() { - use doc && local HTML_DOCS=( docs/source/_build/html/. ) - - distutils-r1_python_install_all -} diff --git a/www-servers/gunicorn/gunicorn-21.0.1.ebuild b/www-servers/gunicorn/gunicorn-21.0.1.ebuild deleted file mode 100644 index e08fbcb4748f..000000000000 --- a/www-servers/gunicorn/gunicorn-21.0.1.ebuild +++ /dev/null @@ -1,51 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( pypy3 python3_{10..12} ) - -inherit distutils-r1 - -DESCRIPTION="A WSGI HTTP Server for UNIX" -HOMEPAGE=" - https://gunicorn.org/ - https://github.com/benoitc/gunicorn/ - https://pypi.org/project/gunicorn/ -" -SRC_URI=" - https://github.com/benoitc/gunicorn/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="MIT PSF-2 doc? ( BSD )" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" - -RDEPEND=" - dev-python/packaging[${PYTHON_USEDEP}] - dev-python/setproctitle[${PYTHON_USEDEP}] -" - -DOCS=( README.rst ) - -distutils_enable_sphinx 'docs/source' --no-autodoc -distutils_enable_tests pytest - -EPYTEST_IGNORE=( - # removed deps - tests/workers/test_geventlet.py - tests/workers/test_ggevent.py -) - -src_prepare() { - sed -e 's:--cov=gunicorn --cov-report=xml::' -i setup.cfg || die - distutils-r1_src_prepare -} - -python_install_all() { - use doc && local HTML_DOCS=( docs/source/_build/html/. ) - - distutils-r1_python_install_all -} diff --git a/www-servers/gunicorn/gunicorn-21.1.0.ebuild b/www-servers/gunicorn/gunicorn-21.1.0.ebuild deleted file mode 100644 index e08fbcb4748f..000000000000 --- a/www-servers/gunicorn/gunicorn-21.1.0.ebuild +++ /dev/null @@ -1,51 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( pypy3 python3_{10..12} ) - -inherit distutils-r1 - -DESCRIPTION="A WSGI HTTP Server for UNIX" -HOMEPAGE=" - https://gunicorn.org/ - https://github.com/benoitc/gunicorn/ - https://pypi.org/project/gunicorn/ -" -SRC_URI=" - https://github.com/benoitc/gunicorn/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="MIT PSF-2 doc? ( BSD )" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" - -RDEPEND=" - dev-python/packaging[${PYTHON_USEDEP}] - dev-python/setproctitle[${PYTHON_USEDEP}] -" - -DOCS=( README.rst ) - -distutils_enable_sphinx 'docs/source' --no-autodoc -distutils_enable_tests pytest - -EPYTEST_IGNORE=( - # removed deps - tests/workers/test_geventlet.py - tests/workers/test_ggevent.py -) - -src_prepare() { - sed -e 's:--cov=gunicorn --cov-report=xml::' -i setup.cfg || die - distutils-r1_src_prepare -} - -python_install_all() { - use doc && local HTML_DOCS=( docs/source/_build/html/. ) - - distutils-r1_python_install_all -} |