Gentoo Archives: gentoo-commits

From: Marek Szuba <marecki@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: www-servers/gunicorn/
Date: Wed, 29 Jun 2022 10:59:19
Message-Id: 1656498230.404e39461ab474cfce0cddfa4c6624fc61f4005c.marecki@gentoo
1 commit: 404e39461ab474cfce0cddfa4c6624fc61f4005c
2 Author: Marek Szuba <marecki <AT> gentoo <DOT> org>
3 AuthorDate: Wed Jun 29 10:23:50 2022 +0000
4 Commit: Marek Szuba <marecki <AT> gentoo <DOT> org>
5 CommitDate: Wed Jun 29 10:23:50 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=404e3946
7
8 www-servers/gunicorn: drop 20.1.0
9
10 Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>
11
12 www-servers/gunicorn/gunicorn-20.1.0.ebuild | 48 -----------------------------
13 1 file changed, 48 deletions(-)
14
15 diff --git a/www-servers/gunicorn/gunicorn-20.1.0.ebuild b/www-servers/gunicorn/gunicorn-20.1.0.ebuild
16 deleted file mode 100644
17 index 0758612b5491..000000000000
18 --- a/www-servers/gunicorn/gunicorn-20.1.0.ebuild
19 +++ /dev/null
20 @@ -1,48 +0,0 @@
21 -# Copyright 1999-2022 Gentoo Authors
22 -# Distributed under the terms of the GNU General Public License v2
23 -
24 -EAPI=7
25 -
26 -DISTUTILS_USE_SETUPTOOLS=rdepend
27 -PYTHON_COMPAT=( pypy3 python3_{8..10} )
28 -
29 -inherit distutils-r1 optfeature
30 -
31 -DESCRIPTION="A WSGI HTTP Server for UNIX"
32 -HOMEPAGE="https://gunicorn.org https://pypi.org/project/gunicorn https://github.com/benoitc/gunicorn"
33 -# Tagged on GitHub on 2021-02-12 yet only got posted on PyPI on 2021-03-27, two weeks
34 -# before this ebuild got published. Will likely switch back to PyPI come next release.
35 -SRC_URI="https://github.com/benoitc/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
36 -
37 -LICENSE="MIT PSF-2 doc? ( BSD )"
38 -SLOT="0"
39 -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos"
40 -
41 -RDEPEND="dev-python/setproctitle[${PYTHON_USEDEP}]"
42 -
43 -PATCHES=(
44 - "${FILESDIR}"/${PN}-20.1.0-tests_optional_modules.patch
45 - "${FILESDIR}"/${P}-new-eventlet.patch
46 -)
47 -
48 -DOCS=( README.rst )
49 -
50 -distutils_enable_sphinx 'docs/source' --no-autodoc
51 -distutils_enable_tests pytest
52 -
53 -src_prepare() {
54 - sed -e 's:--cov=gunicorn --cov-report=xml::' -i setup.cfg || die
55 - distutils-r1_src_prepare
56 -}
57 -
58 -python_install_all() {
59 - use doc && local HTML_DOCS=( docs/source/_build/html/. )
60 -
61 - distutils-r1_python_install_all
62 -}
63 -
64 -pkg_postinst() {
65 - optfeature_header "Alternative worker types need additional packages to be installed:"
66 - optfeature "eventlet-based greenlets workers" "dev-python/eventlet"
67 - optfeature "gevent-based greenlets workers" "dev-python/gevent"
68 -}