From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:master commit in: dev-python/hypercorn/
Date: Fri, 19 Feb 2021 10:14:22 +0000 (UTC) [thread overview]
Message-ID: <1613585009.cdfdde61a67ab9febb5236af95846d89996b79fd.mgorny@gentoo> (raw)
commit: cdfdde61a67ab9febb5236af95846d89996b79fd
Author: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
AuthorDate: Wed Feb 17 18:03:29 2021 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Feb 17 18:03:29 2021 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=cdfdde61
dev-python/hypercorn: add py3.9
Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net>
dev-python/hypercorn/Manifest | 2 +-
...rcorn-0.11.1.ebuild => hypercorn-0.11.2.ebuild} | 45 +++++++++-------------
2 files changed, 19 insertions(+), 28 deletions(-)
diff --git a/dev-python/hypercorn/Manifest b/dev-python/hypercorn/Manifest
index 0641d40a..6274153d 100644
--- a/dev-python/hypercorn/Manifest
+++ b/dev-python/hypercorn/Manifest
@@ -1 +1 @@
-DIST hypercorn-0.11.1.tar.gz 148921 BLAKE2B 6fb35ee4a3da6a5a348dc5d923a79f8536b557ae91e9cb2c2c75a4f70bfb970562d80714b600463b5012ebf0b3859e7628b50d2fa992ba256958b13c17b99278 SHA512 6ea9ae3df1f268f2032de06fc392b98c8dc6df16fa7bc49956592de5a45eb991de5af4a8ac7612f932eab29633d4708a5cef34440b0b2be528478e4326e62b1b
+DIST hypercorn-0.11.2.tar.gz 150475 BLAKE2B fa2c2572fe61aa09bfa62691ac18a8d0149a2e31dda82c77c4fc6ff2720739a824e05ff754d9aec9c499e6c02fb77e1f0a2bd4e3efbb3154730fc369f91b949c SHA512 7d90f654445cc3db6cec001ac8523513dec78bd8bce03ddfb56cd46b999c6d5b4f44a7853f2e88673c3e288c104adae3d105c8c8147f306656136cbb9771b289
diff --git a/dev-python/hypercorn/hypercorn-0.11.1.ebuild b/dev-python/hypercorn/hypercorn-0.11.2.ebuild
similarity index 54%
rename from dev-python/hypercorn/hypercorn-0.11.1.ebuild
rename to dev-python/hypercorn/hypercorn-0.11.2.ebuild
index 34846977..056ad59a 100644
--- a/dev-python/hypercorn/hypercorn-0.11.1.ebuild
+++ b/dev-python/hypercorn/hypercorn-0.11.2.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI="7"
+EAPI=7
-PYTHON_COMPAT=( python3_{7,8} )
+PYTHON_COMPAT=( python3_{7,8,9} )
DISTUTILS_USE_SETUPTOOLS=rdepend
DOCS_BUILDER="sphinx"
@@ -41,7 +41,6 @@ BDEPEND="
>=dev-python/mock-4[${PYTHON_USEDEP}]
<dev-python/pytest-6[${PYTHON_USEDEP}]
dev-python/pytest-asyncio[${PYTHON_USEDEP}]
- dev-python/pytest-cov[${PYTHON_USEDEP}]
dev-python/pytest-trio[${PYTHON_USEDEP}]
dev-python/trio[${PYTHON_USEDEP}]
)
@@ -49,28 +48,20 @@ BDEPEND="
distutils_enable_tests pytest
-#python_prepare_all() {
-# # do not install LICENSE to /usr/
-# sed -i -e '/data_files/d' setup.py || die
-#
-# # Remove pytest-cov dep
-# sed -i -e '21,22d' setup.cfg || die
-#
-# distutils-r1_python_prepare_all
-#}
+python_prepare_all() {
+ # do not install LICENSE to /usr/
+ sed -i -e '/data_files/d' setup.py || die
-#pkg_postinst() {
-# optfeature "asyncio event loop on top of libuv" dev-python/uvloop
-# optfeature "websockets support using wsproto" dev-python/wsproto
-# optfeature "websockets support using websockets" dev-python/websockets
-# optfeature "httpstools package for http protocol" dev-python/httptools
-# optfeature "efficient debug reload" dev-python/watchgod
-#}
+ # Remove pytest-cov dep
+ sed -i -e '/addopts/d' setup.cfg || die
-#python_test() {
-# pytest -vv \
-# --deselect tests/protocols/test_http.py::test_supported_upgrade_request[H11Protocol] \
-# --deselect tests/protocols/test_http.py::test_supported_upgrade_request[HttpToolsProtocol] \
-# --deselect tests/protocols/test_websocket.py::test_invalid_upgrade[WSProtocol] \
-# || die
-#}
+ distutils-r1_python_prepare_all
+}
+
+pkg_postinst() {
+ optfeature "asyncio event loop on top of libuv" dev-python/uvloop
+ optfeature "websockets support using wsproto" dev-python/wsproto
+ optfeature "websockets support using websockets" dev-python/websockets
+ optfeature "httpstools package for http protocol" dev-python/httptools
+ optfeature "efficient debug reload" dev-python/watchgod
+}
next reply other threads:[~2021-02-19 10:14 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-02-19 10:14 Michał Górny [this message]
-- strict thread matches above, loose matches on Subject: below --
2022-10-07 13:12 [gentoo-commits] repo/proj/guru:dev commit in: dev-python/hypercorn/ Arthur Zamarin
2022-10-07 13:13 ` [gentoo-commits] repo/proj/guru:master " Arthur Zamarin
2022-03-23 16:17 [gentoo-commits] repo/proj/guru:dev " Ronny Gutbrod
2022-03-25 15:17 ` [gentoo-commits] repo/proj/guru:master " Ronny Gutbrod
2022-03-23 16:14 Ronny Gutbrod
2022-03-18 6:35 Arthur Zamarin
2021-04-13 13:22 Andrew Ammerlaan
2020-12-06 10:49 Andrew Ammerlaan
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=1613585009.cdfdde61a67ab9febb5236af95846d89996b79fd.mgorny@gentoo \
--to=mgorny@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