public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/proj/guru:dev commit in: dev-python/hypercorn/
@ 2020-12-06  9:40 Alessandro Barbieri
  0 siblings, 0 replies; 9+ messages in thread
From: Alessandro Barbieri @ 2020-12-06  9:40 UTC (permalink / raw
  To: gentoo-commits

commit:     40f212a7e957fedab52f3bff6edc0f2d3cd16cc3
Author:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Sun Dec  6 08:50:12 2020 +0000
Commit:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Sun Dec  6 09:40:08 2020 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=40f212a7

dev-python/hypercorn: new package

Package-Manager: Portage-3.0.10, Repoman-3.0.2
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>

 dev-python/hypercorn/Manifest                |  1 +
 dev-python/hypercorn/hypercorn-0.11.1.ebuild | 75 ++++++++++++++++++++++++++++
 dev-python/hypercorn/metadata.xml            | 28 +++++++++++
 3 files changed, 104 insertions(+)

diff --git a/dev-python/hypercorn/Manifest b/dev-python/hypercorn/Manifest
new file mode 100644
index 00000000..18c829f0
--- /dev/null
+++ b/dev-python/hypercorn/Manifest
@@ -0,0 +1 @@
+DIST hypercorn-0.11.1.zip 189203 BLAKE2B c11a2a221fb6b5a02e96b0f463e33583389c4ab31503572f85f140d6b2d8bf58854441b31599861b648fb0b089bb7d46ec3fa7f972de963d2a2ef28a1da48e84 SHA512 7e7e1980bb82e64154f97059c90d1b429c3f18b8e40b51c2821ddf4e838dd7d95de66e83a09afd52abc8ba2758e1f43831af61c7ad79d829c9409ab6cee4d410

diff --git a/dev-python/hypercorn/hypercorn-0.11.1.ebuild b/dev-python/hypercorn/hypercorn-0.11.1.ebuild
new file mode 100644
index 00000000..a56d3d36
--- /dev/null
+++ b/dev-python/hypercorn/hypercorn-0.11.1.ebuild
@@ -0,0 +1,75 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="7"
+
+PYTHON_COMPAT=( python3_{7,8} )
+DISTUTILS_USE_SETUPTOOLS=rdepend
+
+DOCBUILDER="sphinx"
+DOCDEPEND="
+	dev-python/sphinxcontrib-napoleon
+	dev-python/pydata-sphinx-theme
+"
+DOCDIR="${S}/docs"
+
+inherit distutils-r1 docs optfeature
+
+DESCRIPTION="ASGI Server based on Hyper libraries and inspired by Gunicorn"
+HOMEPAGE="
+	https://gitlab.com/pgjones/hypercorn
+	https://github.com/pgjones/hypercorn
+	https://pypi.org/project/Hypercorn
+"
+SRC_URI="https://github.com/pgjones/hypercorn/archive/${PV}.zip -> ${P}.zip"
+LICENSE="MIT"
+KEYWORDS="~amd64 ~x86"
+SLOT="0"
+RESTRICT=""
+RDEPEND="
+	dev-python/h11[${PYTHON_USEDEP}]
+	>=dev-python/hyper-h2-3.1.0[${PYTHON_USEDEP}]
+	dev-python/priority[${PYTHON_USEDEP}]
+	dev-python/toml[${PYTHON_USEDEP}]
+	>=dev-python/wsproto-0.14.0[${PYTHON_USEDEP}]
+	$(python_gen_cond_dep 'dev-python/typing-extensions[${PYTHON_USEDEP}]' python3_7)
+"
+BDEPEND="
+	test? (
+		dev-python/hypothesis[${PYTHON_USEDEP}]
+		>=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}]
+	)
+"
+
+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
+#}
+
+#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
+#}
+
+#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
+#}

diff --git a/dev-python/hypercorn/metadata.xml b/dev-python/hypercorn/metadata.xml
new file mode 100644
index 00000000..f39c4241
--- /dev/null
+++ b/dev-python/hypercorn/metadata.xml
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+
+<pkgmetadata>
+  <maintainer type="person">
+    <email>lssndrbarbieri@gmail.com</email>
+    <name>Alessandro Barbieri</name>
+  </maintainer>
+  <longdescription lang="en">
+Hypercorn is an ASGI web server based on the sans-io hyper, h11, h2, and wsproto libraries 
+and inspired by Gunicorn. Hypercorn supports HTTP/1, HTTP/2, WebSockets (over HTTP/1 and 
+HTTP/2), ASGI/2, and ASGI/3 specifications. Hypercorn can utilise asyncio, uvloop, or trio 
+worker types.
+
+Hypercorn can optionally serve the current draft of the HTTP/3 specification 
+using the aioquic library. To enable this install the h3 optional extra, pip install 
+hypercorn[h3] and then choose a quic binding e.g. hypercorn --quic-bind localhost:4433 
+
+Hypercorn was initially part of Quart before being separated out into a
+standalone ASGI server. Hypercorn forked from version 0.5.0 of Quart.
+  </longdescription>
+  <upstream>
+    <remote-id type="github">pgjones/hypercorn</remote-id>
+    <remote-id type="gitlab">pgjones/hypercorn</remote-id>
+    <remote-id type="pypi">hypercorn</remote-id>
+  </upstream>
+</pkgmetadata>
+


^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: dev-python/hypercorn/
@ 2021-02-17 18:03 Andrew Ammerlaan
  0 siblings, 0 replies; 9+ messages in thread
From: Andrew Ammerlaan @ 2021-02-17 18:03 UTC (permalink / raw
  To: gentoo-commits

commit:     cdfdde61a67ab9febb5236af95846d89996b79fd
Author:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
AuthorDate: Wed Feb 17 18:03:29 2021 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
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
+}


^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: dev-python/hypercorn/
  2021-04-13 13:22 [gentoo-commits] repo/proj/guru:master " Andrew Ammerlaan
@ 2021-04-13 12:27 ` Andrew Ammerlaan
  0 siblings, 0 replies; 9+ messages in thread
From: Andrew Ammerlaan @ 2021-04-13 12:27 UTC (permalink / raw
  To: gentoo-commits

commit:     21364053595a83bceb9553991e4d414d19d5b1a8
Author:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
AuthorDate: Tue Apr 13 12:27:44 2021 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Tue Apr 13 12:27:44 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=21364053

dev-python/hypercorn: drop x86

Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net>

 dev-python/hypercorn/hypercorn-0.11.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/hypercorn/hypercorn-0.11.2.ebuild b/dev-python/hypercorn/hypercorn-0.11.2.ebuild
index 056ad59a9..56221e820 100644
--- a/dev-python/hypercorn/hypercorn-0.11.2.ebuild
+++ b/dev-python/hypercorn/hypercorn-0.11.2.ebuild
@@ -25,7 +25,7 @@ SRC_URI="https://github.com/pgjones/hypercorn/archive/${PV}.tar.gz -> ${P}.tar.g
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="~amd64"
 
 RDEPEND="
 	dev-python/h11[${PYTHON_USEDEP}]


^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: dev-python/hypercorn/
@ 2021-10-06 22:37 Alessandro Barbieri
  0 siblings, 0 replies; 9+ messages in thread
From: Alessandro Barbieri @ 2021-10-06 22:37 UTC (permalink / raw
  To: gentoo-commits

commit:     a061df2acc28d02ea217306ea0c00d87635d38aa
Author:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Wed Oct  6 22:37:17 2021 +0000
Commit:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Wed Oct  6 22:37:17 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=a061df2a

dev-python/hypercorn: EAPI 8

Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>

 .../{hypercorn-0.11.2.ebuild => hypercorn-0.11.2-r1.ebuild}      | 9 +++------
 1 file changed, 3 insertions(+), 6 deletions(-)

diff --git a/dev-python/hypercorn/hypercorn-0.11.2.ebuild b/dev-python/hypercorn/hypercorn-0.11.2-r1.ebuild
similarity index 90%
rename from dev-python/hypercorn/hypercorn-0.11.2.ebuild
rename to dev-python/hypercorn/hypercorn-0.11.2-r1.ebuild
index 181ee3e08..b8758ae61 100644
--- a/dev-python/hypercorn/hypercorn-0.11.2.ebuild
+++ b/dev-python/hypercorn/hypercorn-0.11.2-r1.ebuild
@@ -1,7 +1,7 @@
 # Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
+EAPI=8
 
 DISTUTILS_USE_SETUPTOOLS=rdepend
 DOCS_BUILDER="sphinx"
@@ -10,6 +10,7 @@ DOCS_DEPEND="
 	dev-python/pydata-sphinx-theme
 "
 DOCS_DIR="${S}/docs"
+EPYTEST_DESELECT=( tests/trio/test_keep_alive.py::test_http1_keep_alive_pre_request )
 PYTHON_COMPAT=( python3_{8..9} )
 
 inherit distutils-r1 docs optfeature
@@ -29,7 +30,7 @@ KEYWORDS="~amd64"
 
 RDEPEND="
 	dev-python/h11[${PYTHON_USEDEP}]
-	>=dev-python/hyper-h2-3.1.0[${PYTHON_USEDEP}]
+	>=dev-python/h2-3.1.0[${PYTHON_USEDEP}]
 	dev-python/priority[${PYTHON_USEDEP}]
 	dev-python/toml[${PYTHON_USEDEP}]
 	>=dev-python/wsproto-0.14.0[${PYTHON_USEDEP}]
@@ -48,10 +49,6 @@ PATCHES=( "${FILESDIR}/${P}-no-coverage.patch" )
 
 distutils_enable_tests pytest
 
-python_test() {
-	epytest -vv --deselect tests/trio/test_keep_alive.py::test_http1_keep_alive_pre_request || die
-}
-
 pkg_postinst() {
 	optfeature "asyncio event loop on top of libuv" dev-python/uvloop
 	optfeature "websockets support using wsproto" dev-python/wsproto


^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: dev-python/hypercorn/
@ 2022-03-18  4:04 Anna Vyalkova
  0 siblings, 0 replies; 9+ messages in thread
From: Anna Vyalkova @ 2022-03-18  4:04 UTC (permalink / raw
  To: gentoo-commits

commit:     fd7ce548d7622126c744b22b24d079102d57e4fa
Author:     Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
AuthorDate: Fri Mar 18 03:27:35 2022 +0000
Commit:     Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
CommitDate: Fri Mar 18 04:04:09 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=fd7ce548

dev-python/hypercorn: switch to pyproject2setuppy

Closes: https://bugs.gentoo.org/834994
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in>

 dev-python/hypercorn/hypercorn-0.13.2.ebuild | 17 +++++++----------
 1 file changed, 7 insertions(+), 10 deletions(-)

diff --git a/dev-python/hypercorn/hypercorn-0.13.2.ebuild b/dev-python/hypercorn/hypercorn-0.13.2.ebuild
index 6346ab8cb..59803657e 100644
--- a/dev-python/hypercorn/hypercorn-0.13.2.ebuild
+++ b/dev-python/hypercorn/hypercorn-0.13.2.ebuild
@@ -3,16 +3,9 @@
 
 EAPI=8
 
-DISTUTILS_USE_PEP517=poetry
-DOCS_BUILDER="sphinx"
-DOCS_DEPEND="
-	dev-python/sphinxcontrib-napoleon
-	dev-python/pydata-sphinx-theme
-"
-DOCS_DIR="${S}/docs"
+DISTUTILS_USE_SETUPTOOLS=pyproject.toml
 PYTHON_COMPAT=( python3_{8..10} )
-
-inherit distutils-r1 docs
+inherit distutils-r1
 
 DESCRIPTION="ASGI Server based on Hyper libraries and inspired by Gunicorn"
 HOMEPAGE="
@@ -21,7 +14,7 @@ HOMEPAGE="
 	https://github.com/pgjones/hypercorn
 	https://pypi.org/project/Hypercorn/
 "
-SRC_URI="https://github.com/pgjones/hypercorn/archive/${PV}.tar.gz -> ${P}.tar.gz"
+SRC_URI="https://github.com/pgjones/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
@@ -47,3 +40,7 @@ BDEPEND="
 PATCHES=( "${FILESDIR}/${P}-no-coverage.patch" )
 
 distutils_enable_tests pytest
+
+distutils_enable_sphinx docs \
+	dev-python/sphinxcontrib-napoleon \
+	dev-python/pydata-sphinx-theme


^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: dev-python/hypercorn/
@ 2022-03-18 10:02 Alessandro Barbieri
  0 siblings, 0 replies; 9+ messages in thread
From: Alessandro Barbieri @ 2022-03-18 10:02 UTC (permalink / raw
  To: gentoo-commits

commit:     139cb213892840aa30cd0b681bc89f16a9765f2f
Author:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Fri Mar 18 10:02:35 2022 +0000
Commit:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Fri Mar 18 10:02:35 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=139cb213

dev-python/hypercorn: drop 0.11.2-r1

Closes: https://bugs.gentoo.org/816180
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>

 dev-python/hypercorn/Manifest                   |  1 -
 dev-python/hypercorn/hypercorn-0.11.2-r1.ebuild | 58 -------------------------
 2 files changed, 59 deletions(-)

diff --git a/dev-python/hypercorn/Manifest b/dev-python/hypercorn/Manifest
index 40a30786e..b2361427e 100644
--- a/dev-python/hypercorn/Manifest
+++ b/dev-python/hypercorn/Manifest
@@ -1,2 +1 @@
-DIST hypercorn-0.11.2.tar.gz 150475 BLAKE2B fa2c2572fe61aa09bfa62691ac18a8d0149a2e31dda82c77c4fc6ff2720739a824e05ff754d9aec9c499e6c02fb77e1f0a2bd4e3efbb3154730fc369f91b949c SHA512 7d90f654445cc3db6cec001ac8523513dec78bd8bce03ddfb56cd46b999c6d5b4f44a7853f2e88673c3e288c104adae3d105c8c8147f306656136cbb9771b289
 DIST hypercorn-0.13.2.tar.gz 151984 BLAKE2B b0176016819409cb6958a758041bfe710a008d141a52348ce545deb285cb9e6fc0a4c05321d021bfae5b9de96149db9302f9ce40d01b57c3176d6ad9aef61402 SHA512 c7f12c173b2e9da6108388b2a66b2abca7e26e0d2952e9f3828e94d37b9e3df6076395afd8438aaaa7e328f9a4b085d62f6efd28e2503c4db9bc1f430795048e

diff --git a/dev-python/hypercorn/hypercorn-0.11.2-r1.ebuild b/dev-python/hypercorn/hypercorn-0.11.2-r1.ebuild
deleted file mode 100644
index b8758ae61..000000000
--- a/dev-python/hypercorn/hypercorn-0.11.2-r1.ebuild
+++ /dev/null
@@ -1,58 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_SETUPTOOLS=rdepend
-DOCS_BUILDER="sphinx"
-DOCS_DEPEND="
-	dev-python/sphinxcontrib-napoleon
-	dev-python/pydata-sphinx-theme
-"
-DOCS_DIR="${S}/docs"
-EPYTEST_DESELECT=( tests/trio/test_keep_alive.py::test_http1_keep_alive_pre_request )
-PYTHON_COMPAT=( python3_{8..9} )
-
-inherit distutils-r1 docs optfeature
-
-DESCRIPTION="ASGI Server based on Hyper libraries and inspired by Gunicorn"
-HOMEPAGE="
-	https://pgjones.gitlab.io/hypercorn
-	https://gitlab.com/pgjones/hypercorn
-	https://github.com/pgjones/hypercorn
-	https://pypi.org/project/Hypercorn
-"
-SRC_URI="https://github.com/pgjones/hypercorn/archive/${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64"
-
-RDEPEND="
-	dev-python/h11[${PYTHON_USEDEP}]
-	>=dev-python/h2-3.1.0[${PYTHON_USEDEP}]
-	dev-python/priority[${PYTHON_USEDEP}]
-	dev-python/toml[${PYTHON_USEDEP}]
-	>=dev-python/wsproto-0.14.0[${PYTHON_USEDEP}]
-"
-BDEPEND="
-	test? (
-		dev-python/hypothesis[${PYTHON_USEDEP}]
-		>=dev-python/mock-4[${PYTHON_USEDEP}]
-		dev-python/pytest-asyncio[${PYTHON_USEDEP}]
-		dev-python/pytest-trio[${PYTHON_USEDEP}]
-		dev-python/trio[${PYTHON_USEDEP}]
-	)
-"
-
-PATCHES=( "${FILESDIR}/${P}-no-coverage.patch" )
-
-distutils_enable_tests pytest
-
-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
-}


^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: dev-python/hypercorn/
@ 2022-03-23 16:17 Ronny Gutbrod
  0 siblings, 0 replies; 9+ messages in thread
From: Ronny Gutbrod @ 2022-03-23 16:17 UTC (permalink / raw
  To: gentoo-commits

commit:     49c0d43d1e33aed01e009e74065e276d441feb5a
Author:     Ronny (tastytea) Gutbrod <gentoo <AT> tastytea <DOT> de>
AuthorDate: Wed Mar 23 15:31:53 2022 +0000
Commit:     Ronny Gutbrod <gentoo <AT> tastytea <DOT> de>
CommitDate: Wed Mar 23 16:15:15 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=49c0d43d

dev-python/hypercorn: Fix HOMEPAGE

Old URL is a permanent redirect to new URL.

Signed-off-by: Ronny (tastytea) Gutbrod <gentoo <AT> tastytea.de>

 dev-python/hypercorn/hypercorn-0.13.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/hypercorn/hypercorn-0.13.2.ebuild b/dev-python/hypercorn/hypercorn-0.13.2.ebuild
index 59803657e..2911fac5d 100644
--- a/dev-python/hypercorn/hypercorn-0.13.2.ebuild
+++ b/dev-python/hypercorn/hypercorn-0.13.2.ebuild
@@ -12,7 +12,7 @@ HOMEPAGE="
 	https://pgjones.gitlab.io/hypercorn
 	https://gitlab.com/pgjones/hypercorn
 	https://github.com/pgjones/hypercorn
-	https://pypi.org/project/Hypercorn/
+	https://pypi.org/project/hypercorn/
 "
 SRC_URI="https://github.com/pgjones/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
 


^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: dev-python/hypercorn/
@ 2022-05-31  7:27 Anna Vyalkova
  0 siblings, 0 replies; 9+ messages in thread
From: Anna Vyalkova @ 2022-05-31  7:27 UTC (permalink / raw
  To: gentoo-commits

commit:     1e2188c288a3110ce612edc0552e6d637add2941
Author:     Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
AuthorDate: Tue May 31 06:53:33 2022 +0000
Commit:     Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
CommitDate: Tue May 31 07:26:48 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=1e2188c2

dev-python/hypercorn: update SRC_URI

Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in>

 dev-python/hypercorn/Manifest                | 2 +-
 dev-python/hypercorn/hypercorn-0.13.2.ebuild | 7 +++----
 2 files changed, 4 insertions(+), 5 deletions(-)

diff --git a/dev-python/hypercorn/Manifest b/dev-python/hypercorn/Manifest
index b2361427e..08d494604 100644
--- a/dev-python/hypercorn/Manifest
+++ b/dev-python/hypercorn/Manifest
@@ -1 +1 @@
-DIST hypercorn-0.13.2.tar.gz 151984 BLAKE2B b0176016819409cb6958a758041bfe710a008d141a52348ce545deb285cb9e6fc0a4c05321d021bfae5b9de96149db9302f9ce40d01b57c3176d6ad9aef61402 SHA512 c7f12c173b2e9da6108388b2a66b2abca7e26e0d2952e9f3828e94d37b9e3df6076395afd8438aaaa7e328f9a4b085d62f6efd28e2503c4db9bc1f430795048e
+DIST hypercorn-0.13.2.gh.tar.gz 151984 BLAKE2B b0176016819409cb6958a758041bfe710a008d141a52348ce545deb285cb9e6fc0a4c05321d021bfae5b9de96149db9302f9ce40d01b57c3176d6ad9aef61402 SHA512 c7f12c173b2e9da6108388b2a66b2abca7e26e0d2952e9f3828e94d37b9e3df6076395afd8438aaaa7e328f9a4b085d62f6efd28e2503c4db9bc1f430795048e

diff --git a/dev-python/hypercorn/hypercorn-0.13.2.ebuild b/dev-python/hypercorn/hypercorn-0.13.2.ebuild
index 2911fac5d..2b56db096 100644
--- a/dev-python/hypercorn/hypercorn-0.13.2.ebuild
+++ b/dev-python/hypercorn/hypercorn-0.13.2.ebuild
@@ -3,6 +3,7 @@
 
 EAPI=8
 
+# bug #834994
 DISTUTILS_USE_SETUPTOOLS=pyproject.toml
 PYTHON_COMPAT=( python3_{8..10} )
 inherit distutils-r1
@@ -14,7 +15,7 @@ HOMEPAGE="
 	https://github.com/pgjones/hypercorn
 	https://pypi.org/project/hypercorn/
 "
-SRC_URI="https://github.com/pgjones/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+SRC_URI="https://github.com/pgjones/${PN}/archive/${PV}.tar.gz -> ${P}.gh.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
@@ -41,6 +42,4 @@ PATCHES=( "${FILESDIR}/${P}-no-coverage.patch" )
 
 distutils_enable_tests pytest
 
-distutils_enable_sphinx docs \
-	dev-python/sphinxcontrib-napoleon \
-	dev-python/pydata-sphinx-theme
+distutils_enable_sphinx docs dev-python/pydata-sphinx-theme


^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: dev-python/hypercorn/
@ 2022-10-07 13:12 Arthur Zamarin
  0 siblings, 0 replies; 9+ messages in thread
From: Arthur Zamarin @ 2022-10-07 13:12 UTC (permalink / raw
  To: gentoo-commits

commit:     7b602a2dea1b6678f5d0f2a1a0507436b9c9fa29
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Fri Oct  7 13:12:38 2022 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Fri Oct  7 13:12:38 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=7b602a2d

dev-python/hypercorn: use pep517

Closes: https://bugs.gentoo.org/875857
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 dev-python/hypercorn/hypercorn-0.13.2.ebuild | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

diff --git a/dev-python/hypercorn/hypercorn-0.13.2.ebuild b/dev-python/hypercorn/hypercorn-0.13.2.ebuild
index 2b56db096..24053ec78 100644
--- a/dev-python/hypercorn/hypercorn-0.13.2.ebuild
+++ b/dev-python/hypercorn/hypercorn-0.13.2.ebuild
@@ -3,8 +3,7 @@
 
 EAPI=8
 
-# bug #834994
-DISTUTILS_USE_SETUPTOOLS=pyproject.toml
+DISTUTILS_USE_PEP517=poetry
 PYTHON_COMPAT=( python3_{8..10} )
 inherit distutils-r1
 
@@ -15,7 +14,10 @@ HOMEPAGE="
 	https://github.com/pgjones/hypercorn
 	https://pypi.org/project/hypercorn/
 "
-SRC_URI="https://github.com/pgjones/${PN}/archive/${PV}.tar.gz -> ${P}.gh.tar.gz"
+SRC_URI="
+	https://github.com/pgjones/hypercorn/archive/${PV}.tar.gz
+		-> ${P}.gh.tar.gz
+"
 
 LICENSE="MIT"
 SLOT="0"
@@ -42,4 +44,5 @@ PATCHES=( "${FILESDIR}/${P}-no-coverage.patch" )
 
 distutils_enable_tests pytest
 
-distutils_enable_sphinx docs dev-python/pydata-sphinx-theme
+distutils_enable_sphinx docs \
+	dev-python/pydata-sphinx-theme


^ permalink raw reply related	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2022-10-07 13:12 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-03-18  4:04 [gentoo-commits] repo/proj/guru:dev commit in: dev-python/hypercorn/ Anna Vyalkova
  -- strict thread matches above, loose matches on Subject: below --
2022-10-07 13:12 Arthur Zamarin
2022-05-31  7:27 Anna Vyalkova
2022-03-23 16:17 Ronny Gutbrod
2022-03-18 10:02 Alessandro Barbieri
2021-10-06 22:37 Alessandro Barbieri
2021-04-13 13:22 [gentoo-commits] repo/proj/guru:master " Andrew Ammerlaan
2021-04-13 12:27 ` [gentoo-commits] repo/proj/guru:dev " Andrew Ammerlaan
2021-02-17 18:03 Andrew Ammerlaan
2020-12-06  9:40 Alessandro Barbieri

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox