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

2021-02-17 Thread Andrew Ammerlaan
commit: 3da27ffd2bdf1f898dbefe67ebfcb17c14c00eb2
Author: Andrew Ammerlaan  riseup  net>
AuthorDate: Wed Feb 17 18:42:57 2021 +
Commit: Andrew Ammerlaan  riseup  net>
CommitDate: Wed Feb 17 18:42:57 2021 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=3da27ffd

dev-python/httpx: add py3.9

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

 dev-python/httpx/httpx-0.16.1.ebuild | 6 --
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/dev-python/httpx/httpx-0.16.1.ebuild 
b/dev-python/httpx/httpx-0.16.1.ebuild
index ae450993..8e65c5b4 100644
--- a/dev-python/httpx/httpx-0.16.1.ebuild
+++ b/dev-python/httpx/httpx-0.16.1.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
 
-PYTHON_COMPAT=( python3_{7,8} )
+PYTHON_COMPAT=( python3_{7,8,9} )
 
 DOCS_BUILDER="mkdocs"
 DOCS_DEPEND="dev-python/mkdocs-material"
@@ -23,6 +23,8 @@ LICENSE="BSD"
 KEYWORDS="~amd64 ~x86"
 SLOT="0"
 
+# lots of these
+# request() got an unexpected keyword argument 'ext'
 RESTRICT="test"
 
 RDEPEND="



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

2020-09-06 Thread Andrew Ammerlaan
commit: 94689e4f8d6ca191f54e597f8710c4ba1e125208
Author: Andrew Ammerlaan  riseup  net>
AuthorDate: Sun Sep  6 12:36:30 2020 +
Commit: Andrew Ammerlaan  riseup  net>
CommitDate: Sun Sep  6 12:36:30 2020 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=94689e4f

dev-python/httpx: minor version bump 0.14.3

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

 dev-python/httpx/Manifest | 2 +-
 dev-python/httpx/{httpx-0.14.2.ebuild => httpx-0.14.3.ebuild} | 0
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/httpx/Manifest b/dev-python/httpx/Manifest
index 0a3004b..d9d64a2 100644
--- a/dev-python/httpx/Manifest
+++ b/dev-python/httpx/Manifest
@@ -1,3 +1,3 @@
 DIST httpx-0.11.1.tar.gz 177579 BLAKE2B 
a5722e997a79fd9b5c701a862abb4bf70458bf57057d2a9fb9a2dccdbbca2f4f54bf59e91437ed8ff452737a3b01d69dbf4efe3ef03d49e240bc5bf54e51ebea
 SHA512 
4da80a0232092d2423fd95d4549df79d9885e6ce34af0480f1d5a4904c9ca0fdb725b600f603c482179ea3b7c6ee5b584a70b8c0722918ba28f1bcc5c48201ad
 DIST httpx-0.13.3.tar.gz 176199 BLAKE2B 
d3a56c2386841909668e34eaa78d202f91ad900230b9d1d4254bfa08312312d020e081aea2839dbb57d85fa26ccfc3f093404801c4dd5c47051f3c9fd2746552
 SHA512 
54cdee16e8253c221c3298817ccf63a4a0d6755a86feea2aa5a2efe9af44eb1eb0a578b21f593fe28fceace17b0a0badb52a66965c35bf456ea57dd3b905ebbe
-DIST httpx-0.14.2.tar.gz 811666 BLAKE2B 
3d6b189a2327f1292ef2c5009292f1517984b5a45a9904f5b1f79b0c0fef19f2005d9db16094c02f4115b511151eb276c2fac9fcb5b8314d256be0395eeefe2c
 SHA512 
4e73787703a0083c024288391f8c65d5b8d3cf0fbcf3b578c49a114575ebb913d1f9ff256a055f454853e793123ab1857f6910ff5fb7d325ee0d36134a8b74bd
+DIST httpx-0.14.3.tar.gz 813092 BLAKE2B 
9bad0aa069c2666bae778b972b2724d6868a65a870b13a490cf82f347a661f4012bd55434a9fcea6cab43bff410679f549764319018bcebb75a30bec3b132288
 SHA512 
8bd741f3d8211604efc0c946a06d2aae5a1c484d1057218db60711840ef00119f54c76eaf02a25f7c8820122621794e54e7f3d32b4b858e41f87af9954a58046

diff --git a/dev-python/httpx/httpx-0.14.2.ebuild 
b/dev-python/httpx/httpx-0.14.3.ebuild
similarity index 100%
rename from dev-python/httpx/httpx-0.14.2.ebuild
rename to dev-python/httpx/httpx-0.14.3.ebuild



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

2020-08-29 Thread Andrew Ammerlaan
commit: f7a8bea013995f1316e784b8348e3682ca8ed293
Author: Andrew Ammerlaan  riseup  net>
AuthorDate: Sat Aug 29 12:44:24 2020 +
Commit: Andrew Ammerlaan  riseup  net>
CommitDate: Sat Aug 29 12:44:24 2020 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=f7a8bea0

dev-python/httpx: version bump 0.14.2

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

 dev-python/httpx/Manifest | 2 +-
 dev-python/httpx/{httpx-0.14.1.ebuild => httpx-0.14.2.ebuild} | 0
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/httpx/Manifest b/dev-python/httpx/Manifest
index 1fc82d9..d272c43 100644
--- a/dev-python/httpx/Manifest
+++ b/dev-python/httpx/Manifest
@@ -1,5 +1,5 @@
 DIST httpx-0.11.1.tar.gz 177579 BLAKE2B 
a5722e997a79fd9b5c701a862abb4bf70458bf57057d2a9fb9a2dccdbbca2f4f54bf59e91437ed8ff452737a3b01d69dbf4efe3ef03d49e240bc5bf54e51ebea
 SHA512 
4da80a0232092d2423fd95d4549df79d9885e6ce34af0480f1d5a4904c9ca0fdb725b600f603c482179ea3b7c6ee5b584a70b8c0722918ba28f1bcc5c48201ad
 DIST httpx-0.12.1.tar.gz 186169 BLAKE2B 
1b118081e55a5424eafdcf756cae8c1e9d72857d4fc24472cf118e4130bcb814e307f6fae52c0de61d89303cb1a876c8cda60fb98e138745a74712a1e7f2da08
 SHA512 
fe978a16f945e17a27815bc65f2adf36bd2a70b6e5e3c0ee8df83172d041c3084eaf99b10f7e015fc4a3de00ed081e83a54275256f9e85bf7cd32d553b316883
 DIST httpx-0.13.3.tar.gz 176199 BLAKE2B 
d3a56c2386841909668e34eaa78d202f91ad900230b9d1d4254bfa08312312d020e081aea2839dbb57d85fa26ccfc3f093404801c4dd5c47051f3c9fd2746552
 SHA512 
54cdee16e8253c221c3298817ccf63a4a0d6755a86feea2aa5a2efe9af44eb1eb0a578b21f593fe28fceace17b0a0badb52a66965c35bf456ea57dd3b905ebbe
-DIST httpx-0.14.1.tar.gz 809888 BLAKE2B 
327b4f7a3c23d2c5d205023e54121cfe6f87e75a91e6011e6f85786b6897140b59ea70836ca9257edc5c5b7efa73a4998ed060d34d1281a1810d9240382c5eb7
 SHA512 
03e2c4cf5fc4be3397094590061557fb438737282f89f396e6b49be4908e35ea0657e09f54e715704a7291e1acfa05069d12fa255e8e4c8d2ca30c5263ba448b
+DIST httpx-0.14.2.tar.gz 811666 BLAKE2B 
3d6b189a2327f1292ef2c5009292f1517984b5a45a9904f5b1f79b0c0fef19f2005d9db16094c02f4115b511151eb276c2fac9fcb5b8314d256be0395eeefe2c
 SHA512 
4e73787703a0083c024288391f8c65d5b8d3cf0fbcf3b578c49a114575ebb913d1f9ff256a055f454853e793123ab1857f6910ff5fb7d325ee0d36134a8b74bd
 DIST httpx-0.9.3.tar.gz 170954 BLAKE2B 
420993bc556e510d8f0d1ff0f3f200d9dce98c1475d40a1f7f5047cd34600bade5e184485d88642169685bf903dedc46d988e608d1f93f718cdb550801c1bb8e
 SHA512 
171e4ea2a19882c90ced9af995e5ecce1ff27308f95f027ddc7197a599624125d94f70f9f0a0672b6a04db0569f1eaa05a935fd8d43f517335fe26b30dc53d1a

diff --git a/dev-python/httpx/httpx-0.14.1.ebuild 
b/dev-python/httpx/httpx-0.14.2.ebuild
similarity index 100%
rename from dev-python/httpx/httpx-0.14.1.ebuild
rename to dev-python/httpx/httpx-0.14.2.ebuild



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

2020-08-14 Thread Andrew Ammerlaan
commit: 19ff5db5806c75f9ba16bfb6f1b18167be7c47c0
Author: Andrew Ammerlaan  riseup  net>
AuthorDate: Fri Aug 14 18:01:51 2020 +
Commit: Andrew Ammerlaan  riseup  net>
CommitDate: Fri Aug 14 18:01:51 2020 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=19ff5db5

dev-python/httpx: add py3.8

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

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

diff --git a/dev-python/httpx/httpx-0.13.3.ebuild 
b/dev-python/httpx/httpx-0.13.3.ebuild
index 0021468..06b0f90 100644
--- a/dev-python/httpx/httpx-0.13.3.ebuild
+++ b/dev-python/httpx/httpx-0.13.3.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_7 )
+PYTHON_COMPAT=( python3_{7,8} )
 
 DOCBUILDER="mkdocs"
 DOCDEPEND="dev-python/mkdocs-material"



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

2020-08-14 Thread Andrew Ammerlaan
commit: 6cd2db14ca26f3b64c1e297dbd81a83cc7438778
Author: Andrew Ammerlaan  riseup  net>
AuthorDate: Fri Aug 14 18:10:55 2020 +
Commit: Andrew Ammerlaan  riseup  net>
CommitDate: Fri Aug 14 18:10:55 2020 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=6cd2db14

dev-python/httpx: add py3.8

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

 dev-python/httpx/Manifest|  1 +
 dev-python/httpx/httpx-0.14.0.ebuild | 57 
 2 files changed, 58 insertions(+)

diff --git a/dev-python/httpx/Manifest b/dev-python/httpx/Manifest
index da415e9..7d31a35 100644
--- a/dev-python/httpx/Manifest
+++ b/dev-python/httpx/Manifest
@@ -1,4 +1,5 @@
 DIST httpx-0.11.1.tar.gz 177579 BLAKE2B 
a5722e997a79fd9b5c701a862abb4bf70458bf57057d2a9fb9a2dccdbbca2f4f54bf59e91437ed8ff452737a3b01d69dbf4efe3ef03d49e240bc5bf54e51ebea
 SHA512 
4da80a0232092d2423fd95d4549df79d9885e6ce34af0480f1d5a4904c9ca0fdb725b600f603c482179ea3b7c6ee5b584a70b8c0722918ba28f1bcc5c48201ad
 DIST httpx-0.12.1.tar.gz 186169 BLAKE2B 
1b118081e55a5424eafdcf756cae8c1e9d72857d4fc24472cf118e4130bcb814e307f6fae52c0de61d89303cb1a876c8cda60fb98e138745a74712a1e7f2da08
 SHA512 
fe978a16f945e17a27815bc65f2adf36bd2a70b6e5e3c0ee8df83172d041c3084eaf99b10f7e015fc4a3de00ed081e83a54275256f9e85bf7cd32d553b316883
 DIST httpx-0.13.3.tar.gz 176199 BLAKE2B 
d3a56c2386841909668e34eaa78d202f91ad900230b9d1d4254bfa08312312d020e081aea2839dbb57d85fa26ccfc3f093404801c4dd5c47051f3c9fd2746552
 SHA512 
54cdee16e8253c221c3298817ccf63a4a0d6755a86feea2aa5a2efe9af44eb1eb0a578b21f593fe28fceace17b0a0badb52a66965c35bf456ea57dd3b905ebbe
+DIST httpx-0.14.0.tar.gz 808584 BLAKE2B 
93cc96ba3862f4119bcd67dde7539aee6ecffe504f533b38ad698fe9159b18b5333719b25df739d5b3073d7e423e9798016f08b677869d4816357c986657f126
 SHA512 
1a49a2f112a324e6a4b4cd76a6c13bf53ab96332356c8fafa71bd37a4e6bc5f888df0c85937ac0287d7cd21f3eadb18b18155e8911550cfe48946b283309c22c
 DIST httpx-0.9.3.tar.gz 170954 BLAKE2B 
420993bc556e510d8f0d1ff0f3f200d9dce98c1475d40a1f7f5047cd34600bade5e184485d88642169685bf903dedc46d988e608d1f93f718cdb550801c1bb8e
 SHA512 
171e4ea2a19882c90ced9af995e5ecce1ff27308f95f027ddc7197a599624125d94f70f9f0a0672b6a04db0569f1eaa05a935fd8d43f517335fe26b30dc53d1a

diff --git a/dev-python/httpx/httpx-0.14.0.ebuild 
b/dev-python/httpx/httpx-0.14.0.ebuild
new file mode 100644
index 000..e10a7e8
--- /dev/null
+++ b/dev-python/httpx/httpx-0.14.0.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_{7,8} )
+
+DOCBUILDER="mkdocs"
+DOCDEPEND="dev-python/mkdocs-material"
+AUTODOC=1
+
+inherit distutils-r1 docs
+
+DESCRIPTION="A next generation HTTP client for Python"
+HOMEPAGE="
+   https://www.python-httpx.org
+   https://github.com/encode/httpx
+   https://pypi.org/project/httpx
+"
+SRC_URI="https://github.com/encode/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="BSD"
+KEYWORDS="~amd64 ~x86"
+SLOT="0"
+
+RDEPEND="dev-python/certifi[${PYTHON_USEDEP}]
+   dev-python/chardet[${PYTHON_USEDEP}]
+   dev-python/hstspreload[${PYTHON_USEDEP}]
+   ~dev-python/httpcore-0.10.1[${PYTHON_USEDEP}]
+   dev-python/hyper-h2[${PYTHON_USEDEP}]
+   dev-python/h11[${PYTHON_USEDEP}]
+   dev-python/idna[${PYTHON_USEDEP}]
+   dev-python/rfc3986[${PYTHON_USEDEP}]
+   dev-python/sniffio[${PYTHON_USEDEP}]
+   dev-python/urllib3[${PYTHON_USEDEP}]
+"
+
+DEPEND="test? (
+   dev-python/attrs[${PYTHON_USEDEP}]
+   dev-python/brotlipy[${PYTHON_USEDEP}]
+   dev-python/cryptography[${PYTHON_USEDEP}]
+   dev-python/isort[${PYTHON_USEDEP}]
+   dev-python/mypy[${PYTHON_USEDEP}]
+   dev-python/pytest-asyncio[${PYTHON_USEDEP}]
+   dev-python/trio[${PYTHON_USEDEP}]
+   dev-python/trustme[${PYTHON_USEDEP}]
+   dev-python/uvicorn[${PYTHON_USEDEP}]
+)"
+
+distutils_enable_tests pytest
+
+python_prepare_all() {
+   # do not depend on pytest-cov
+   sed -i -e '/addopts/d' setup.cfg || die
+
+   distutils-r1_python_prepare_all
+}



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

2020-06-30 Thread Andrew Ammerlaan
commit: 79662ecf4e1469282447bd861e4d6836d75937ec
Author: Andrew Ammerlaan  riseup  net>
AuthorDate: Tue Jun 30 18:59:48 2020 +
Commit: Andrew Ammerlaan  riseup  net>
CommitDate: Tue Jun 30 18:59:48 2020 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=79662ecf

dev-python/httpx: drop py3_6

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

 dev-python/httpx/httpx-0.11.1.ebuild | 2 +-
 dev-python/httpx/httpx-0.12.1.ebuild | 2 +-
 dev-python/httpx/httpx-0.13.3.ebuild | 2 +-
 dev-python/httpx/httpx-0.9.3.ebuild  | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/dev-python/httpx/httpx-0.11.1.ebuild 
b/dev-python/httpx/httpx-0.11.1.ebuild
index c11a919..1da6e41 100644
--- a/dev-python/httpx/httpx-0.11.1.ebuild
+++ b/dev-python/httpx/httpx-0.11.1.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_{6,7} )
+PYTHON_COMPAT=( python3_7 )
 
 inherit distutils-r1
 

diff --git a/dev-python/httpx/httpx-0.12.1.ebuild 
b/dev-python/httpx/httpx-0.12.1.ebuild
index dd4c1f3..0f081af 100644
--- a/dev-python/httpx/httpx-0.12.1.ebuild
+++ b/dev-python/httpx/httpx-0.12.1.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_{6,7} )
+PYTHON_COMPAT=( python3_7 )
 
 DOCBUILDER="mkdocs"
 DOCDEPEND="dev-python/mkdocs-material"

diff --git a/dev-python/httpx/httpx-0.13.3.ebuild 
b/dev-python/httpx/httpx-0.13.3.ebuild
index 57009b0..0021468 100644
--- a/dev-python/httpx/httpx-0.13.3.ebuild
+++ b/dev-python/httpx/httpx-0.13.3.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_{6,7} )
+PYTHON_COMPAT=( python3_7 )
 
 DOCBUILDER="mkdocs"
 DOCDEPEND="dev-python/mkdocs-material"

diff --git a/dev-python/httpx/httpx-0.9.3.ebuild 
b/dev-python/httpx/httpx-0.9.3.ebuild
index c21cd73..93c2c6b 100644
--- a/dev-python/httpx/httpx-0.9.3.ebuild
+++ b/dev-python/httpx/httpx-0.9.3.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_{6,7} )
+PYTHON_COMPAT=( python3_7 )
 
 inherit distutils-r1
 



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

2020-05-28 Thread Andrew Ammerlaan
commit: fa4deb8af2554d5f13b3c4e86fdda996ef3e5ece
Author: Andrew Ammerlaan  riseup  net>
AuthorDate: Thu May 28 11:00:54 2020 +
Commit: Andrew Ammerlaan  riseup  net>
CommitDate: Thu May 28 11:00:54 2020 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=fa4deb8a

dev-python/httpx: version bump

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

 dev-python/httpx/Manifest | 2 +-
 dev-python/httpx/{httpx-0.13.1.ebuild => httpx-0.13.2.ebuild} | 3 ++-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/dev-python/httpx/Manifest b/dev-python/httpx/Manifest
index 7cd7a92..c83eae7 100644
--- a/dev-python/httpx/Manifest
+++ b/dev-python/httpx/Manifest
@@ -1,4 +1,4 @@
 DIST httpx-0.11.1.tar.gz 177579 BLAKE2B 
a5722e997a79fd9b5c701a862abb4bf70458bf57057d2a9fb9a2dccdbbca2f4f54bf59e91437ed8ff452737a3b01d69dbf4efe3ef03d49e240bc5bf54e51ebea
 SHA512 
4da80a0232092d2423fd95d4549df79d9885e6ce34af0480f1d5a4904c9ca0fdb725b600f603c482179ea3b7c6ee5b584a70b8c0722918ba28f1bcc5c48201ad
 DIST httpx-0.12.1.tar.gz 186169 BLAKE2B 
1b118081e55a5424eafdcf756cae8c1e9d72857d4fc24472cf118e4130bcb814e307f6fae52c0de61d89303cb1a876c8cda60fb98e138745a74712a1e7f2da08
 SHA512 
fe978a16f945e17a27815bc65f2adf36bd2a70b6e5e3c0ee8df83172d041c3084eaf99b10f7e015fc4a3de00ed081e83a54275256f9e85bf7cd32d553b316883
-DIST httpx-0.13.1.tar.gz 176011 BLAKE2B 
9bbb8296a3acc6268a6d9cd577825543620ed9b2f577c7ee906f6d95bf3cec206b708b3d16eb9cc2f83d7a2eee32ec6bfced9ce3edb634689a61861d70753ab5
 SHA512 
f6647f1eaf406da93cf82de13e82a7b8f82af8101d939a33aeab40f17a4595875e2019f4c4591c45702cae99d861b50f4a60dcae4c7feb6ac28f0fde8eae8a87
+DIST httpx-0.13.2.tar.gz 175958 BLAKE2B 
4a9e846a3539ab139eef2e25bd9484ea41eae30bf2ef5e6ad76588e3bf9e1793c5d0db4b722e2152c121aacf154dccb89895f2adbe1095436b858692f293dfbf
 SHA512 
d1e2f296fb68125ff353e5705ab315b97742696455adbc420d73ec801f6360747104d1696e2a5f20438fa295e985f110a0cbc597f1580497bcb7df2365c824fd
 DIST httpx-0.9.3.tar.gz 170954 BLAKE2B 
420993bc556e510d8f0d1ff0f3f200d9dce98c1475d40a1f7f5047cd34600bade5e184485d88642169685bf903dedc46d988e608d1f93f718cdb550801c1bb8e
 SHA512 
171e4ea2a19882c90ced9af995e5ecce1ff27308f95f027ddc7197a599624125d94f70f9f0a0672b6a04db0569f1eaa05a935fd8d43f517335fe26b30dc53d1a

diff --git a/dev-python/httpx/httpx-0.13.1.ebuild 
b/dev-python/httpx/httpx-0.13.2.ebuild
similarity index 97%
rename from dev-python/httpx/httpx-0.13.1.ebuild
rename to dev-python/httpx/httpx-0.13.2.ebuild
index 910989b..57009b0 100644
--- a/dev-python/httpx/httpx-0.13.1.ebuild
+++ b/dev-python/httpx/httpx-0.13.2.ebuild
@@ -44,7 +44,8 @@ DEPEND="test? (
dev-python/pytest-asyncio[${PYTHON_USEDEP}]
dev-python/trio[${PYTHON_USEDEP}]
dev-python/trustme[${PYTHON_USEDEP}]
-   dev-python/uvicorn[${PYTHON_USEDEP}] )"
+   dev-python/uvicorn[${PYTHON_USEDEP}]
+)"
 
 distutils_enable_tests pytest
 



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

2020-05-24 Thread Andrew Ammerlaan
commit: f8bc4457ab14ef2e6756bebd276ae8144680b82b
Author: Andrew Ammerlaan  riseup  net>
AuthorDate: Sun May 24 08:34:40 2020 +
Commit: Andrew Ammerlaan  riseup  net>
CommitDate: Sun May 24 08:34:55 2020 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=f8bc4457

dev-python/httpx: version bump

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

 dev-python/httpx/Manifest|  1 +
 dev-python/httpx/httpx-0.13.1.ebuild | 56 
 2 files changed, 57 insertions(+)

diff --git a/dev-python/httpx/Manifest b/dev-python/httpx/Manifest
index d86f565..7cd7a92 100644
--- a/dev-python/httpx/Manifest
+++ b/dev-python/httpx/Manifest
@@ -1,3 +1,4 @@
 DIST httpx-0.11.1.tar.gz 177579 BLAKE2B 
a5722e997a79fd9b5c701a862abb4bf70458bf57057d2a9fb9a2dccdbbca2f4f54bf59e91437ed8ff452737a3b01d69dbf4efe3ef03d49e240bc5bf54e51ebea
 SHA512 
4da80a0232092d2423fd95d4549df79d9885e6ce34af0480f1d5a4904c9ca0fdb725b600f603c482179ea3b7c6ee5b584a70b8c0722918ba28f1bcc5c48201ad
 DIST httpx-0.12.1.tar.gz 186169 BLAKE2B 
1b118081e55a5424eafdcf756cae8c1e9d72857d4fc24472cf118e4130bcb814e307f6fae52c0de61d89303cb1a876c8cda60fb98e138745a74712a1e7f2da08
 SHA512 
fe978a16f945e17a27815bc65f2adf36bd2a70b6e5e3c0ee8df83172d041c3084eaf99b10f7e015fc4a3de00ed081e83a54275256f9e85bf7cd32d553b316883
+DIST httpx-0.13.1.tar.gz 176011 BLAKE2B 
9bbb8296a3acc6268a6d9cd577825543620ed9b2f577c7ee906f6d95bf3cec206b708b3d16eb9cc2f83d7a2eee32ec6bfced9ce3edb634689a61861d70753ab5
 SHA512 
f6647f1eaf406da93cf82de13e82a7b8f82af8101d939a33aeab40f17a4595875e2019f4c4591c45702cae99d861b50f4a60dcae4c7feb6ac28f0fde8eae8a87
 DIST httpx-0.9.3.tar.gz 170954 BLAKE2B 
420993bc556e510d8f0d1ff0f3f200d9dce98c1475d40a1f7f5047cd34600bade5e184485d88642169685bf903dedc46d988e608d1f93f718cdb550801c1bb8e
 SHA512 
171e4ea2a19882c90ced9af995e5ecce1ff27308f95f027ddc7197a599624125d94f70f9f0a0672b6a04db0569f1eaa05a935fd8d43f517335fe26b30dc53d1a

diff --git a/dev-python/httpx/httpx-0.13.1.ebuild 
b/dev-python/httpx/httpx-0.13.1.ebuild
new file mode 100644
index 000..910989b
--- /dev/null
+++ b/dev-python/httpx/httpx-0.13.1.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{6,7} )
+
+DOCBUILDER="mkdocs"
+DOCDEPEND="dev-python/mkdocs-material"
+AUTODOC=1
+
+inherit distutils-r1 docs
+
+DESCRIPTION="A next generation HTTP client for Python"
+HOMEPAGE="
+   https://www.python-httpx.org
+   https://github.com/encode/httpx
+   https://pypi.org/project/httpx
+"
+SRC_URI="https://github.com/encode/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="BSD"
+KEYWORDS="~amd64 ~x86"
+SLOT="0"
+
+RDEPEND="dev-python/certifi[${PYTHON_USEDEP}]
+   dev-python/chardet[${PYTHON_USEDEP}]
+   dev-python/hstspreload[${PYTHON_USEDEP}]
+   dev-python/httpcore[${PYTHON_USEDEP}]
+   dev-python/hyper-h2[${PYTHON_USEDEP}]
+   dev-python/h11[${PYTHON_USEDEP}]
+   dev-python/idna[${PYTHON_USEDEP}]
+   dev-python/rfc3986[${PYTHON_USEDEP}]
+   dev-python/sniffio[${PYTHON_USEDEP}]
+   dev-python/urllib3[${PYTHON_USEDEP}]
+"
+
+DEPEND="test? (
+   dev-python/attrs[${PYTHON_USEDEP}]
+   dev-python/brotlipy[${PYTHON_USEDEP}]
+   dev-python/cryptography[${PYTHON_USEDEP}]
+   dev-python/isort[${PYTHON_USEDEP}]
+   dev-python/mypy[${PYTHON_USEDEP}]
+   dev-python/pytest-asyncio[${PYTHON_USEDEP}]
+   dev-python/trio[${PYTHON_USEDEP}]
+   dev-python/trustme[${PYTHON_USEDEP}]
+   dev-python/uvicorn[${PYTHON_USEDEP}] )"
+
+distutils_enable_tests pytest
+
+python_prepare_all() {
+   # do not depend on pytest-cov
+   sed -i -e '/addopts/d' setup.cfg || die
+
+   distutils-r1_python_prepare_all
+}



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

2020-04-12 Thread Andrew Ammerlaan
commit: a6201a1d154021d804635045cad394bc56dca088
Author: Andrew Ammerlaan  riseup  net>
AuthorDate: Sun Apr 12 15:33:17 2020 +
Commit: Andrew Ammerlaan  riseup  net>
CommitDate: Sun Apr 12 15:33:17 2020 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=a6201a1d

dev-python/httpx: version bump 0.12.1

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

 dev-python/httpx/Manifest   |  2 +-
 .../{httpx-0.12.0.ebuild => httpx-0.12.1.ebuild}| 21 +
 2 files changed, 6 insertions(+), 17 deletions(-)

diff --git a/dev-python/httpx/Manifest b/dev-python/httpx/Manifest
index 1a91ccb..d86f565 100644
--- a/dev-python/httpx/Manifest
+++ b/dev-python/httpx/Manifest
@@ -1,3 +1,3 @@
 DIST httpx-0.11.1.tar.gz 177579 BLAKE2B 
a5722e997a79fd9b5c701a862abb4bf70458bf57057d2a9fb9a2dccdbbca2f4f54bf59e91437ed8ff452737a3b01d69dbf4efe3ef03d49e240bc5bf54e51ebea
 SHA512 
4da80a0232092d2423fd95d4549df79d9885e6ce34af0480f1d5a4904c9ca0fdb725b600f603c482179ea3b7c6ee5b584a70b8c0722918ba28f1bcc5c48201ad
-DIST httpx-0.12.0.tar.gz 186138 BLAKE2B 
d350a156e1663a197e2f7ab43531735e08da0d5b68df2d75e8cd2396b82095668318ecc0ca0558736f97f56ad72970ebf36fe34706b3d65e6d59fabd0ba75431
 SHA512 
a50c6a1686f3224ad906383d6d25cde8006d4514a9d079be06e9c255f4efdc9b1859e5523d39be484c09c930d1cf84feb15374d7d0904a6c1d903b62b7caa9f5
+DIST httpx-0.12.1.tar.gz 186169 BLAKE2B 
1b118081e55a5424eafdcf756cae8c1e9d72857d4fc24472cf118e4130bcb814e307f6fae52c0de61d89303cb1a876c8cda60fb98e138745a74712a1e7f2da08
 SHA512 
fe978a16f945e17a27815bc65f2adf36bd2a70b6e5e3c0ee8df83172d041c3084eaf99b10f7e015fc4a3de00ed081e83a54275256f9e85bf7cd32d553b316883
 DIST httpx-0.9.3.tar.gz 170954 BLAKE2B 
420993bc556e510d8f0d1ff0f3f200d9dce98c1475d40a1f7f5047cd34600bade5e184485d88642169685bf903dedc46d988e608d1f93f718cdb550801c1bb8e
 SHA512 
171e4ea2a19882c90ced9af995e5ecce1ff27308f95f027ddc7197a599624125d94f70f9f0a0672b6a04db0569f1eaa05a935fd8d43f517335fe26b30dc53d1a

diff --git a/dev-python/httpx/httpx-0.12.0.ebuild 
b/dev-python/httpx/httpx-0.12.1.ebuild
similarity index 86%
rename from dev-python/httpx/httpx-0.12.0.ebuild
rename to dev-python/httpx/httpx-0.12.1.ebuild
index c11a919..dd4c1f3 100644
--- a/dev-python/httpx/httpx-0.12.0.ebuild
+++ b/dev-python/httpx/httpx-0.12.1.ebuild
@@ -5,7 +5,11 @@ EAPI=7
 
 PYTHON_COMPAT=( python3_{6,7} )
 
-inherit distutils-r1
+DOCBUILDER="mkdocs"
+DOCDEPEND="dev-python/mkdocs-material"
+AUTODOC=1
+
+inherit distutils-r1 docs
 
 DESCRIPTION="A next generation HTTP client for Python"
 HOMEPAGE="
@@ -19,8 +23,6 @@ LICENSE="BSD"
 KEYWORDS="~amd64 ~x86"
 SLOT="0"
 
-IUSE="doc"
-
 RDEPEND="dev-python/certifi[${PYTHON_USEDEP}]
dev-python/chardet[${PYTHON_USEDEP}]
dev-python/hstspreload[${PYTHON_USEDEP}]
@@ -31,11 +33,6 @@ RDEPEND="dev-python/certifi[${PYTHON_USEDEP}]
dev-python/sniffio[${PYTHON_USEDEP}]
dev-python/urllib3[${PYTHON_USEDEP}]"
 
-BDEPEND="doc? (
-   dev-python/mkdocs
-   dev-python/mkautodoc
-   dev-python/mkdocs-material )"
-
 DEPEND="test? (
dev-python/attrs[${PYTHON_USEDEP}]
dev-python/brotlipy[${PYTHON_USEDEP}]
@@ -63,11 +60,3 @@ 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
-}



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

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

dev-python/httpx: re-add py3_7

do not use PYTHON_USEDEP for BDEPEND

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

 dev-python/httpx/httpx-0.11.1.ebuild | 2 +-
 dev-python/httpx/httpx-0.12.0.ebuild | 2 +-
 dev-python/httpx/httpx-0.9.3.ebuild  | 8 
 3 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/dev-python/httpx/httpx-0.11.1.ebuild 
b/dev-python/httpx/httpx-0.11.1.ebuild
index 73e9708..c11a919 100644
--- a/dev-python/httpx/httpx-0.11.1.ebuild
+++ b/dev-python/httpx/httpx-0.11.1.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_6 )
+PYTHON_COMPAT=( python3_{6,7} )
 
 inherit distutils-r1
 

diff --git a/dev-python/httpx/httpx-0.12.0.ebuild 
b/dev-python/httpx/httpx-0.12.0.ebuild
index 73e9708..c11a919 100644
--- a/dev-python/httpx/httpx-0.12.0.ebuild
+++ b/dev-python/httpx/httpx-0.12.0.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_6 )
+PYTHON_COMPAT=( python3_{6,7} )
 
 inherit distutils-r1
 

diff --git a/dev-python/httpx/httpx-0.9.3.ebuild 
b/dev-python/httpx/httpx-0.9.3.ebuild
index 0a31dfc..c21cd73 100644
--- a/dev-python/httpx/httpx-0.9.3.ebuild
+++ b/dev-python/httpx/httpx-0.9.3.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_6 )
+PYTHON_COMPAT=( python3_{6,7} )
 
 inherit distutils-r1
 
@@ -33,9 +33,9 @@ RDEPEND="dev-python/certifi[${PYTHON_USEDEP}]
 
 BDEPEND="
doc?  (
-   dev-python/mkautodoc[${PYTHON_USEDEP}]
-   dev-python/mkdocs[${PYTHON_USEDEP}]
-   dev-python/mkdocs-material[${PYTHON_USEDEP}]
+   dev-python/mkautodoc
+   dev-python/mkdocs
+   dev-python/mkdocs-material
)
 "
 



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

2020-03-27 Thread Alessandro Barbieri
commit: 549db11f7b92fe6efe851f8589a08f75eba0104e
Author: Alessandro Barbieri  gmail  com>
AuthorDate: Fri Mar 27 17:47:52 2020 +
Commit: Alessandro Barbieri  gmail  com>
CommitDate: Fri Mar 27 17:47:52 2020 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=549db11f

dev-python/httpx: longdescription, homepages

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

 dev-python/httpx/Manifest  |  1 +
 dev-python/httpx/httpx-0.11.1.ebuild   | 12 +++---
 dev-python/httpx/httpx-0.12.0.ebuild   | 12 +++---
 .../{httpx-0.11.1.ebuild => httpx-0.9.3.ebuild}| 23 +++-
 dev-python/httpx/metadata.xml  | 43 --
 5 files changed, 68 insertions(+), 23 deletions(-)

diff --git a/dev-python/httpx/Manifest b/dev-python/httpx/Manifest
index c6114ba..1a91ccb 100644
--- a/dev-python/httpx/Manifest
+++ b/dev-python/httpx/Manifest
@@ -1,2 +1,3 @@
 DIST httpx-0.11.1.tar.gz 177579 BLAKE2B 
a5722e997a79fd9b5c701a862abb4bf70458bf57057d2a9fb9a2dccdbbca2f4f54bf59e91437ed8ff452737a3b01d69dbf4efe3ef03d49e240bc5bf54e51ebea
 SHA512 
4da80a0232092d2423fd95d4549df79d9885e6ce34af0480f1d5a4904c9ca0fdb725b600f603c482179ea3b7c6ee5b584a70b8c0722918ba28f1bcc5c48201ad
 DIST httpx-0.12.0.tar.gz 186138 BLAKE2B 
d350a156e1663a197e2f7ab43531735e08da0d5b68df2d75e8cd2396b82095668318ecc0ca0558736f97f56ad72970ebf36fe34706b3d65e6d59fabd0ba75431
 SHA512 
a50c6a1686f3224ad906383d6d25cde8006d4514a9d079be06e9c255f4efdc9b1859e5523d39be484c09c930d1cf84feb15374d7d0904a6c1d903b62b7caa9f5
+DIST httpx-0.9.3.tar.gz 170954 BLAKE2B 
420993bc556e510d8f0d1ff0f3f200d9dce98c1475d40a1f7f5047cd34600bade5e184485d88642169685bf903dedc46d988e608d1f93f718cdb550801c1bb8e
 SHA512 
171e4ea2a19882c90ced9af995e5ecce1ff27308f95f027ddc7197a599624125d94f70f9f0a0672b6a04db0569f1eaa05a935fd8d43f517335fe26b30dc53d1a

diff --git a/dev-python/httpx/httpx-0.11.1.ebuild 
b/dev-python/httpx/httpx-0.11.1.ebuild
index e3e5ce2..73e9708 100644
--- a/dev-python/httpx/httpx-0.11.1.ebuild
+++ b/dev-python/httpx/httpx-0.11.1.ebuild
@@ -3,13 +3,16 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_{6,7} )
+PYTHON_COMPAT=( python3_6 )
 
 inherit distutils-r1
 
 DESCRIPTION="A next generation HTTP client for Python"
-HOMEPAGE="https://www.python-httpx.org
-   https://github.com/encode/httpx";
+HOMEPAGE="
+   https://www.python-httpx.org
+   https://github.com/encode/httpx
+   https://pypi.org/project/httpx
+"
 SRC_URI="https://github.com/encode/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="BSD"
@@ -38,7 +41,6 @@ DEPEND="test? (
dev-python/brotlipy[${PYTHON_USEDEP}]
dev-python/cryptography[${PYTHON_USEDEP}]
dev-python/isort[${PYTHON_USEDEP}]
-   dev-python/flake8[${PYTHON_USEDEP}]
dev-python/mypy[${PYTHON_USEDEP}]
dev-python/pytest-asyncio[${PYTHON_USEDEP}]
dev-python/trio[${PYTHON_USEDEP}]
@@ -54,7 +56,7 @@ python_prepare_all() {
# requires internet connection
sed -i -e 's:test_start_tls_on_tcp_socket_stream:_&:' \
-e 's:test_start_tls_on_uds_socket_stream:_&:' \
-tests/test_concurrency.py || die
+   tests/test_concurrency.py || die
 
sed -i -e 's:test_http2_live_request:_&:' \
tests/dispatch/test_http2.py || die

diff --git a/dev-python/httpx/httpx-0.12.0.ebuild 
b/dev-python/httpx/httpx-0.12.0.ebuild
index e3e5ce2..73e9708 100644
--- a/dev-python/httpx/httpx-0.12.0.ebuild
+++ b/dev-python/httpx/httpx-0.12.0.ebuild
@@ -3,13 +3,16 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_{6,7} )
+PYTHON_COMPAT=( python3_6 )
 
 inherit distutils-r1
 
 DESCRIPTION="A next generation HTTP client for Python"
-HOMEPAGE="https://www.python-httpx.org
-   https://github.com/encode/httpx";
+HOMEPAGE="
+   https://www.python-httpx.org
+   https://github.com/encode/httpx
+   https://pypi.org/project/httpx
+"
 SRC_URI="https://github.com/encode/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="BSD"
@@ -38,7 +41,6 @@ DEPEND="test? (
dev-python/brotlipy[${PYTHON_USEDEP}]
dev-python/cryptography[${PYTHON_USEDEP}]
dev-python/isort[${PYTHON_USEDEP}]
-   dev-python/flake8[${PYTHON_USEDEP}]
dev-python/mypy[${PYTHON_USEDEP}]
dev-python/pytest-asyncio[${PYTHON_USEDEP}]
dev-python/trio[${PYTHON_USEDEP}]
@@ -54,7 +56,7 @@ python_prepare_all() {
# requires internet connection
sed -i -e 's:test_start_tls_on_tcp_socket_stream:_&:' \
-e 's:test_start_tls_on_uds_socket_stream:_&:' \
-tests/test_concurrency.py || die
+   tests/test_concurrency.py || die
 
sed -i -e 's:test_http2_live_request:_&:' \
tests/dispatch/test_http2.py || die

diff --git a/dev-python/httpx/httpx-0.11.1.ebuild 
b/dev-python/httpx/httpx-0.9.3.ebuild
similarity index 82%
copy from dev-python/httpx/httpx

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

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

dev-python/httpx: 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/httpx/httpx-0.11.1.ebuild | 5 ++---
 dev-python/httpx/httpx-0.12.0.ebuild | 5 ++---
 2 files changed, 4 insertions(+), 6 deletions(-)

diff --git a/dev-python/httpx/httpx-0.11.1.ebuild 
b/dev-python/httpx/httpx-0.11.1.ebuild
index 1de54b5..e3e5ce2 100644
--- a/dev-python/httpx/httpx-0.11.1.ebuild
+++ b/dev-python/httpx/httpx-0.11.1.ebuild
@@ -17,7 +17,6 @@ KEYWORDS="~amd64 ~x86"
 SLOT="0"
 
 IUSE="doc"
-REQUIRED_USE="x86? ( !doc )"
 
 RDEPEND="dev-python/certifi[${PYTHON_USEDEP}]
dev-python/chardet[${PYTHON_USEDEP}]
@@ -29,10 +28,10 @@ RDEPEND="dev-python/certifi[${PYTHON_USEDEP}]
dev-python/sniffio[${PYTHON_USEDEP}]
dev-python/urllib3[${PYTHON_USEDEP}]"
 
-BDEPEND="doc? ( !x86? (
+BDEPEND="doc? (
dev-python/mkdocs
dev-python/mkautodoc
-   dev-python/mkdocs-material ) )"
+   dev-python/mkdocs-material )"
 
 DEPEND="test? (
dev-python/attrs[${PYTHON_USEDEP}]

diff --git a/dev-python/httpx/httpx-0.12.0.ebuild 
b/dev-python/httpx/httpx-0.12.0.ebuild
index 1de54b5..e3e5ce2 100644
--- a/dev-python/httpx/httpx-0.12.0.ebuild
+++ b/dev-python/httpx/httpx-0.12.0.ebuild
@@ -17,7 +17,6 @@ KEYWORDS="~amd64 ~x86"
 SLOT="0"
 
 IUSE="doc"
-REQUIRED_USE="x86? ( !doc )"
 
 RDEPEND="dev-python/certifi[${PYTHON_USEDEP}]
dev-python/chardet[${PYTHON_USEDEP}]
@@ -29,10 +28,10 @@ RDEPEND="dev-python/certifi[${PYTHON_USEDEP}]
dev-python/sniffio[${PYTHON_USEDEP}]
dev-python/urllib3[${PYTHON_USEDEP}]"
 
-BDEPEND="doc? ( !x86? (
+BDEPEND="doc? (
dev-python/mkdocs
dev-python/mkautodoc
-   dev-python/mkdocs-material ) )"
+   dev-python/mkdocs-material )"
 
 DEPEND="test? (
dev-python/attrs[${PYTHON_USEDEP}]



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

2020-03-09 Thread Andrew Ammerlaan
commit: 6311e8be48ae102e53e38e923e38df6bc1a24840
Author: Andrew Ammerlaan  riseup  net>
AuthorDate: Mon Mar  9 17:27:03 2020 +
Commit: Andrew Ammerlaan  riseup  net>
CommitDate: Mon Mar  9 17:27:03 2020 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=6311e8be

dev-python/httpx: Version bump, and enable test and doc

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

 dev-python/httpx/Manifest|  3 +-
 dev-python/httpx/httpx-0.11.1.ebuild | 47 ++-
 dev-python/httpx/httpx-0.12.0.ebuild | 72 
 3 files changed, 120 insertions(+), 2 deletions(-)

diff --git a/dev-python/httpx/Manifest b/dev-python/httpx/Manifest
index 6146f31..c6114ba 100644
--- a/dev-python/httpx/Manifest
+++ b/dev-python/httpx/Manifest
@@ -1 +1,2 @@
-DIST httpx-0.11.1.tar.gz 65974 BLAKE2B 
fabf6f8e9b48ad3ccc79c72c42ad007819a065d74c8c0d7225550cc2e223626b896b57378ad989c7f04b17e70d1941873addcec2507afefde0801f4eaa6d3f43
 SHA512 
0203d348739b450fec1f386778136f8591d0177f58eff68d3887348f1e379bfd7da98b87a80b195d023ce17e1442989a52765704be18088166593211a23b84ad
+DIST httpx-0.11.1.tar.gz 177579 BLAKE2B 
a5722e997a79fd9b5c701a862abb4bf70458bf57057d2a9fb9a2dccdbbca2f4f54bf59e91437ed8ff452737a3b01d69dbf4efe3ef03d49e240bc5bf54e51ebea
 SHA512 
4da80a0232092d2423fd95d4549df79d9885e6ce34af0480f1d5a4904c9ca0fdb725b600f603c482179ea3b7c6ee5b584a70b8c0722918ba28f1bcc5c48201ad
+DIST httpx-0.12.0.tar.gz 186138 BLAKE2B 
d350a156e1663a197e2f7ab43531735e08da0d5b68df2d75e8cd2396b82095668318ecc0ca0558736f97f56ad72970ebf36fe34706b3d65e6d59fabd0ba75431
 SHA512 
a50c6a1686f3224ad906383d6d25cde8006d4514a9d079be06e9c255f4efdc9b1859e5523d39be484c09c930d1cf84feb15374d7d0904a6c1d903b62b7caa9f5

diff --git a/dev-python/httpx/httpx-0.11.1.ebuild 
b/dev-python/httpx/httpx-0.11.1.ebuild
index 0e11ec8..1de54b5 100644
--- a/dev-python/httpx/httpx-0.11.1.ebuild
+++ b/dev-python/httpx/httpx-0.11.1.ebuild
@@ -10,12 +10,15 @@ inherit distutils-r1
 DESCRIPTION="A next generation HTTP client for Python"
 HOMEPAGE="https://www.python-httpx.org
https://github.com/encode/httpx";
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+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/certifi[${PYTHON_USEDEP}]
dev-python/chardet[${PYTHON_USEDEP}]
dev-python/hstspreload[${PYTHON_USEDEP}]
@@ -25,3 +28,45 @@ RDEPEND="dev-python/certifi[${PYTHON_USEDEP}]
dev-python/rfc3986[${PYTHON_USEDEP}]
dev-python/sniffio[${PYTHON_USEDEP}]
dev-python/urllib3[${PYTHON_USEDEP}]"
+
+BDEPEND="doc? ( !x86? (
+   dev-python/mkdocs
+   dev-python/mkautodoc
+   dev-python/mkdocs-material ) )"
+
+DEPEND="test? (
+   dev-python/attrs[${PYTHON_USEDEP}]
+   dev-python/brotlipy[${PYTHON_USEDEP}]
+   dev-python/cryptography[${PYTHON_USEDEP}]
+   dev-python/isort[${PYTHON_USEDEP}]
+   dev-python/flake8[${PYTHON_USEDEP}]
+   dev-python/mypy[${PYTHON_USEDEP}]
+   dev-python/pytest-asyncio[${PYTHON_USEDEP}]
+   dev-python/trio[${PYTHON_USEDEP}]
+   dev-python/trustme[${PYTHON_USEDEP}]
+   dev-python/uvicorn[${PYTHON_USEDEP}] )"
+
+distutils_enable_tests pytest
+
+python_prepare_all() {
+   # do not depend on pytest-cov
+   sed -i -e '/addopts/d' setup.cfg || die
+
+   # requires internet connection
+   sed -i -e 's:test_start_tls_on_tcp_socket_stream:_&:' \
+   -e 's:test_start_tls_on_uds_socket_stream:_&:' \
+tests/test_concurrency.py || die
+
+   sed -i -e 's:test_http2_live_request:_&:' \
+   tests/dispatch/test_http2.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
+}

diff --git a/dev-python/httpx/httpx-0.12.0.ebuild 
b/dev-python/httpx/httpx-0.12.0.ebuild
new file mode 100644
index 000..1de54b5
--- /dev/null
+++ b/dev-python/httpx/httpx-0.12.0.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_{6,7} )
+
+inherit distutils-r1
+
+DESCRIPTION="A next generation HTTP client for Python"
+HOMEPAGE="https://www.python-httpx.org
+   https://github.com/encode/httpx";
+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/certifi[${PYTHON_USEDEP}]
+   dev-python/chardet[${PYTHON_USEDEP}]
+   dev-python/hstspreload[${PYTHON_USEDEP}]
+   dev-python/hyper-h2[${PYTHON_USEDEP}]
+   dev-python/h11[${PYTHON_USEDEP}]
+   dev-python/idna[${PYT

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

2020-02-03 Thread Andrew Ammerlaan
commit: 5234afa061322995ac891a28634ff863eff99e12
Author: Andrew Ammerlaan  riseup  net>
AuthorDate: Mon Feb  3 17:46:30 2020 +
Commit: Andrew Ammerlaan  riseup  net>
CommitDate: Mon Feb  3 17:46:30 2020 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=5234afa0

dev-python/httpx: A next generation HTTP client for Python

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

 dev-python/httpx/Manifest|  1 +
 dev-python/httpx/httpx-0.11.1.ebuild | 27 +++
 dev-python/httpx/metadata.xml|  9 +
 3 files changed, 37 insertions(+)

diff --git a/dev-python/httpx/Manifest b/dev-python/httpx/Manifest
new file mode 100644
index 000..6146f31
--- /dev/null
+++ b/dev-python/httpx/Manifest
@@ -0,0 +1 @@
+DIST httpx-0.11.1.tar.gz 65974 BLAKE2B 
fabf6f8e9b48ad3ccc79c72c42ad007819a065d74c8c0d7225550cc2e223626b896b57378ad989c7f04b17e70d1941873addcec2507afefde0801f4eaa6d3f43
 SHA512 
0203d348739b450fec1f386778136f8591d0177f58eff68d3887348f1e379bfd7da98b87a80b195d023ce17e1442989a52765704be18088166593211a23b84ad

diff --git a/dev-python/httpx/httpx-0.11.1.ebuild 
b/dev-python/httpx/httpx-0.11.1.ebuild
new file mode 100644
index 000..0e11ec8
--- /dev/null
+++ b/dev-python/httpx/httpx-0.11.1.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{6,7} )
+
+inherit distutils-r1
+
+DESCRIPTION="A next generation HTTP client for Python"
+HOMEPAGE="https://www.python-httpx.org
+   https://github.com/encode/httpx";
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="BSD"
+KEYWORDS="~amd64 ~x86"
+SLOT="0"
+
+RDEPEND="dev-python/certifi[${PYTHON_USEDEP}]
+   dev-python/chardet[${PYTHON_USEDEP}]
+   dev-python/hstspreload[${PYTHON_USEDEP}]
+   dev-python/hyper-h2[${PYTHON_USEDEP}]
+   dev-python/h11[${PYTHON_USEDEP}]
+   dev-python/idna[${PYTHON_USEDEP}]
+   dev-python/rfc3986[${PYTHON_USEDEP}]
+   dev-python/sniffio[${PYTHON_USEDEP}]
+   dev-python/urllib3[${PYTHON_USEDEP}]"

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