[gentoo-commits] repo/proj/guru:dev commit in: dev-python/hypercorn/files/, dev-python/hypercorn/

2022-12-19 Thread Julien Roy
commit: eaa6e4e7161d7914c7a7f49d8e4e9ee59e720d7a
Author: Julien Roy  jroy  ca>
AuthorDate: Mon Dec 19 22:08:25 2022 +
Commit: Julien Roy  jroy  ca>
CommitDate: Mon Dec 19 22:08:39 2022 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=eaa6e4e7

dev-python/hypercorn: treeclean
dev-python/hypercorn is now in ::gentoo

Signed-off-by: Julien Roy  jroy.ca>

 dev-python/hypercorn/Manifest  |  1 -
 .../files/hypercorn-0.11.2-no-coverage.patch   |  9 
 .../files/hypercorn-0.13.2-no-coverage.patch   | 11 -
 dev-python/hypercorn/hypercorn-0.13.2.ebuild   | 48 --
 dev-python/hypercorn/metadata.xml  | 28 -
 5 files changed, 97 deletions(-)

diff --git a/dev-python/hypercorn/Manifest b/dev-python/hypercorn/Manifest
deleted file mode 100644
index 08d494604..0
--- a/dev-python/hypercorn/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST hypercorn-0.13.2.gh.tar.gz 151984 BLAKE2B 
b0176016819409cb6958a758041bfe710a008d141a52348ce545deb285cb9e6fc0a4c05321d021bfae5b9de96149db9302f9ce40d01b57c3176d6ad9aef61402
 SHA512 
c7f12c173b2e9da6108388b2a66b2abca7e26e0d2952e9f3828e94d37b9e3df6076395afd84387e328f9a4b085d62f6efd28e2503c4db9bc1f430795048e

diff --git a/dev-python/hypercorn/files/hypercorn-0.11.2-no-coverage.patch 
b/dev-python/hypercorn/files/hypercorn-0.11.2-no-coverage.patch
deleted file mode 100644
index 8c3f4210a..0
--- a/dev-python/hypercorn/files/hypercorn-0.11.2-no-coverage.patch
+++ /dev/null
@@ -1,9 +0,0 @@
 a/setup.cfg
-+++ b/setup.cfg
-@@ -43,5 +43,5 @@
- ignore_missing_imports = True
- 
- [tool:pytest]
--addopts = --no-cov-on-fail --showlocals
-+addopts = --showlocals
- testpaths = tests

diff --git a/dev-python/hypercorn/files/hypercorn-0.13.2-no-coverage.patch 
b/dev-python/hypercorn/files/hypercorn-0.13.2-no-coverage.patch
deleted file mode 100644
index 78609bd73..0
--- a/dev-python/hypercorn/files/hypercorn-0.13.2-no-coverage.patch
+++ /dev/null
@@ -1,11 +0,0 @@
 a/pyproject.toml
-+++ b/pyproject.toml
-@@ -88,7 +88,7 @@
- ignore_missing_imports = true
- 
- [tool.pytest.ini_options]
--addopts = "--no-cov-on-fail --showlocals --strict-markers"
-+addopts = "--showlocals --strict-markers"
- testpaths = ["tests"]
- 
- [build-system]

diff --git a/dev-python/hypercorn/hypercorn-0.13.2.ebuild 
b/dev-python/hypercorn/hypercorn-0.13.2.ebuild
deleted file mode 100644
index 24053ec78..0
--- a/dev-python/hypercorn/hypercorn-0.13.2.ebuild
+++ /dev/null
@@ -1,48 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_PEP517=poetry
-PYTHON_COMPAT=( python3_{8..10} )
-inherit distutils-r1
-
-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}.gh.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
-
-distutils_enable_sphinx docs \
-   dev-python/pydata-sphinx-theme

diff --git a/dev-python/hypercorn/metadata.xml 
b/dev-python/hypercorn/metadata.xml
deleted file mode 100644
index f39c42410..0
--- a/dev-python/hypercorn/metadata.xml
+++ /dev/null
@@ -1,28 +0,0 @@
-
-http://www.gentoo.org/dtd/metadata.dtd;>
-
-
-  
-lssndrbarbi...@gmail.com
-Alessandro Barbieri
-  
-  
-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.
-  
-  
-pgjones/hypercorn
-pgjones/hypercorn
- 

[gentoo-commits] repo/proj/guru:dev commit in: dev-python/hypercorn/

2022-10-07 Thread Arthur Zamarin
commit: 7b602a2dea1b6678f5d0f2a1a0507436b9c9fa29
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Fri Oct  7 13:12:38 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Fri Oct  7 13:12:38 2022 +
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  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



[gentoo-commits] repo/proj/guru:dev commit in: dev-python/hypercorn/

2022-03-23 Thread Ronny Gutbrod
commit: 49c0d43d1e33aed01e009e74065e276d441feb5a
Author: Ronny (tastytea) Gutbrod  tastytea  de>
AuthorDate: Wed Mar 23 15:31:53 2022 +
Commit: Ronny Gutbrod  tastytea  de>
CommitDate: Wed Mar 23 16:15:15 2022 +
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  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"
 



[gentoo-commits] repo/proj/guru:dev commit in: dev-python/hypercorn/

2022-03-18 Thread Alessandro Barbieri
commit: 139cb213892840aa30cd0b681bc89f16a9765f2f
Author: Alessandro Barbieri  gmail  com>
AuthorDate: Fri Mar 18 10:02:35 2022 +
Commit: Alessandro Barbieri  gmail  com>
CommitDate: Fri Mar 18 10:02:35 2022 +
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  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 
c7f12c173b2e9da6108388b2a66b2abca7e26e0d2952e9f3828e94d37b9e3df6076395afd84387e328f9a4b085d62f6efd28e2503c4db9bc1f430795048e

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..0
--- 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
-}



[gentoo-commits] repo/proj/guru:dev commit in: dev-python/hypercorn/, dev-python/hypercorn/files/

2022-03-10 Thread Alessandro Barbieri
commit: 061c9934633875c69d045a7667446e09b33f1881
Author: Alessandro Barbieri  gmail  com>
AuthorDate: Fri Mar 11 02:47:51 2022 +
Commit: Alessandro Barbieri  gmail  com>
CommitDate: Fri Mar 11 02:47:51 2022 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=061c9934

dev-python/hypercorn: add 0.13.2

Signed-off-by: Alessandro Barbieri  gmail.com>

 dev-python/hypercorn/Manifest  |  1 +
 .../files/hypercorn-0.13.2-no-coverage.patch   | 11 +
 dev-python/hypercorn/hypercorn-0.13.2.ebuild   | 49 ++
 3 files changed, 61 insertions(+)

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

diff --git a/dev-python/hypercorn/files/hypercorn-0.13.2-no-coverage.patch 
b/dev-python/hypercorn/files/hypercorn-0.13.2-no-coverage.patch
new file mode 100644
index 0..78609bd73
--- /dev/null
+++ b/dev-python/hypercorn/files/hypercorn-0.13.2-no-coverage.patch
@@ -0,0 +1,11 @@
+--- a/pyproject.toml
 b/pyproject.toml
+@@ -88,7 +88,7 @@
+ ignore_missing_imports = true
+ 
+ [tool.pytest.ini_options]
+-addopts = "--no-cov-on-fail --showlocals --strict-markers"
++addopts = "--showlocals --strict-markers"
+ testpaths = ["tests"]
+ 
+ [build-system]

diff --git a/dev-python/hypercorn/hypercorn-0.13.2.ebuild 
b/dev-python/hypercorn/hypercorn-0.13.2.ebuild
new file mode 100644
index 0..6346ab8cb
--- /dev/null
+++ b/dev-python/hypercorn/hypercorn-0.13.2.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=poetry
+DOCS_BUILDER="sphinx"
+DOCS_DEPEND="
+   dev-python/sphinxcontrib-napoleon
+   dev-python/pydata-sphinx-theme
+"
+DOCS_DIR="${S}/docs"
+PYTHON_COMPAT=( python3_{8..10} )
+
+inherit distutils-r1 docs
+
+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



[gentoo-commits] repo/proj/guru:dev commit in: dev-python/hypercorn/

2021-10-06 Thread Alessandro Barbieri
commit: a061df2acc28d02ea217306ea0c00d87635d38aa
Author: Alessandro Barbieri  gmail  com>
AuthorDate: Wed Oct  6 22:37:17 2021 +
Commit: Alessandro Barbieri  gmail  com>
CommitDate: Wed Oct  6 22:37:17 2021 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=a061df2a

dev-python/hypercorn: EAPI 8

Signed-off-by: Alessandro Barbieri  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



[gentoo-commits] repo/proj/guru:dev commit in: dev-python/hypercorn/, dev-python/hypercorn/files/

2021-07-04 Thread Alessandro Barbieri
commit: d60b2ff1e30f2cf31c8879e9854e0aefd1d1922b
Author: Alessandro Barbieri  gmail  com>
AuthorDate: Mon Jul  5 01:20:16 2021 +
Commit: Alessandro Barbieri  gmail  com>
CommitDate: Mon Jul  5 01:20:16 2021 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=d60b2ff1

dev-python/hypercorn: ebuild maintenance

Closes: https://bugs.gentoo.org/784044
Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Alessandro Barbieri  gmail.com>

 .../hypercorn/files/hypercorn-0.11.2-no-coverage.patch |  9 +
 dev-python/hypercorn/hypercorn-0.11.2.ebuild   | 18 ++
 2 files changed, 15 insertions(+), 12 deletions(-)

diff --git a/dev-python/hypercorn/files/hypercorn-0.11.2-no-coverage.patch 
b/dev-python/hypercorn/files/hypercorn-0.11.2-no-coverage.patch
new file mode 100644
index 0..8c3f4210a
--- /dev/null
+++ b/dev-python/hypercorn/files/hypercorn-0.11.2-no-coverage.patch
@@ -0,0 +1,9 @@
+--- a/setup.cfg
 b/setup.cfg
+@@ -43,5 +43,5 @@
+ ignore_missing_imports = True
+ 
+ [tool:pytest]
+-addopts = --no-cov-on-fail --showlocals
++addopts = --showlocals
+ testpaths = tests

diff --git a/dev-python/hypercorn/hypercorn-0.11.2.ebuild 
b/dev-python/hypercorn/hypercorn-0.11.2.ebuild
index 56221e820..181ee3e08 100644
--- a/dev-python/hypercorn/hypercorn-0.11.2.ebuild
+++ b/dev-python/hypercorn/hypercorn-0.11.2.ebuild
@@ -3,20 +3,20 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_{7,8,9} )
 DISTUTILS_USE_SETUPTOOLS=rdepend
-
 DOCS_BUILDER="sphinx"
 DOCS_DEPEND="
dev-python/sphinxcontrib-napoleon
dev-python/pydata-sphinx-theme
 "
 DOCS_DIR="${S}/docs"
+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
@@ -33,29 +33,23 @@ RDEPEND="
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}]
-   

[gentoo-commits] repo/proj/guru:dev commit in: dev-python/hypercorn/

2021-04-13 Thread Andrew Ammerlaan
commit: 21364053595a83bceb9553991e4d414d19d5b1a8
Author: Andrew Ammerlaan  riseup  net>
AuthorDate: Tue Apr 13 12:27:44 2021 +
Commit: Andrew Ammerlaan  riseup  net>
CommitDate: Tue Apr 13 12:27:44 2021 +
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  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}]



[gentoo-commits] repo/proj/guru:dev commit in: dev-python/hypercorn/

2021-02-17 Thread Andrew Ammerlaan
commit: cdfdde61a67ab9febb5236af95846d89996b79fd
Author: Andrew Ammerlaan  riseup  net>
AuthorDate: Wed Feb 17 18:03:29 2021 +
Commit: Andrew Ammerlaan  riseup  net>
CommitDate: Wed Feb 17 18:03:29 2021 +
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  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}]


[gentoo-commits] repo/proj/guru:dev commit in: dev-python/hypercorn/

2020-12-06 Thread Alessandro Barbieri
commit: 40f212a7e957fedab52f3bff6edc0f2d3cd16cc3
Author: Alessandro Barbieri  gmail  com>
AuthorDate: Sun Dec  6 08:50:12 2020 +
Commit: Alessandro Barbieri  gmail  com>
CommitDate: Sun Dec  6 09:40:08 2020 +
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  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 ..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 ..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}]
+   
+http://www.gentoo.org/dtd/metadata.dtd;>
+
+
+  
+lssndrbarbi...@gmail.com
+Alessandro Barbieri
+  
+  
+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.
+  
+  
+pgjones/hypercorn
+pgjones/hypercorn
+hypercorn
+  
+
+