[gentoo-commits] repo/proj/guru:dev commit in: dev-python/uvicorn/, dev-python/httpx/, dev-python/httpcore/, dev-python/gssapi/

2021-02-24 Thread Andrew Ammerlaan
commit: 8c501e2d1240b9abe48df652da643e95b1d3e9cc
Author: Andrew Ammerlaan  riseup  net>
AuthorDate: Wed Feb 24 18:47:19 2021 +
Commit: Andrew Ammerlaan  riseup  net>
CommitDate: Wed Feb 24 18:47:19 2021 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=8c501e2d

dev-python/{gssapi,httpcore,httpx,uvicorn}: moved to ::gentoo

Signed-off-by: Andrew Ammerlaan  riseup.net>

 dev-python/gssapi/Manifest |  1 -
 dev-python/gssapi/gssapi-1.6.12.ebuild | 40 
 dev-python/gssapi/metadata.xml | 20 
 dev-python/httpcore/Manifest   |  2 -
 dev-python/httpcore/httpcore-0.10.1.ebuild | 44 -
 dev-python/httpcore/httpcore-0.12.3.ebuild | 48 ---
 dev-python/httpcore/metadata.xml   | 26 --
 dev-python/httpx/Manifest  |  3 --
 dev-python/httpx/httpx-0.11.1.ebuild   | 71 ---
 dev-python/httpx/httpx-0.13.3.ebuild   | 55 -
 dev-python/httpx/httpx-0.16.1.ebuild   | 61 ---
 dev-python/httpx/metadata.xml  | 44 -
 dev-python/uvicorn/Manifest|  1 -
 dev-python/uvicorn/metadata.xml| 20 
 dev-python/uvicorn/uvicorn-0.13.3.ebuild   | 77 --
 15 files changed, 513 deletions(-)

diff --git a/dev-python/gssapi/Manifest b/dev-python/gssapi/Manifest
deleted file mode 100644
index 5fd8afe9..
--- a/dev-python/gssapi/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST python-gssapi-1.6.12.tar.gz 11520426 BLAKE2B 
1e5be34c15e806ad1bb8d1093850489ce0962d828a50690d3020ea7b7a614eca5cdfe220ab6c9b23964d10075e607143b0804db842249ee003f961db608da9e2
 SHA512 
3626521250f320f01bb8fe79a60c79e51f8e306fd16d90a281abac1b88cfce65fec5dd67c4e8396a5832204ba7478a2c4bc6c5c2216038b99d2cc27cfd2e26b0

diff --git a/dev-python/gssapi/gssapi-1.6.12.ebuild 
b/dev-python/gssapi/gssapi-1.6.12.ebuild
deleted file mode 100644
index 1627510b..
--- a/dev-python/gssapi/gssapi-1.6.12.ebuild
+++ /dev/null
@@ -1,40 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="7"
-
-PYTHON_COMPAT=( python3_{7,8,9} )
-DOCS_BUILDER="sphinx"
-DOCS_DIR="docs/source"
-DOCS_DEPEND="
-   >=dev-python/recommonmark-0.4.0
-   >dev-python/sphinx_rtd_theme-0.2.5
-"
-inherit distutils-r1 docs
-
-DESCRIPTION="A Python interface to RFC 2743/2744 (plus common extensions)"
-HOMEPAGE="
-   https://github.com/pythongssapi/python-gssapi
-   https://pypi.org/project/gssapi
-"
-SRC_URI="https://github.com/pythongssapi/python-${PN}/releases/download/v${PV}/python-${P}.tar.gz;
-
-LICENSE="ISC"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-#help wanted
-RESTRICT="test"
-
-S="${WORKDIR}/python-${P}"
-
-RDEPEND="dev-python/decorator[${PYTHON_USEDEP}]"
-
-BDEPEND="${RDEPEND}
-   dev-python/cython[${PYTHON_USEDEP}]
-   test? (
-   dev-python/k5test[${PYTHON_USEDEP}]
-   dev-python/parameterized[${PYTHON_USEDEP}]
-   )
-"
-
-distutils_enable_tests --install nose

diff --git a/dev-python/gssapi/metadata.xml b/dev-python/gssapi/metadata.xml
deleted file mode 100644
index 6cce2142..
--- a/dev-python/gssapi/metadata.xml
+++ /dev/null
@@ -1,20 +0,0 @@
-
-http://www.gentoo.org/dtd/metadata.dtd;>
-
-  
-lssndrbarbi...@gmail.com
-Alessandro Barbieri
-  
-  
-https://github.com/pythongssapi/python-gssapi/issues
-
-  rharw...@redhat.com
-  Robbie Harwood
-
-gssapi
-pythongssapi/python-gssapi
-  
-  
-Python-GSSAPI provides both low-level and high level wrappers around the 
GSSAPI C libraries. While it focuses on the Kerberos mechanism, it should also 
be useable with other GSSAPI mechanisms.
-  
-

diff --git a/dev-python/httpcore/Manifest b/dev-python/httpcore/Manifest
deleted file mode 100644
index b4f19213..
--- a/dev-python/httpcore/Manifest
+++ /dev/null
@@ -1,2 +0,0 @@
-DIST httpcore-0.10.1.tar.gz 42164 BLAKE2B 
939dac21235f56e0d39ee4cbe7dca9f686fb086598c35d5335532baaa4fb36e904f9cb9676ba8c412deb5f560a1b379d53148fda11e74a18a37743613ee5
 SHA512 
1eddc62f0b2a0c48166de0d2f1717de7db2dd1e1ae959d07ed74e19e098fb5470c4a94348d33614226671870edf134288808aea332abb71f776bb733ff26053f
-DIST httpcore-0.12.3.tar.gz 57587 BLAKE2B 
3c0e7a210b21e54564c4c6077fadf66344b887662c71b05a1ad4a2c0224a4d703eccdf576d4443341176edee03b6776bfd49aaef2ea2f29f02614677e1dfad85
 SHA512 
b31535231dc2b6a5f1c9c0c538628f75360f04b4747b447ab0a7168ed32d0eabd463335c2f7fa782dcabb4cbc32891a2839ae50e0999d5a791c01b02533d38f0

diff --git a/dev-python/httpcore/httpcore-0.10.1.ebuild 
b/dev-python/httpcore/httpcore-0.10.1.ebuild
deleted file mode 100644
index 5df6a34e..
--- a/dev-python/httpcore/httpcore-0.10.1.ebuild
+++ /dev/null
@@ -1,44 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-

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

2021-02-17 Thread Andrew Ammerlaan
commit: 2b66835e324dee2c0b8dc51517cf94964ceb2de3
Author: Andrew Ammerlaan  riseup  net>
AuthorDate: Wed Feb 17 18:45:54 2021 +
Commit: Andrew Ammerlaan  riseup  net>
CommitDate: Wed Feb 17 18:45:54 2021 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=2b66835e

dev-python/uvicorn: add py3.9

Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Andrew Ammerlaan  riseup.net>

 dev-python/uvicorn/uvicorn-0.13.3.ebuild | 6 +-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/dev-python/uvicorn/uvicorn-0.13.3.ebuild 
b/dev-python/uvicorn/uvicorn-0.13.3.ebuild
index ffb4f1c3..927e2d41 100644
--- a/dev-python/uvicorn/uvicorn-0.13.3.ebuild
+++ b/dev-python/uvicorn/uvicorn-0.13.3.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_{7,8} )
+PYTHON_COMPAT=( python3_{7,8,9} )
 DISTUTILS_USE_SETUPTOOLS=rdepend
 
 DOCS_BUILDER="mkdocs"
@@ -20,6 +20,10 @@ LICENSE="BSD"
 KEYWORDS="~amd64 ~x86"
 SLOT="0"
 
+# lots of these
+# 'AsyncConnectionPool' object has no attribute 'arequest'
+RESTRICT="test"
+
 RDEPEND="
>=dev-python/click-7[${PYTHON_USEDEP}]


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

2021-02-07 Thread Andrew Ammerlaan
commit: 80957eb7ff14d070477c639a6875e78db2eb2f6f
Author: Andrew Ammerlaan  riseup  net>
AuthorDate: Sun Feb  7 08:24:00 2021 +
Commit: Andrew Ammerlaan  riseup  net>
CommitDate: Sun Feb  7 08:24:00 2021 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=80957eb7

dev-python/uvicorn: fix dependencies

tests pas with newer version of dev-python/watchgod

Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Andrew Ammerlaan  riseup.net>

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

diff --git a/dev-python/uvicorn/uvicorn-0.13.3.ebuild 
b/dev-python/uvicorn/uvicorn-0.13.3.ebuild
index d6a523d6..ffb4f1c3 100644
--- a/dev-python/uvicorn/uvicorn-0.13.3.ebuild
+++ b/dev-python/uvicorn/uvicorn-0.13.3.ebuild
@@ -36,11 +36,11 @@ BDEPEND="test? (
dev-python/trustme[${PYTHON_USEDEP}]
>=dev-python/uvloop-0.14.0[${PYTHON_USEDEP}]
>=dev-python/websockets-8.0[${PYTHON_USEDEP}]
+   =dev-python/httptools-0.1[${PYTHON_USEDEP}]
=dev-python/watchgod-0.6[${PYTHON_USEDEP}]
-   

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

2021-01-03 Thread Andrew Ammerlaan
commit: ed2387f431b1cf04733ed9034d2ecd74c88b51a8
Author: Andrew Ammerlaan  riseup  net>
AuthorDate: Sun Jan  3 14:29:21 2021 +
Commit: Andrew Ammerlaan  riseup  net>
CommitDate: Sun Jan  3 14:29:21 2021 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=ed2387f4

dev-python/uvicorn: version bump 0.13.3

Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Andrew Ammerlaan  riseup.net>

 dev-python/uvicorn/Manifest | 2 +-
 dev-python/uvicorn/{uvicorn-0.13.1.ebuild => uvicorn-0.13.3.ebuild} | 4 +++-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/dev-python/uvicorn/Manifest b/dev-python/uvicorn/Manifest
index 08b4b84a..2bc44c34 100644
--- a/dev-python/uvicorn/Manifest
+++ b/dev-python/uvicorn/Manifest
@@ -1 +1 @@
-DIST uvicorn-0.13.1.tar.gz 506827 BLAKE2B 
bded67c6bbf0e4be456acc0f4303ad29160002bc38e8ebef2fe545f0204d80dbdc813983169c1c42bb78251e4e0f585ac67b8a10a0f740b95731836c8ebb3d1f
 SHA512 
a8ad800c6fc96137bb8cc444fd55d2bea3b7f63c3cee9db6662c73be9a01437805342ae909029bd5b9163643ce1648ee447264b2c51fd1706aa00a0fea089185
+DIST uvicorn-0.13.3.tar.gz 506306 BLAKE2B 
cd7d92a2c88ad00776eca3343e322c75207ea7948c5f3f27d91b241af826cdc597d05919acc33e5bdb37357cfb2fd0895cb2874a9cdaecaaa79b77e555110757
 SHA512 
c332f4a766e42a042068b2a7aa10dfde66b2a84a5c7101a0523d64c1883275597b17fa73fef54f0144f1b8612777e89867933582922ae0ec684fb0aa7090eca9

diff --git a/dev-python/uvicorn/uvicorn-0.13.1.ebuild 
b/dev-python/uvicorn/uvicorn-0.13.3.ebuild
similarity index 94%
rename from dev-python/uvicorn/uvicorn-0.13.1.ebuild
rename to dev-python/uvicorn/uvicorn-0.13.3.ebuild
index 3cd9c7e2..d6a523d6 100644
--- a/dev-python/uvicorn/uvicorn-0.13.1.ebuild
+++ b/dev-python/uvicorn/uvicorn-0.13.3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -28,6 +28,7 @@ RDEPEND="
 "
 
 BDEPEND="test? (
+   dev-python/cryptography[${PYTHON_USEDEP}]
>=dev-python/colorama-0.4[${PYTHON_USEDEP}]
dev-python/pytest-mock[${PYTHON_USEDEP}]
>=dev-python/python-dotenv-0.13[${PYTHON_USEDEP}]
@@ -37,6 +38,7 @@ BDEPEND="test? (
>=dev-python/websockets-8.0[${PYTHON_USEDEP}]
>=dev-python/httptools-0.1[${PYTHON_USEDEP}]
=dev-python/watchgod-0.6[${PYTHON_USEDEP}]


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

2020-12-18 Thread Andrew Ammerlaan
commit: acef8a4e406f55f12818e52ba3864c0b057e0a26
Author: Andrew Ammerlaan  riseup  net>
AuthorDate: Fri Dec 18 13:25:24 2020 +
Commit: Andrew Ammerlaan  riseup  net>
CommitDate: Fri Dec 18 13:25:24 2020 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=acef8a4e

dev-python/uvicorn: version bump 0.13.1

Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Andrew Ammerlaan  riseup.net>

 dev-python/uvicorn/Manifest|  3 +-
 dev-python/uvicorn/uvicorn-0.12.2.ebuild   | 61 --
 ...uvicorn-0.12.3.ebuild => uvicorn-0.13.1.ebuild} |  1 -
 3 files changed, 1 insertion(+), 64 deletions(-)

diff --git a/dev-python/uvicorn/Manifest b/dev-python/uvicorn/Manifest
index 7eca0da2..08b4b84a 100644
--- a/dev-python/uvicorn/Manifest
+++ b/dev-python/uvicorn/Manifest
@@ -1,2 +1 @@
-DIST uvicorn-0.12.2.tar.gz 503530 BLAKE2B 
ab2b4e0a256127430f19f75431ca15652ad28d7d525e1ae00dc6c4d61a4c5affec6800e5ad4823954996d3d390c339f63502d9002fd9e5a8377055e0ee86e9ca
 SHA512 
cc94f9482f4417c6cc79283c0ae1b9d658df9131f3d70d52ae4f1c03fdd7aef28ed902a722827529cb97e302f90bfe208d966546f6484bc01762e8f691121c49
-DIST uvicorn-0.12.3.tar.gz 505606 BLAKE2B 
852ca5f624842680fc514fb1db4b62605aa31aca801efdb25e460ff4b5c49e22a58b732778f35e6f606d14cd8cab962c5426f01617d573934daa62167553acf3
 SHA512 
72f823ad0f16738b23e796f02916627908c6619b41c931a33aeef60d7929479f863f97da2f60b0a4265ce57b7397af4f4019f0ae784319cc44c178dfecc2f07c
+DIST uvicorn-0.13.1.tar.gz 506827 BLAKE2B 
bded67c6bbf0e4be456acc0f4303ad29160002bc38e8ebef2fe545f0204d80dbdc813983169c1c42bb78251e4e0f585ac67b8a10a0f740b95731836c8ebb3d1f
 SHA512 
a8ad800c6fc96137bb8cc444fd55d2bea3b7f63c3cee9db6662c73be9a01437805342ae909029bd5b9163643ce1648ee447264b2c51fd1706aa00a0fea089185

diff --git a/dev-python/uvicorn/uvicorn-0.12.2.ebuild 
b/dev-python/uvicorn/uvicorn-0.12.2.ebuild
deleted file mode 100644
index 181ee989..
--- a/dev-python/uvicorn/uvicorn-0.12.2.ebuild
+++ /dev/null
@@ -1,61 +0,0 @@
-# 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
-
-DOCS_BUILDER="mkdocs"
-DOCS_DEPEND="dev-python/mkdocs-material"
-
-inherit distutils-r1 docs optfeature
-
-DESCRIPTION="The lightning-fast ASGI server"
-HOMEPAGE="https://www.uvicorn.org/
-   https://github.com/encode/uvicorn;
-SRC_URI="https://github.com/encode/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="BSD"
-KEYWORDS="~amd64 ~x86"
-SLOT="0"
-
-RDEPEND="
-   dev-python/click[${PYTHON_USEDEP}]
-   dev-python/h11[${PYTHON_USEDEP}]
-   dev-python/typing-extensions[${PYTHON_USEDEP}]
-"
-
-BDEPEND="test? (
-   dev-python/colorama[${PYTHON_USEDEP}]
-   dev-python/pytest-mock[${PYTHON_USEDEP}]
-   dev-python/python-dotenv[${PYTHON_USEDEP}]
-   dev-python/pyyaml[${PYTHON_USEDEP}]
-   dev-python/trustme[${PYTHON_USEDEP}]
-   >=dev-python/uvloop-0.14.0[${PYTHON_USEDEP}]
-   >=dev-python/websockets-8.0[${PYTHON_USEDEP}]
-   dev-python/httptools[${PYTHON_USEDEP}]
-   >=dev-python/watchgod-0.6[${PYTHON_USEDEP}]
-   dev-python/wsproto[${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
-}

diff --git a/dev-python/uvicorn/uvicorn-0.12.3.ebuild 
b/dev-python/uvicorn/uvicorn-0.13.1.ebuild
similarity index 99%
rename from dev-python/uvicorn/uvicorn-0.12.3.ebuild
rename to dev-python/uvicorn/uvicorn-0.13.1.ebuild
index 33587188..3cd9c7e2 100644
--- a/dev-python/uvicorn/uvicorn-0.12.3.ebuild
+++ b/dev-python/uvicorn/uvicorn-0.13.1.ebuild
@@ -4,7 +4,6 @@
 EAPI=7
 
 PYTHON_COMPAT=( python3_{7,8} )
-
 DISTUTILS_USE_SETUPTOOLS=rdepend
 
 DOCS_BUILDER="mkdocs"



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

2020-11-27 Thread Alessandro Barbieri
commit: 1310642568203bcdf9b4dc6c1bfd49bb62b399ed
Author: Alessandro Barbieri  gmail  com>
AuthorDate: Fri Nov 27 15:42:28 2020 +
Commit: Alessandro Barbieri  gmail  com>
CommitDate: Fri Nov 27 15:42:58 2020 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=13106425

dev-python/uvicorn: new version, disable 3 failing tests

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

 dev-python/uvicorn/Manifest  |  1 +
 dev-python/uvicorn/uvicorn-0.12.3.ebuild | 72 
 2 files changed, 73 insertions(+)

diff --git a/dev-python/uvicorn/Manifest b/dev-python/uvicorn/Manifest
index d266cfaa..7eca0da2 100644
--- a/dev-python/uvicorn/Manifest
+++ b/dev-python/uvicorn/Manifest
@@ -1 +1,2 @@
 DIST uvicorn-0.12.2.tar.gz 503530 BLAKE2B 
ab2b4e0a256127430f19f75431ca15652ad28d7d525e1ae00dc6c4d61a4c5affec6800e5ad4823954996d3d390c339f63502d9002fd9e5a8377055e0ee86e9ca
 SHA512 
cc94f9482f4417c6cc79283c0ae1b9d658df9131f3d70d52ae4f1c03fdd7aef28ed902a722827529cb97e302f90bfe208d966546f6484bc01762e8f691121c49
+DIST uvicorn-0.12.3.tar.gz 505606 BLAKE2B 
852ca5f624842680fc514fb1db4b62605aa31aca801efdb25e460ff4b5c49e22a58b732778f35e6f606d14cd8cab962c5426f01617d573934daa62167553acf3
 SHA512 
72f823ad0f16738b23e796f02916627908c6619b41c931a33aeef60d7929479f863f97da2f60b0a4265ce57b7397af4f4019f0ae784319cc44c178dfecc2f07c

diff --git a/dev-python/uvicorn/uvicorn-0.12.3.ebuild 
b/dev-python/uvicorn/uvicorn-0.12.3.ebuild
new file mode 100644
index ..655749ac
--- /dev/null
+++ b/dev-python/uvicorn/uvicorn-0.12.3.ebuild
@@ -0,0 +1,72 @@
+# 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="mkdocs"
+DOCDEPEND="dev-python/mkdocs-material"
+
+inherit distutils-r1 docs optfeature
+
+DESCRIPTION="The lightning-fast ASGI server"
+HOMEPAGE="https://www.uvicorn.org/
+   https://github.com/encode/uvicorn;
+SRC_URI="https://github.com/encode/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="BSD"
+KEYWORDS="~amd64 ~x86"
+SLOT="0"
+
+RDEPEND="
+   >=dev-python/click-7[${PYTHON_USEDEP}]
+   =dev-python/h11-0.8[${PYTHON_USEDEP}]
+   $(python_gen_cond_dep 'dev-python/typing-extensions[${PYTHON_USEDEP}]' 
python3_7)
+"
+
+BDEPEND="test? (
+   >=dev-python/colorama-0.4[${PYTHON_USEDEP}]
+   dev-python/pytest-mock[${PYTHON_USEDEP}]
+   >=dev-python/python-dotenv-0.13[${PYTHON_USEDEP}]
+   >=dev-python/pyyaml-5.1[${PYTHON_USEDEP}]
+   dev-python/trustme[${PYTHON_USEDEP}]
+   >=dev-python/uvloop-0.14.0[${PYTHON_USEDEP}]
+   >=dev-python/websockets-8.0[${PYTHON_USEDEP}]
+   >=dev-python/httptools-0.1[${PYTHON_USEDEP}]
+   =dev-python/watchgod-0.6[${PYTHON_USEDEP}]
+   

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

2020-10-22 Thread Andrew Ammerlaan
commit: d9ee2f681b93dfd6d732ab7fa28338f0df50e167
Author: Andrew Ammerlaan  riseup  net>
AuthorDate: Thu Oct 22 13:57:41 2020 +
Commit: Andrew Ammerlaan  riseup  net>
CommitDate: Thu Oct 22 13:57:41 2020 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=d9ee2f68

dev-python/uvicorn: version bump

Package-Manager: Portage-3.0.8, Repoman-3.0.2
Signed-off-by: Andrew Ammerlaan  riseup.net>

 dev-python/uvicorn/Manifest | 2 +-
 dev-python/uvicorn/{uvicorn-0.12.1.ebuild => uvicorn-0.12.2.ebuild} | 4 +++-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/dev-python/uvicorn/Manifest b/dev-python/uvicorn/Manifest
index 4ed09b82..d266cfaa 100644
--- a/dev-python/uvicorn/Manifest
+++ b/dev-python/uvicorn/Manifest
@@ -1 +1 @@
-DIST uvicorn-0.12.1.tar.gz 504451 BLAKE2B 
15c86a36f80e9fd3230a7f1fce0ae60fee39387142f3f405234c0fba4a49248aa4dbe561f12910a5c7e77380d3bbd1f8a6780641fd1edb569abd502d63c1c32e
 SHA512 
4aeb153ad9a30645d64449a7068cde90fefe5c54a7f4fb947659978c454f194910a6a709e66d9f085e80bd2d5151a94eb8d953d86f3b825588b0eedc1dda1996
+DIST uvicorn-0.12.2.tar.gz 503530 BLAKE2B 
ab2b4e0a256127430f19f75431ca15652ad28d7d525e1ae00dc6c4d61a4c5affec6800e5ad4823954996d3d390c339f63502d9002fd9e5a8377055e0ee86e9ca
 SHA512 
cc94f9482f4417c6cc79283c0ae1b9d658df9131f3d70d52ae4f1c03fdd7aef28ed902a722827529cb97e302f90bfe208d966546f6484bc01762e8f691121c49

diff --git a/dev-python/uvicorn/uvicorn-0.12.1.ebuild 
b/dev-python/uvicorn/uvicorn-0.12.2.ebuild
similarity index 94%
rename from dev-python/uvicorn/uvicorn-0.12.1.ebuild
rename to dev-python/uvicorn/uvicorn-0.12.2.ebuild
index fea003f2..203ea418 100644
--- a/dev-python/uvicorn/uvicorn-0.12.1.ebuild
+++ b/dev-python/uvicorn/uvicorn-0.12.2.ebuild
@@ -27,15 +27,17 @@ RDEPEND="
dev-python/typing-extensions[${PYTHON_USEDEP}]
 "
 
-DEPEND="test? (
+BDEPEND="test? (
dev-python/colorama[${PYTHON_USEDEP}]
dev-python/pytest-mock[${PYTHON_USEDEP}]
dev-python/python-dotenv[${PYTHON_USEDEP}]
dev-python/pyyaml[${PYTHON_USEDEP}]
+   dev-python/trustme[${PYTHON_USEDEP}]
>=dev-python/uvloop-0.14.0[${PYTHON_USEDEP}]
>=dev-python/websockets-8.0[${PYTHON_USEDEP}]
dev-python/httptools[${PYTHON_USEDEP}]
>=dev-python/watchgod-0.6[${PYTHON_USEDEP}]
+   dev-python/wsproto[${PYTHON_USEDEP}]
 )"
 
 distutils_enable_tests pytest



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

2020-09-24 Thread Andrew Ammerlaan
commit: 2931a0a855c77a2357a195db1268c2019a5c94c0
Author: Andrew Ammerlaan  riseup  net>
AuthorDate: Thu Sep 24 12:36:42 2020 +
Commit: Andrew Ammerlaan  riseup  net>
CommitDate: Thu Sep 24 12:36:42 2020 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=2931a0a8

dev-python/uvicorn: eutils --> optfeature

Package-Manager: Portage-3.0.8, Repoman-3.0.1
Signed-off-by: Andrew Ammerlaan  riseup.net>

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

diff --git a/dev-python/uvicorn/uvicorn-0.11.8.ebuild 
b/dev-python/uvicorn/uvicorn-0.11.8.ebuild
index bb634d41..70de9f76 100644
--- a/dev-python/uvicorn/uvicorn-0.11.8.ebuild
+++ b/dev-python/uvicorn/uvicorn-0.11.8.ebuild
@@ -10,7 +10,7 @@ DISTUTILS_USE_SETUPTOOLS=rdepend
 DOCBUILDER="mkdocs"
 DOCDEPEND="dev-python/mkdocs-material"
 
-inherit distutils-r1 docs eutils
+inherit distutils-r1 docs optfeature
 
 DESCRIPTION="The lightning-fast ASGI server"
 HOMEPAGE="https://www.uvicorn.org/



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

2020-08-14 Thread Andrew Ammerlaan
commit: d69b1c4a8c635fc8fd8109f8a91ab13993771f82
Author: Andrew Ammerlaan  riseup  net>
AuthorDate: Fri Aug 14 17:58:01 2020 +
Commit: Andrew Ammerlaan  riseup  net>
CommitDate: Fri Aug 14 17:58:01 2020 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=d69b1c4a

dev-python/uvicorn: add py3.8

Package-Manager: Portage-3.0.2, Repoman-2.3.23
Signed-off-by: Andrew Ammerlaan  riseup.net>

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

diff --git a/dev-python/uvicorn/uvicorn-0.11.8.ebuild 
b/dev-python/uvicorn/uvicorn-0.11.8.ebuild
index 5b595c1..bb634d4 100644
--- a/dev-python/uvicorn/uvicorn-0.11.8.ebuild
+++ b/dev-python/uvicorn/uvicorn-0.11.8.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_7 )
+PYTHON_COMPAT=( python3_{7,8} )
 
 DISTUTILS_USE_SETUPTOOLS=rdepend
 



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

2020-06-30 Thread Andrew Ammerlaan
commit: 20f50ce0c7c897363db12e11cd6a293cb6e0b489
Author: Andrew Ammerlaan  riseup  net>
AuthorDate: Tue Jun 30 18:56:52 2020 +
Commit: Andrew Ammerlaan  riseup  net>
CommitDate: Tue Jun 30 18:56:52 2020 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=20f50ce0

dev-python/uvicorn: drop py3_6

Package-Manager: Portage-2.3.103, Repoman-2.3.23
Signed-off-by: Andrew Ammerlaan  riseup.net>

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

diff --git a/dev-python/uvicorn/uvicorn-0.11.5.ebuild 
b/dev-python/uvicorn/uvicorn-0.11.5.ebuild
index 1598187..605377a 100644
--- a/dev-python/uvicorn/uvicorn-0.11.5.ebuild
+++ b/dev-python/uvicorn/uvicorn-0.11.5.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_{6,7} )
+PYTHON_COMPAT=( python3_7 )
 
 DISTUTILS_USE_SETUPTOOLS=rdepend
 



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

2020-04-29 Thread Andrew Ammerlaan
commit: d87f309b1ea920dda88cc601a6a08059f58683b7
Author: Andrew Ammerlaan  riseup  net>
AuthorDate: Wed Apr 29 10:59:04 2020 +
Commit: Andrew Ammerlaan  riseup  net>
CommitDate: Wed Apr 29 10:59:04 2020 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=d87f309b

dev-python/uvicorn: minor version bump 0.11.5

Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Andrew Ammerlaan  riseup.net>

 dev-python/uvicorn/Manifest | 2 +-
 dev-python/uvicorn/{uvicorn-0.11.4.ebuild => uvicorn-0.11.5.ebuild} | 0
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/uvicorn/Manifest b/dev-python/uvicorn/Manifest
index dc9c439..f1b3067 100644
--- a/dev-python/uvicorn/Manifest
+++ b/dev-python/uvicorn/Manifest
@@ -1 +1 @@
-DIST uvicorn-0.11.4.tar.gz 499965 BLAKE2B 
e6d2bd13a28d639ff43597ba7346aaa4210ef1572930f12c07f9984ba8ef7a52154007e53465147b78ce4988a61051c48f0d6c76398383a32cd697aa6e7e6c81
 SHA512 
3ad23f64ad150210e4c70428d39c791a931b74f63c896351fe20fb71f0cd955e66122b9230ff64ab9e0b741016106ca08c43ca22ad5e43a5327d9c4f3cd51b7f
+DIST uvicorn-0.11.5.tar.gz 499920 BLAKE2B 
bd1c2f501a58e2016047053ec48870b4e7e4636eb64436206e450fc58f7152f45121274a3649e207c967a96ab0a7b1aa0c765bd4b742e482627f2257970e5780
 SHA512 
8bff2ffb06b91cc2323b0ada271379fec611075dd8e4970713fec8af59ea19d804a759503e4495c38854ee9e1ee0ea28d52a9cf478b4b998474537ea63ab43db

diff --git a/dev-python/uvicorn/uvicorn-0.11.4.ebuild 
b/dev-python/uvicorn/uvicorn-0.11.5.ebuild
similarity index 100%
rename from dev-python/uvicorn/uvicorn-0.11.4.ebuild
rename to dev-python/uvicorn/uvicorn-0.11.5.ebuild



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

2020-04-28 Thread Andrew Ammerlaan
commit: 52fde1b9e4b5f1990960f9d3f4884a958dd248e9
Author: Andrew Ammerlaan  riseup  net>
AuthorDate: Tue Apr 28 17:26:54 2020 +
Commit: Andrew Ammerlaan  riseup  net>
CommitDate: Tue Apr 28 17:26:54 2020 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=52fde1b9

dev-python/uvicorn: minor version bump 0.11.4

new optional dep dev-python/watchgod

Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Andrew Ammerlaan  riseup.net>

 dev-python/uvicorn/Manifest|  2 +-
 ...uvicorn-0.11.3.ebuild => uvicorn-0.11.4.ebuild} | 28 --
 2 files changed, 11 insertions(+), 19 deletions(-)

diff --git a/dev-python/uvicorn/Manifest b/dev-python/uvicorn/Manifest
index f5a6ba3..dc9c439 100644
--- a/dev-python/uvicorn/Manifest
+++ b/dev-python/uvicorn/Manifest
@@ -1 +1 @@
-DIST uvicorn-0.11.3.tar.gz 490532 BLAKE2B 
521f137ec94906d5fe9411e780551fb3f4a6eb3da2e7e49d67524b380267e1089bd778b5294f4c72e0da270aeddd89e598bb2c79251262fa528da29103eb259b
 SHA512 
c7e5badbd57bf2962fb4ef538072bed8e509ade20ff98856dd88099adeaeb9044b35a547b9f1ade3575c6dbc4564519d69aaeca7dad95a3b463160cdd9a464a9
+DIST uvicorn-0.11.4.tar.gz 499965 BLAKE2B 
e6d2bd13a28d639ff43597ba7346aaa4210ef1572930f12c07f9984ba8ef7a52154007e53465147b78ce4988a61051c48f0d6c76398383a32cd697aa6e7e6c81
 SHA512 
3ad23f64ad150210e4c70428d39c791a931b74f63c896351fe20fb71f0cd955e66122b9230ff64ab9e0b741016106ca08c43ca22ad5e43a5327d9c4f3cd51b7f

diff --git a/dev-python/uvicorn/uvicorn-0.11.3.ebuild 
b/dev-python/uvicorn/uvicorn-0.11.4.ebuild
similarity index 80%
rename from dev-python/uvicorn/uvicorn-0.11.3.ebuild
rename to dev-python/uvicorn/uvicorn-0.11.4.ebuild
index 652f668..1598187 100644
--- a/dev-python/uvicorn/uvicorn-0.11.3.ebuild
+++ b/dev-python/uvicorn/uvicorn-0.11.4.ebuild
@@ -7,7 +7,10 @@ PYTHON_COMPAT=( python3_{6,7} )
 
 DISTUTILS_USE_SETUPTOOLS=rdepend
 
-inherit distutils-r1 eutils
+DOCBUILDER="mkdocs"
+DOCDEPEND="dev-python/mkdocs-material"
+
+inherit distutils-r1 docs eutils
 
 DESCRIPTION="The lightning-fast ASGI server"
 HOMEPAGE="https://www.uvicorn.org/
@@ -18,23 +21,19 @@ LICENSE="BSD"
 KEYWORDS="~amd64 ~x86"
 SLOT="0"
 
-IUSE="doc"
-
 RDEPEND="
dev-python/click[${PYTHON_USEDEP}]
dev-python/h11[${PYTHON_USEDEP}]"
 
-BDEPEND="doc? (
-   dev-python/mkdocs
-   dev-python/mkdocs-material )"
-
 DEPEND="test? (
dev-python/isort[${PYTHON_USEDEP}]
dev-python/requests[${PYTHON_USEDEP}]
>=dev-python/uvloop-0.14.0[${PYTHON_USEDEP}]
-   dev-python/wsproto[${PYTHON_USEDEP}]
-   >=dev-python/websockets-6.0[${PYTHON_USEDEP}]
-   >=dev-python/httptools-0.1.1[${PYTHON_USEDEP}] )"
+   >=dev-python/wsproto-0.13.0[${PYTHON_USEDEP}]
+   >=dev-python/websockets-8.0[${PYTHON_USEDEP}]
+   dev-python/httptools[${PYTHON_USEDEP}]
+   >=dev-python/watchgod-0.6[${PYTHON_USEDEP}]
+)"
 
 distutils_enable_tests pytest
 
@@ -54,17 +53,10 @@ python_prepare_all() {
distutils-r1_python_prepare_all
 }
 
-python_compile_all() {
-   default
-   if use doc; then
-   mkdocs build || die "failed to make docs"
-   HTML_DOCS="site"
-   fi
-}
-
 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/uvicorn/

2020-03-28 Thread Andrew Ammerlaan
commit: 1cf50cf8b6112ec3794ee58c44dcaf0985883a84
Author: Andrew Ammerlaan  riseup  net>
AuthorDate: Sat Mar 28 10:38:00 2020 +
Commit: Andrew Ammerlaan  riseup  net>
CommitDate: Sat Mar 28 11:00:13 2020 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=1cf50cf8

dev-python/uvicorn: re-add py3_7

this does not need to go because doc doesnt need PYTHON_USEDEP

Package-Manager: Portage-2.3.96, Repoman-2.3.22
Signed-off-by: Andrew Ammerlaan  riseup.net>

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

diff --git a/dev-python/uvicorn/uvicorn-0.11.3.ebuild 
b/dev-python/uvicorn/uvicorn-0.11.3.ebuild
index e16df61..652f668 100644
--- a/dev-python/uvicorn/uvicorn-0.11.3.ebuild
+++ b/dev-python/uvicorn/uvicorn-0.11.3.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_6 )
+PYTHON_COMPAT=( python3_{6,7} )
 
 DISTUTILS_USE_SETUPTOOLS=rdepend
 



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

2020-03-27 Thread Alessandro Barbieri
commit: 512d6a48060b9e56e1c8beb1387428420b44725c
Author: Alessandro Barbieri  gmail  com>
AuthorDate: Fri Mar 27 17:28:23 2020 +
Commit: Alessandro Barbieri  gmail  com>
CommitDate: Fri Mar 27 17:28:23 2020 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=512d6a48

dev-python/uvicorn: longdescription, remove py3.7

Package-Manager: Portage-2.3.96, Repoman-2.3.21
Signed-off-by: Alessandro Barbieri  gmail.com>

 dev-python/uvicorn/metadata.xml  | 19 +++
 dev-python/uvicorn/uvicorn-0.11.3.ebuild |  2 +-
 2 files changed, 16 insertions(+), 5 deletions(-)

diff --git a/dev-python/uvicorn/metadata.xml b/dev-python/uvicorn/metadata.xml
index 628ab20..37318dd 100644
--- a/dev-python/uvicorn/metadata.xml
+++ b/dev-python/uvicorn/metadata.xml
@@ -2,8 +2,19 @@
 http://www.gentoo.org/dtd/metadata.dtd;>
 
 
-
-andrewammerl...@riseup.net
-Andrew Ammerlaan
-
+  
+andrewammerl...@riseup.net
+Andrew Ammerlaan
+  
+  
+Uvicorn is a lightning-fast ASGI server implementation, using uvloop and 
httptools.
+
+Until recently Python has lacked a minimal low-level server/application 
interface for asyncio frameworks. The ASGI specification fills this gap, and 
means we're now able to start building a common set of tooling usable across 
all asyncio frameworks.
+
+Uvicorn currently supports HTTP/1.1 and WebSockets. Support for HTTP/2 is 
planned.
+  
+  
+encode/uvicorn
+uvicorn
+  
 

diff --git a/dev-python/uvicorn/uvicorn-0.11.3.ebuild 
b/dev-python/uvicorn/uvicorn-0.11.3.ebuild
index 652f668..e16df61 100644
--- a/dev-python/uvicorn/uvicorn-0.11.3.ebuild
+++ b/dev-python/uvicorn/uvicorn-0.11.3.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_{6,7} )
+PYTHON_COMPAT=( python3_6 )
 
 DISTUTILS_USE_SETUPTOOLS=rdepend
 



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

2020-03-19 Thread Andrew Ammerlaan
commit: cae259bb13b49f496fa1750dc791e82587650c85
Author: Andrew Ammerlaan  riseup  net>
AuthorDate: Thu Mar 19 19:03:14 2020 +
Commit: Andrew Ammerlaan  riseup  net>
CommitDate: Thu Mar 19 19:03:14 2020 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=cae259bb

dev-python/uvicorn: enable docs for x86 as well

Package-Manager: Portage-2.3.94, Repoman-2.3.21
Signed-off-by: Andrew Ammerlaan  riseup.net>

 dev-python/uvicorn/uvicorn-0.11.3.ebuild | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/dev-python/uvicorn/uvicorn-0.11.3.ebuild 
b/dev-python/uvicorn/uvicorn-0.11.3.ebuild
index 565b4eb..652f668 100644
--- a/dev-python/uvicorn/uvicorn-0.11.3.ebuild
+++ b/dev-python/uvicorn/uvicorn-0.11.3.ebuild
@@ -19,15 +19,14 @@ KEYWORDS="~amd64 ~x86"
 SLOT="0"
 
 IUSE="doc"
-REQUIRED_USE="x86? ( !doc )"
 
 RDEPEND="
dev-python/click[${PYTHON_USEDEP}]
dev-python/h11[${PYTHON_USEDEP}]"
 
-BDEPEND="doc? ( !x86? (
+BDEPEND="doc? (
dev-python/mkdocs
-   dev-python/mkdocs-material ) )"
+   dev-python/mkdocs-material )"
 
 DEPEND="test? (
dev-python/isort[${PYTHON_USEDEP}]



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

2020-03-18 Thread Andrew Ammerlaan
commit: 770c11eb87786e7c05d390a3479fcef5bfcdb047
Author: Andrew Ammerlaan  riseup  net>
AuthorDate: Wed Mar 18 19:27:32 2020 +
Commit: Andrew Ammerlaan  riseup  net>
CommitDate: Wed Mar 18 19:27:32 2020 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=770c11eb

dev-python/uvicorn: do not depend on black

tests work without it installed and otherwise we have
to remove py3_7

Package-Manager: Portage-2.3.94, Repoman-2.3.21
Signed-off-by: Andrew Ammerlaan  riseup.net>

 dev-python/uvicorn/uvicorn-0.11.3.ebuild | 1 -
 1 file changed, 1 deletion(-)

diff --git a/dev-python/uvicorn/uvicorn-0.11.3.ebuild 
b/dev-python/uvicorn/uvicorn-0.11.3.ebuild
index 04aad2d..565b4eb 100644
--- a/dev-python/uvicorn/uvicorn-0.11.3.ebuild
+++ b/dev-python/uvicorn/uvicorn-0.11.3.ebuild
@@ -30,7 +30,6 @@ BDEPEND="doc? ( !x86? (
dev-python/mkdocs-material ) )"
 
 DEPEND="test? (
-   dev-python/black[${PYTHON_USEDEP}]
dev-python/isort[${PYTHON_USEDEP}]
dev-python/requests[${PYTHON_USEDEP}]
>=dev-python/uvloop-0.14.0[${PYTHON_USEDEP}]



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

2020-03-13 Thread Andrew Ammerlaan
commit: 5a3bd7dfdf32ecaf847de948f4bae389cc1778ec
Author: Andrew Ammerlaan  riseup  net>
AuthorDate: Fri Mar 13 15:00:32 2020 +
Commit: Andrew Ammerlaan  riseup  net>
CommitDate: Fri Mar 13 15:00:32 2020 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=5a3bd7df

dev-python/uvicorn: use optfeature instead of flags

these are mere runtime dependencies, see the 'when not to use USE flags'
https://devmanual.gentoo.org/general-concepts/use-flags/index.html

Package-Manager: Portage-2.3.93, Repoman-2.3.20
Signed-off-by: Andrew Ammerlaan  riseup.net>

 dev-python/uvicorn/metadata.xml  |  5 -
 dev-python/uvicorn/uvicorn-0.11.3.ebuild | 31 ++-
 2 files changed, 22 insertions(+), 14 deletions(-)

diff --git a/dev-python/uvicorn/metadata.xml b/dev-python/uvicorn/metadata.xml
index f629949..628ab20 100644
--- a/dev-python/uvicorn/metadata.xml
+++ b/dev-python/uvicorn/metadata.xml
@@ -6,9 +6,4 @@
 andrewammerl...@riseup.net
 Andrew Ammerlaan
 
-
-add websockets support using wsproto 
package
-add websockets support using websockets 
package
-use httpstools package for http protocol
-
 

diff --git a/dev-python/uvicorn/uvicorn-0.11.3.ebuild 
b/dev-python/uvicorn/uvicorn-0.11.3.ebuild
index 64bce77..04aad2d 100644
--- a/dev-python/uvicorn/uvicorn-0.11.3.ebuild
+++ b/dev-python/uvicorn/uvicorn-0.11.3.ebuild
@@ -7,7 +7,7 @@ PYTHON_COMPAT=( python3_{6,7} )
 
 DISTUTILS_USE_SETUPTOOLS=rdepend
 
-inherit distutils-r1
+inherit distutils-r1 eutils
 
 DESCRIPTION="The lightning-fast ASGI server"
 HOMEPAGE="https://www.uvicorn.org/
@@ -18,32 +18,38 @@ LICENSE="BSD"
 KEYWORDS="~amd64 ~x86"
 SLOT="0"
 
-IUSE="wsproto websockets httptools doc"
+IUSE="doc"
 REQUIRED_USE="x86? ( !doc )"
 
 RDEPEND="
dev-python/click[${PYTHON_USEDEP}]
-   dev-python/h11[${PYTHON_USEDEP}]
-   >=dev-python/uvloop-0.14.0[${PYTHON_USEDEP}]
-   wsproto? ( dev-python/wsproto[${PYTHON_USEDEP}] )
-   websockets? ( >=dev-python/websockets-6.0[${PYTHON_USEDEP}] )
-   httptools? ( >=dev-python/httptools-0.1.1[${PYTHON_USEDEP}] )"
+   dev-python/h11[${PYTHON_USEDEP}]"
 
 BDEPEND="doc? ( !x86? (
dev-python/mkdocs
dev-python/mkdocs-material ) )"
 
 DEPEND="test? (
+   dev-python/black[${PYTHON_USEDEP}]
dev-python/isort[${PYTHON_USEDEP}]
-   dev-python/requests[${PYTHON_USEDEP}] )"
+   dev-python/requests[${PYTHON_USEDEP}]
+   >=dev-python/uvloop-0.14.0[${PYTHON_USEDEP}]
+   dev-python/wsproto[${PYTHON_USEDEP}]
+   >=dev-python/websockets-6.0[${PYTHON_USEDEP}]
+   >=dev-python/httptools-0.1.1[${PYTHON_USEDEP}] )"
 
 distutils_enable_tests pytest
 
 python_prepare_all() {
-   # these tests fail, likely because wsproto is out of date
+   # these tests fail to collect, likely because wsproto is out of date
+   # ImportError: cannot import name 'ConnectionType'
rm tests/protocols/test_websocket.py || die
rm tests/protocols/test_http.py || die
 
+   # AttributeError: module 'uvicorn.protocols.http' has no attribute 
'h11_impl'
+   sed -i -e 's:test_concrete_http_class:_&:' \
+   tests/test_config.py || die
+
# do not install LICENSE to /usr/
sed -i -e '/data_files/d' setup.py || die
 
@@ -57,3 +63,10 @@ python_compile_all() {
HTML_DOCS="site"
fi
 }
+
+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
+}



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

2020-03-13 Thread Piotr Staroszczyk
commit: d4e6c976e9da7a5cb64b523d428830085a268a00
Author: Piotr Staroszczyk  get24  org>
AuthorDate: Fri Mar 13 13:13:18 2020 +
Commit: Piotr Staroszczyk  get24  org>
CommitDate: Fri Mar 13 13:24:09 2020 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=d4e6c976

dev-python/uvicorn: use flags for optional packages

Signed-off-by: Piotr Staroszczyk  get24.org>

 dev-python/uvicorn/metadata.xml  | 5 +
 dev-python/uvicorn/uvicorn-0.11.3.ebuild | 6 --
 2 files changed, 9 insertions(+), 2 deletions(-)

diff --git a/dev-python/uvicorn/metadata.xml b/dev-python/uvicorn/metadata.xml
index 628ab20..f629949 100644
--- a/dev-python/uvicorn/metadata.xml
+++ b/dev-python/uvicorn/metadata.xml
@@ -6,4 +6,9 @@
 andrewammerl...@riseup.net
 Andrew Ammerlaan
 
+
+add websockets support using wsproto 
package
+add websockets support using websockets 
package
+use httpstools package for http protocol
+
 

diff --git a/dev-python/uvicorn/uvicorn-0.11.3.ebuild 
b/dev-python/uvicorn/uvicorn-0.11.3.ebuild
index e906cfa..64bce77 100644
--- a/dev-python/uvicorn/uvicorn-0.11.3.ebuild
+++ b/dev-python/uvicorn/uvicorn-0.11.3.ebuild
@@ -18,14 +18,16 @@ LICENSE="BSD"
 KEYWORDS="~amd64 ~x86"
 SLOT="0"
 
-IUSE="doc"
+IUSE="wsproto websockets httptools doc"
 REQUIRED_USE="x86? ( !doc )"
 
 RDEPEND="
dev-python/click[${PYTHON_USEDEP}]
dev-python/h11[${PYTHON_USEDEP}]
>=dev-python/uvloop-0.14.0[${PYTHON_USEDEP}]
-   dev-python/wsproto[${PYTHON_USEDEP}]"
+   wsproto? ( dev-python/wsproto[${PYTHON_USEDEP}] )
+   websockets? ( >=dev-python/websockets-6.0[${PYTHON_USEDEP}] )
+   httptools? ( >=dev-python/httptools-0.1.1[${PYTHON_USEDEP}] )"
 
 BDEPEND="doc? ( !x86? (
dev-python/mkdocs



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

2020-03-09 Thread Andrew Ammerlaan
commit: ec6535a78f3943b09f3fee9046dc3565334799f1
Author: Andrew Ammerlaan  riseup  net>
AuthorDate: Mon Mar  9 17:09:04 2020 +
Commit: Andrew Ammerlaan  riseup  net>
CommitDate: Mon Mar  9 17:24:08 2020 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=ec6535a7

dev-python/uvicorn: The lightning-fast ASGI server

Package-Manager: Portage-2.3.93, Repoman-2.3.20
Signed-off-by: Andrew Ammerlaan  riseup.net>

 dev-python/uvicorn/Manifest  |  1 +
 dev-python/uvicorn/metadata.xml  |  9 +
 dev-python/uvicorn/uvicorn-0.11.3.ebuild | 57 
 3 files changed, 67 insertions(+)

diff --git a/dev-python/uvicorn/Manifest b/dev-python/uvicorn/Manifest
new file mode 100644
index 000..f5a6ba3
--- /dev/null
+++ b/dev-python/uvicorn/Manifest
@@ -0,0 +1 @@
+DIST uvicorn-0.11.3.tar.gz 490532 BLAKE2B 
521f137ec94906d5fe9411e780551fb3f4a6eb3da2e7e49d67524b380267e1089bd778b5294f4c72e0da270aeddd89e598bb2c79251262fa528da29103eb259b
 SHA512 
c7e5badbd57bf2962fb4ef538072bed8e509ade20ff98856dd88099adeaeb9044b35a547b9f1ade3575c6dbc4564519d69aaeca7dad95a3b463160cdd9a464a9

diff --git a/dev-python/uvicorn/metadata.xml b/dev-python/uvicorn/metadata.xml
new file mode 100644
index 000..628ab20
--- /dev/null
+++ b/dev-python/uvicorn/metadata.xml
@@ -0,0 +1,9 @@
+
+http://www.gentoo.org/dtd/metadata.dtd;>
+
+
+
+andrewammerl...@riseup.net
+Andrew Ammerlaan
+
+

diff --git a/dev-python/uvicorn/uvicorn-0.11.3.ebuild 
b/dev-python/uvicorn/uvicorn-0.11.3.ebuild
new file mode 100644
index 000..e906cfa
--- /dev/null
+++ b/dev-python/uvicorn/uvicorn-0.11.3.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{6,7} )
+
+DISTUTILS_USE_SETUPTOOLS=rdepend
+
+inherit distutils-r1
+
+DESCRIPTION="The lightning-fast ASGI server"
+HOMEPAGE="https://www.uvicorn.org/
+   https://github.com/encode/uvicorn;
+SRC_URI="https://github.com/encode/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="BSD"
+KEYWORDS="~amd64 ~x86"
+SLOT="0"
+
+IUSE="doc"
+REQUIRED_USE="x86? ( !doc )"
+
+RDEPEND="
+   dev-python/click[${PYTHON_USEDEP}]
+   dev-python/h11[${PYTHON_USEDEP}]
+   >=dev-python/uvloop-0.14.0[${PYTHON_USEDEP}]
+   dev-python/wsproto[${PYTHON_USEDEP}]"
+
+BDEPEND="doc? ( !x86? (
+   dev-python/mkdocs
+   dev-python/mkdocs-material ) )"
+
+DEPEND="test? (
+   dev-python/isort[${PYTHON_USEDEP}]
+   dev-python/requests[${PYTHON_USEDEP}] )"
+
+distutils_enable_tests pytest
+
+python_prepare_all() {
+   # these tests fail, likely because wsproto is out of date
+   rm tests/protocols/test_websocket.py || die
+   rm tests/protocols/test_http.py || die
+
+   # do not install LICENSE to /usr/
+   sed -i -e '/data_files/d' setup.py || die
+
+   distutils-r1_python_prepare_all
+}
+
+python_compile_all() {
+   default
+   if use doc; then
+   mkdocs build || die "failed to make docs"
+   HTML_DOCS="site"
+   fi
+}