From: "Marek Szuba" <marecki@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: www-servers/gunicorn/
Date: Mon, 15 Mar 2021 12:49:40 +0000 (UTC) [thread overview]
Message-ID: <1615812571.589439b846d5978febce08c58ec24cfaccd7e092.marecki@gentoo> (raw)
commit: 589439b846d5978febce08c58ec24cfaccd7e092
Author: Marek Szuba <marecki <AT> gentoo <DOT> org>
AuthorDate: Mon Mar 15 11:49:30 2021 +0000
Commit: Marek Szuba <marecki <AT> gentoo <DOT> org>
CommitDate: Mon Mar 15 12:49:31 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=589439b8
www-servers/gunicorn: bump to 20.1.0
Pre-release, it seems - absent from PyPI, packaged on GitHub but not listed
as the latest release there, not mentioned on gunicorn.org either.
Nb. there are now tests of eventlet- and gevent-based workers, which fail
if the relevant Python modules are not installed. For the time being just
remove these tests (neither dev-python/eventlet nor dev-python/gevent
currently support pypy3, and both miss certain arch keywords) so that
alternative worker types remain entirely optional as far as the tree
is concerned, in the long run we probably should have USE flags for these.
Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>
www-servers/gunicorn/Manifest | 1 +
www-servers/gunicorn/gunicorn-20.1.0.ebuild | 47 +++++++++++++++++++++++++++++
2 files changed, 48 insertions(+)
diff --git a/www-servers/gunicorn/Manifest b/www-servers/gunicorn/Manifest
index 60da7a8e397..49551020085 100644
--- a/www-servers/gunicorn/Manifest
+++ b/www-servers/gunicorn/Manifest
@@ -1 +1,2 @@
DIST gunicorn-20.0.4.tar.gz 373841 BLAKE2B d6f0b5b901697ebc6ee987af5766174a845de8bfad03ce95638ed087b92175e9b2f0e9a49fda70f8f9c6fdc15e1ef1a431c069270af068fb29780abcedf63fc3 SHA512 706620f165e36c178a6d3e65f51a9bb7746abd40dfc7c0f1b3b523771be953dd03b36111f192407aef474ad44afdffd11b6502e51376d11465ffac2255822d5e
+DIST gunicorn-20.1.0.tar.gz 354960 BLAKE2B bae414a8da7a4dbdf79e0b46f517138534521a1a8544f4ea2e1e27e6778d2f6ad8d6a8af02590fedad47d305acdea53f1cdbc4deeda3619fc4a5ffef0932bea1 SHA512 4fd905f62adc30e044cf2a56a1a77e14bc633258267d6bfbd4f6a68494f93f377e9fb9ed94fab7f11f9d7813857a680974a88c4b6bf97d4f1b74792a81810111
diff --git a/www-servers/gunicorn/gunicorn-20.1.0.ebuild b/www-servers/gunicorn/gunicorn-20.1.0.ebuild
new file mode 100644
index 00000000000..7905e095b6e
--- /dev/null
+++ b/www-servers/gunicorn/gunicorn-20.1.0.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DISTUTILS_USE_SETUPTOOLS=rdepend
+PYTHON_COMPAT=( pypy3 python3_{7..9} )
+
+inherit distutils-r1 optfeature
+
+DESCRIPTION="A WSGI HTTP Server for UNIX"
+HOMEPAGE="https://gunicorn.org https://pypi.org/project/gunicorn https://github.com/benoitc/gunicorn"
+# Not on PyPI yet as of 2021-03-15
+SRC_URI="https://github.com/benoitc/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT PSF-2 doc? ( BSD )"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x64-macos"
+
+RDEPEND="dev-python/setproctitle[${PYTHON_USEDEP}]"
+
+DOCS=( README.rst )
+
+distutils_enable_sphinx 'docs/source' --no-autodoc
+distutils_enable_tests pytest
+
+src_prepare() {
+ # These fail if respective optional packages have not been installed
+ rm -f tests/workers/test_g{eventlet,gevent}.py
+
+ 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
+}
+
+pkg_postinst() {
+ elog "Note that alternative worker types need additional packages to be installed:"
+ optfeature "eventlet-based greenlets workers" "dev-python/eventlet"
+ optfeature "gevent-based greenlets workers" "dev-python/gevent"
+ elog
+}
next reply other threads:[~2021-03-15 12:49 UTC|newest]
Thread overview: 70+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-03-15 12:49 Marek Szuba [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-09-08 19:10 [gentoo-commits] repo/gentoo:master commit in: www-servers/gunicorn/ Arthur Zamarin
2024-08-31 9:21 Michał Górny
2024-08-31 8:00 Arthur Zamarin
2024-08-11 2:58 Michał Górny
2024-06-10 17:01 Michał Górny
2024-05-04 7:25 Michał Górny
2024-05-04 7:14 Arthur Zamarin
2024-04-17 13:52 Michał Górny
2023-08-19 17:53 Arthur Zamarin
2023-07-21 7:10 Michał Górny
2023-07-19 6:57 Michał Górny
2023-07-18 6:03 Michał Górny
2023-05-31 7:31 Michał Górny
2023-01-27 22:16 Marek Szuba
2023-01-24 11:00 Marek Szuba
2022-12-20 14:26 Jakov Smolić
2022-06-29 10:59 Marek Szuba
2022-06-29 7:58 Jakov Smolić
2022-05-18 16:59 Michał Górny
2022-05-18 16:59 Michał Górny
2022-04-25 18:41 Sam James
2021-07-27 23:11 Marek Szuba
2021-06-19 12:26 Michał Górny
2021-05-13 19:31 Michał Górny
2021-05-13 16:54 Sam James
2021-05-13 14:27 Marek Szuba
2021-04-04 18:55 Andreas Sturmlechner
2020-12-07 19:52 Marek Szuba
2020-12-07 19:24 Marek Szuba
2020-11-30 21:12 Sergei Trofimovich
2020-11-28 15:26 Sam James
2020-11-28 15:26 Sam James
2020-11-26 19:08 Sam James
2020-11-26 13:21 Sam James
2020-10-07 1:02 Sam James
2020-10-02 15:22 Sergei Trofimovich
2020-10-01 17:29 Sergei Trofimovich
2020-09-30 20:26 Sam James
2020-09-27 6:42 Matt Turner
2020-09-13 4:55 Sam James
2020-08-25 10:23 Sam James
2020-08-21 15:36 Agostino Sarubbo
2020-08-19 9:29 Sergei Trofimovich
2020-08-18 21:53 Sergei Trofimovich
2020-08-18 8:04 Michał Górny
2020-06-12 19:32 Michał Górny
2020-06-12 19:32 Michał Górny
2020-06-12 15:40 Michał Górny
2020-02-11 12:25 Michał Górny
2019-12-30 21:54 Piotr Karbowski
2019-04-04 21:16 Aaron Bauman
2019-03-21 22:24 Aaron Bauman
2019-03-16 23:33 Anthony G. Basile
2018-12-07 2:41 Thomas Deutschmann
2018-12-04 11:56 Agostino Sarubbo
2018-05-14 22:47 Rafael Martins
2018-04-20 15:46 Rafael Martins
2017-11-26 23:26 David Seifert
2017-06-28 9:38 Alexis Ballier
2017-02-22 16:08 Agostino Sarubbo
2017-02-22 15:06 Agostino Sarubbo
2017-02-13 8:55 Zac Medico
2016-11-10 0:14 Sebastian Pipping
2016-11-03 16:19 Göktürk Yüksek
2016-03-28 13:16 Ian Delaney
2016-01-26 3:32 Zac Medico
2016-01-26 3:31 Zac Medico
2015-08-09 12:30 Justin Lecher
2015-08-09 11:51 Justin Lecher
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1615812571.589439b846d5978febce08c58ec24cfaccd7e092.marecki@gentoo \
--to=marecki@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox