[gentoo-commits] repo/gentoo:master commit in: dev-python/requests-toolbelt/

2023-06-01 Thread Michał Górny
commit: edab3998b77e149c4b42fb48bc35adfa990f0d40
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Jun  1 17:22:26 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Jun  1 17:23:25 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=edab3998

dev-python/requests-toolbelt: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/requests-toolbelt/Manifest  |  1 -
 .../requests-toolbelt-0.10.1.ebuild| 52 --
 2 files changed, 53 deletions(-)

diff --git a/dev-python/requests-toolbelt/Manifest 
b/dev-python/requests-toolbelt/Manifest
index 79be3b0d1ed6..394815825ec6 100644
--- a/dev-python/requests-toolbelt/Manifest
+++ b/dev-python/requests-toolbelt/Manifest
@@ -1,2 +1 @@
-DIST requests-toolbelt-0.10.1.gh.tar.gz 201504 BLAKE2B 
48c5b9f46000d9809e482278626bbce805b93ed2a4a5d074bad4f7fbda75984dd55919eca31909c98c9a74ca7b323e73c90691dced0734964621d4ba5748d464
 SHA512 
ad6dfe3329c8be5a4521d223d25ec303201e706b34199c084efd0a30b8bc8cfb3382e80a502dc25bd5f7e5b2774a119d2255c49408979aaec45e221f412a7b52
 DIST requests-toolbelt-1.0.0.gh.tar.gz 199298 BLAKE2B 
c8a75005fd27bb725cabe7c6e4493b65bfc6914d7b22490c10869f0f35f6f08d0e829196e7de2e7ec07fed7ad52559f550bfbe072020ed8e782543273c903805
 SHA512 
1ee5d5dbb0d140796c81d42c051ccfab8810bf5ec511b32c9a54b4adccbab460f3108acdfe5a65b3cb68377586ff0f55206bf231e64651aaea077feda7984953

diff --git a/dev-python/requests-toolbelt/requests-toolbelt-0.10.1.ebuild 
b/dev-python/requests-toolbelt/requests-toolbelt-0.10.1.ebuild
deleted file mode 100644
index bd7bc8c25d86..
--- a/dev-python/requests-toolbelt/requests-toolbelt-0.10.1.ebuild
+++ /dev/null
@@ -1,52 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{9..11} pypy3 )
-
-inherit distutils-r1
-
-DESCRIPTION="A utility belt for advanced users of python-requests"
-HOMEPAGE="
-   https://toolbelt.readthedocs.io/
-   https://github.com/requests/toolbelt/
-   https://pypi.org/project/requests-toolbelt/
-"
-SRC_URI="
-   https://github.com/requests/toolbelt/archive/${PV}.tar.gz
-   -> ${P}.gh.tar.gz
-"
-S=${WORKDIR}/${P#requests-}
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 
sparc x86 ~x64-macos"
-
-RDEPEND="
-   

[gentoo-commits] repo/gentoo:master commit in: dev-python/requests-toolbelt/

2023-06-01 Thread Arthur Zamarin
commit: b7d3866d78a90ead89ad5e1c17f2818080691b97
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Thu Jun  1 17:20:33 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Thu Jun  1 17:20:51 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b7d3866d

dev-python/requests-toolbelt: Stabilize 1.0.0 ALLARCHES, #907661

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-python/requests-toolbelt/requests-toolbelt-1.0.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/requests-toolbelt/requests-toolbelt-1.0.0.ebuild 
b/dev-python/requests-toolbelt/requests-toolbelt-1.0.0.ebuild
index 1ffed1c07749..5d60cbcca90d 100644
--- a/dev-python/requests-toolbelt/requests-toolbelt-1.0.0.ebuild
+++ b/dev-python/requests-toolbelt/requests-toolbelt-1.0.0.ebuild
@@ -22,7 +22,7 @@ S=${WORKDIR}/${P#requests-}
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv 
~s390 ~sparc ~x86 ~x64-macos"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 
sparc x86 ~x64-macos"
 IUSE="test-rust"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: dev-python/requests-toolbelt/

2023-06-01 Thread Arthur Zamarin
commit: a89b9a550a8f208e03d36b526b903abb838efdea
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Thu Jun  1 16:50:12 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Thu Jun  1 16:50:12 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a89b9a55

dev-python/requests-toolbelt: enable py3.12

- add missing test dep on trustme

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-python/requests-toolbelt/requests-toolbelt-1.0.0.ebuild | 9 +++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/dev-python/requests-toolbelt/requests-toolbelt-1.0.0.ebuild 
b/dev-python/requests-toolbelt/requests-toolbelt-1.0.0.ebuild
index e7aefb234fe6..1ffed1c07749 100644
--- a/dev-python/requests-toolbelt/requests-toolbelt-1.0.0.ebuild
+++ b/dev-python/requests-toolbelt/requests-toolbelt-1.0.0.ebuild
@@ -4,7 +4,7 @@
 EAPI=8
 
 DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{10..11} pypy3 )
+PYTHON_COMPAT=( python3_{10..12} pypy3 )
 
 inherit distutils-r1
 
@@ -34,6 +34,7 @@ BDEPEND="
test-rust? (
dev-python/cryptography[${PYTHON_USEDEP}]
dev-python/pyopenssl[${PYTHON_USEDEP}]
+   dev-python/trustme[${PYTHON_USEDEP}]
)
)
 "
@@ -48,11 +49,15 @@ python_test() {

tests/test_multipart_encoder.py::TestFileFromURLWrapper::test_no_content_length_header

tests/test_multipart_encoder.py::TestFileFromURLWrapper::test_read_file

tests/test_multipart_encoder.py::TestMultipartEncoder::test_reads_file_from_url_wrapper
+   # tests themself are broken with newer urllib3
+   
tests/test_dump.py::TestDumpRealResponses::test_dump_{all,response}
+   
tests/test_sessions.py::TestBasedSession::test_{prepared_,}request_{with,override}_base
)
local EPYTEST_IGNORE=()
 
if ! has_version "dev-python/cryptography[${PYTHON_USEDEP}]" ||
-   ! has_version "dev-python/pyopenssl[${PYTHON_USEDEP}]"
+   ! has_version "dev-python/pyopenssl[${PYTHON_USEDEP}]" ||
+   ! has_version "dev-python/trustme[${PYTHON_USEDEP}]"
then
EPYTEST_IGNORE+=(
tests/test_x509_adapter.py



[gentoo-commits] repo/gentoo:master commit in: dev-python/requests-toolbelt/

2023-05-01 Thread Michał Górny
commit: 57d9781471aa8d613b9605f61ff463caee005c44
Author: Michał Górny  gentoo  org>
AuthorDate: Tue May  2 03:10:16 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue May  2 03:10:16 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=57d97814

dev-python/requests-toolbelt: Add GH remote-id

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/requests-toolbelt/metadata.xml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dev-python/requests-toolbelt/metadata.xml 
b/dev-python/requests-toolbelt/metadata.xml
index 850ca8492eb4..5bf67e348780 100644
--- a/dev-python/requests-toolbelt/metadata.xml
+++ b/dev-python/requests-toolbelt/metadata.xml
@@ -10,6 +10,7 @@



+   requests/toolbelt
requests-toolbelt

 



[gentoo-commits] repo/gentoo:master commit in: dev-python/requests-toolbelt/

2023-05-01 Thread Michał Górny
commit: 047b3075df7d9624fbd14b20d35abbaa651d3b9f
Author: Michał Górny  gentoo  org>
AuthorDate: Tue May  2 02:56:07 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue May  2 03:04:23 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=047b3075

dev-python/requests-toolbelt: Bump to 1.0.0

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/requests-toolbelt/Manifest  |  1 +
 .../requests-toolbelt-1.0.0.ebuild | 63 ++
 2 files changed, 64 insertions(+)

diff --git a/dev-python/requests-toolbelt/Manifest 
b/dev-python/requests-toolbelt/Manifest
index 3bed56bb5352..79be3b0d1ed6 100644
--- a/dev-python/requests-toolbelt/Manifest
+++ b/dev-python/requests-toolbelt/Manifest
@@ -1 +1,2 @@
 DIST requests-toolbelt-0.10.1.gh.tar.gz 201504 BLAKE2B 
48c5b9f46000d9809e482278626bbce805b93ed2a4a5d074bad4f7fbda75984dd55919eca31909c98c9a74ca7b323e73c90691dced0734964621d4ba5748d464
 SHA512 
ad6dfe3329c8be5a4521d223d25ec303201e706b34199c084efd0a30b8bc8cfb3382e80a502dc25bd5f7e5b2774a119d2255c49408979aaec45e221f412a7b52
+DIST requests-toolbelt-1.0.0.gh.tar.gz 199298 BLAKE2B 
c8a75005fd27bb725cabe7c6e4493b65bfc6914d7b22490c10869f0f35f6f08d0e829196e7de2e7ec07fed7ad52559f550bfbe072020ed8e782543273c903805
 SHA512 
1ee5d5dbb0d140796c81d42c051ccfab8810bf5ec511b32c9a54b4adccbab460f3108acdfe5a65b3cb68377586ff0f55206bf231e64651aaea077feda7984953

diff --git a/dev-python/requests-toolbelt/requests-toolbelt-1.0.0.ebuild 
b/dev-python/requests-toolbelt/requests-toolbelt-1.0.0.ebuild
new file mode 100644
index ..e7aefb234fe6
--- /dev/null
+++ b/dev-python/requests-toolbelt/requests-toolbelt-1.0.0.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..11} pypy3 )
+
+inherit distutils-r1
+
+DESCRIPTION="A utility belt for advanced users of python-requests"
+HOMEPAGE="
+   https://toolbelt.readthedocs.io/
+   https://github.com/requests/toolbelt/
+   https://pypi.org/project/requests-toolbelt/
+"
+SRC_URI="
+   https://github.com/requests/toolbelt/archive/${PV}.tar.gz
+   -> ${P}.gh.tar.gz
+"
+S=${WORKDIR}/${P#requests-}
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv 
~s390 ~sparc ~x86 ~x64-macos"
+IUSE="test-rust"
+
+RDEPEND="
+   

[gentoo-commits] repo/gentoo:master commit in: dev-python/requests-toolbelt/, dev-python/requests-toolbelt/files/

2022-11-08 Thread Michał Górny
commit: 6f2fe4e18e6def0d152bc22e55f1c01622d1e7da
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Nov  9 05:49:06 2022 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Nov  9 06:12:40 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6f2fe4e1

dev-python/requests-toolbelt: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/requests-toolbelt/Manifest  |   2 -
 .../requests-toolbelt-0.8.0-test-tracebacks.patch  |  36 --
 .../files/requests-toolbelt-0.9.1-py310.patch  |  37 --
 .../files/requests-toolbelt-0.9.1-tests.patch  | 128 -
 .../requests-toolbelt-0.10.0.ebuild|  48 
 .../requests-toolbelt-0.9.1-r1.ebuild  |  55 -
 6 files changed, 306 deletions(-)

diff --git a/dev-python/requests-toolbelt/Manifest 
b/dev-python/requests-toolbelt/Manifest
index 6933d1ead77d..3bed56bb5352 100644
--- a/dev-python/requests-toolbelt/Manifest
+++ b/dev-python/requests-toolbelt/Manifest
@@ -1,3 +1 @@
-DIST requests-toolbelt-0.10.0.tar.gz 211210 BLAKE2B 
73196e33d42ff6f4532cd2904537451cc237627a149fa759fca7a66e360c0ddb8baf8c4537c880baf03a25065226380788449bae05434aad37962034e1324acb
 SHA512 
75e3a3e609625254e1f078d3c48c664b3118f5a406c84e59c4e9acdeb20a79b5d38ceaaf9578920063f063aa8385139310c06331499aaa92d3c51146f908f1a1
 DIST requests-toolbelt-0.10.1.gh.tar.gz 201504 BLAKE2B 
48c5b9f46000d9809e482278626bbce805b93ed2a4a5d074bad4f7fbda75984dd55919eca31909c98c9a74ca7b323e73c90691dced0734964621d4ba5748d464
 SHA512 
ad6dfe3329c8be5a4521d223d25ec303201e706b34199c084efd0a30b8bc8cfb3382e80a502dc25bd5f7e5b2774a119d2255c49408979aaec45e221f412a7b52
-DIST requests-toolbelt-0.9.1.tar.gz 207286 BLAKE2B 
6123677a9abafebddf7dffde2150b2426b5132ebe0c330ff891322ecc3d69232a5b15a0c66e3e1fb4832dc04f5a636a939613fba041e499e9fbca9814f548c7e
 SHA512 
12229928df5df71cb57bc65ef453dc0e4a2bbe190c1579811b2c2823673bd81aeba856b0fa20b253d0f0fa4fff55ea1e750794ca3785f71c376b1df7fd93

diff --git 
a/dev-python/requests-toolbelt/files/requests-toolbelt-0.8.0-test-tracebacks.patch
 
b/dev-python/requests-toolbelt/files/requests-toolbelt-0.8.0-test-tracebacks.patch
deleted file mode 100644
index 418039bc7f94..
--- 
a/dev-python/requests-toolbelt/files/requests-toolbelt-0.8.0-test-tracebacks.patch
+++ /dev/null
@@ -1,36 +0,0 @@
-From e130ad521d3b5a14cd9494213e6ca9f52d0d9a2e Mon Sep 17 00:00:00 2001
-From: Brian Dolbec 
-Date: Wed, 7 Mar 2018 21:52:25 +
-Subject: [PATCH] threaded/thread.py: Fix unhandled Nonetype job queue
-
-Adding this check and return prevents numerous test tracebacks:
-
-Exception in thread 12f554d5-f61f-44d9-bc69-023714627952:
-Traceback (most recent call last):
-  File "/usr/lib64/python3.4/threading.py", line 911, in _bootstrap_inner
-self.run()
-  File "/usr/lib64/python3.4/threading.py", line 859, in run
-self._target(*self._args, **self._kwargs)
-  File "/home/bdolbec/git/toolbelt/requests_toolbelt/threaded/thread.py", line 
43, in _make_request
-kwargs = self._jobs.get_nowait()
-AttributeError: 'NoneType' object has no attribute 'get_nowait'
-
-Signed-off-by: Brian Dolbec 
-Signed-off-by: Brian Dolbec 

- requests_toolbelt/threaded/thread.py | 2 ++
- 1 file changed, 2 insertions(+)
-
-diff --git a/requests_toolbelt/threaded/thread.py 
b/requests_toolbelt/threaded/thread.py
-index 542813c..f33b759 100644
 a/requests_toolbelt/threaded/thread.py
-+++ b/requests_toolbelt/threaded/thread.py
-@@ -36,6 +36,8 @@ def _handle_request(self, kwargs):
- self._jobs.task_done()
- 
- def _make_request(self):
-+if self._jobs is None:
-+return
- while True:
- try:
- kwargs = self._jobs.get_nowait()

diff --git 
a/dev-python/requests-toolbelt/files/requests-toolbelt-0.9.1-py310.patch 
b/dev-python/requests-toolbelt/files/requests-toolbelt-0.9.1-py310.patch
deleted file mode 100644
index 182e413158cd..
--- a/dev-python/requests-toolbelt/files/requests-toolbelt-0.9.1-py310.patch
+++ /dev/null
@@ -1,37 +0,0 @@
-From 7188b06330e5260be20bce8cbcf0d5ae44e34eaf Mon Sep 17 00:00:00 2001
-From: Jon Dufresne 
-Date: Fri, 1 Feb 2019 16:30:01 -0800
-Subject: [PATCH] Fix collections.abc deprecation warning in downloadutils
-
-Warning appears as:
-
-tests/test_downloadutils.py::test_stream_response_to_specific_filename
-  requests_toolbelt/downloadutils/stream.py:161: DeprecationWarning: Using or 
importing the ABCs from 'collections' instead of from 'collections.abc' is 
deprecated, and in 3.8 it will stop working
-if path and isinstance(getattr(path, 'write', None), collections.Callable):

- requests_toolbelt/downloadutils/stream.py | 3 +--
- 1 file changed, 1 insertion(+), 2 deletions(-)
-
-diff --git a/requests_toolbelt/downloadutils/stream.py 
b/requests_toolbelt/downloadutils/stream.py
-index eed60a7..1d1c31b 100644
 a/requests_toolbelt/downloadutils/stream.py
-+++ 

[gentoo-commits] repo/gentoo:master commit in: dev-python/requests-toolbelt/

2022-11-08 Thread Arthur Zamarin
commit: 3bbf653d8bfdf803b007540a388602ec3dcae2a3
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Tue Nov  8 20:25:54 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Tue Nov  8 20:25:54 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3bbf653d

dev-python/requests-toolbelt: Stabilize 0.10.1 ALLARCHES, #880475

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-python/requests-toolbelt/requests-toolbelt-0.10.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/requests-toolbelt/requests-toolbelt-0.10.1.ebuild 
b/dev-python/requests-toolbelt/requests-toolbelt-0.10.1.ebuild
index 0a202b6dec23..4604583dd927 100644
--- a/dev-python/requests-toolbelt/requests-toolbelt-0.10.1.ebuild
+++ b/dev-python/requests-toolbelt/requests-toolbelt-0.10.1.ebuild
@@ -22,7 +22,7 @@ S=${WORKDIR}/${P#requests-}
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv 
~s390 ~sparc ~x86 ~x64-macos"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 
sparc x86 ~x64-macos"
 
 RDEPEND="


[gentoo-commits] repo/gentoo:master commit in: dev-python/requests-toolbelt/

2022-10-25 Thread Michał Górny
commit: 0022658d9fa9e8bc7696e3c81ff20fede2ba72ef
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Oct 25 05:11:04 2022 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Oct 25 08:28:00 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0022658d

dev-python/requests-toolbelt: Bump to 0.10.1

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/requests-toolbelt/Manifest  |  1 +
 .../requests-toolbelt-0.10.1.ebuild| 52 ++
 2 files changed, 53 insertions(+)

diff --git a/dev-python/requests-toolbelt/Manifest 
b/dev-python/requests-toolbelt/Manifest
index e3ed802a1046..6933d1ead77d 100644
--- a/dev-python/requests-toolbelt/Manifest
+++ b/dev-python/requests-toolbelt/Manifest
@@ -1,2 +1,3 @@
 DIST requests-toolbelt-0.10.0.tar.gz 211210 BLAKE2B 
73196e33d42ff6f4532cd2904537451cc237627a149fa759fca7a66e360c0ddb8baf8c4537c880baf03a25065226380788449bae05434aad37962034e1324acb
 SHA512 
75e3a3e609625254e1f078d3c48c664b3118f5a406c84e59c4e9acdeb20a79b5d38ceaaf9578920063f063aa8385139310c06331499aaa92d3c51146f908f1a1
+DIST requests-toolbelt-0.10.1.gh.tar.gz 201504 BLAKE2B 
48c5b9f46000d9809e482278626bbce805b93ed2a4a5d074bad4f7fbda75984dd55919eca31909c98c9a74ca7b323e73c90691dced0734964621d4ba5748d464
 SHA512 
ad6dfe3329c8be5a4521d223d25ec303201e706b34199c084efd0a30b8bc8cfb3382e80a502dc25bd5f7e5b2774a119d2255c49408979aaec45e221f412a7b52
 DIST requests-toolbelt-0.9.1.tar.gz 207286 BLAKE2B 
6123677a9abafebddf7dffde2150b2426b5132ebe0c330ff891322ecc3d69232a5b15a0c66e3e1fb4832dc04f5a636a939613fba041e499e9fbca9814f548c7e
 SHA512 
12229928df5df71cb57bc65ef453dc0e4a2bbe190c1579811b2c2823673bd81aeba856b0fa20b253d0f0fa4fff55ea1e750794ca3785f71c376b1df7fd93

diff --git a/dev-python/requests-toolbelt/requests-toolbelt-0.10.1.ebuild 
b/dev-python/requests-toolbelt/requests-toolbelt-0.10.1.ebuild
new file mode 100644
index ..0a202b6dec23
--- /dev/null
+++ b/dev-python/requests-toolbelt/requests-toolbelt-0.10.1.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{8..11} pypy3 )
+
+inherit distutils-r1
+
+DESCRIPTION="A utility belt for advanced users of python-requests"
+HOMEPAGE="
+   https://toolbelt.readthedocs.io/
+   https://github.com/requests/toolbelt/
+   https://pypi.org/project/requests-toolbelt/
+"
+SRC_URI="
+   https://github.com/requests/toolbelt/archive/${PV}.tar.gz
+   -> ${P}.gh.tar.gz
+"
+S=${WORKDIR}/${P#requests-}
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv 
~s390 ~sparc ~x86 ~x64-macos"
+
+RDEPEND="
+   

[gentoo-commits] repo/gentoo:master commit in: dev-python/requests-toolbelt/

2022-10-07 Thread Michał Górny
commit: 4f2438a58ef297306bf3becc7eb23cd29cd4fffd
Author: Michał Górny  gentoo  org>
AuthorDate: Fri Oct  7 06:37:10 2022 +
Commit: Michał Górny  gentoo  org>
CommitDate: Fri Oct  7 06:40:29 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4f2438a5

dev-python/requests-toolbelt: Bump to 0.10.0

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/requests-toolbelt/Manifest  |  1 +
 .../requests-toolbelt-0.10.0.ebuild| 48 ++
 2 files changed, 49 insertions(+)

diff --git a/dev-python/requests-toolbelt/Manifest 
b/dev-python/requests-toolbelt/Manifest
index 619cd63f19ca..e3ed802a1046 100644
--- a/dev-python/requests-toolbelt/Manifest
+++ b/dev-python/requests-toolbelt/Manifest
@@ -1 +1,2 @@
+DIST requests-toolbelt-0.10.0.tar.gz 211210 BLAKE2B 
73196e33d42ff6f4532cd2904537451cc237627a149fa759fca7a66e360c0ddb8baf8c4537c880baf03a25065226380788449bae05434aad37962034e1324acb
 SHA512 
75e3a3e609625254e1f078d3c48c664b3118f5a406c84e59c4e9acdeb20a79b5d38ceaaf9578920063f063aa8385139310c06331499aaa92d3c51146f908f1a1
 DIST requests-toolbelt-0.9.1.tar.gz 207286 BLAKE2B 
6123677a9abafebddf7dffde2150b2426b5132ebe0c330ff891322ecc3d69232a5b15a0c66e3e1fb4832dc04f5a636a939613fba041e499e9fbca9814f548c7e
 SHA512 
12229928df5df71cb57bc65ef453dc0e4a2bbe190c1579811b2c2823673bd81aeba856b0fa20b253d0f0fa4fff55ea1e750794ca3785f71c376b1df7fd93

diff --git a/dev-python/requests-toolbelt/requests-toolbelt-0.10.0.ebuild 
b/dev-python/requests-toolbelt/requests-toolbelt-0.10.0.ebuild
new file mode 100644
index ..cffab8d53c1e
--- /dev/null
+++ b/dev-python/requests-toolbelt/requests-toolbelt-0.10.0.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{8..11} pypy3 )
+
+inherit distutils-r1
+
+DESCRIPTION="A utility belt for advanced users of python-requests"
+HOMEPAGE="
+   https://toolbelt.readthedocs.io/
+   https://github.com/requests/toolbelt/
+   https://pypi.org/project/requests-toolbelt/
+"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv 
~s390 ~sparc ~x86 ~x64-macos"
+
+RDEPEND="
+   

[gentoo-commits] repo/gentoo:master commit in: dev-python/requests-toolbelt/

2022-06-21 Thread Michał Górny
commit: 94fc50edeeb2c81a9665edbd594d25926a3d6078
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Jun 21 20:12:53 2022 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Jun 21 20:12:53 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=94fc50ed

dev-python/requests-toolbelt: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 .../requests-toolbelt-0.9.1.ebuild | 58 --
 1 file changed, 58 deletions(-)

diff --git a/dev-python/requests-toolbelt/requests-toolbelt-0.9.1.ebuild 
b/dev-python/requests-toolbelt/requests-toolbelt-0.9.1.ebuild
deleted file mode 100644
index 947110d8ae64..
--- a/dev-python/requests-toolbelt/requests-toolbelt-0.9.1.ebuild
+++ /dev/null
@@ -1,58 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-PYTHON_COMPAT=( python3_{8..10} pypy3 )
-
-inherit distutils-r1
-
-DESCRIPTION="A utility belt for advanced users of python-requests"
-HOMEPAGE="https://toolbelt.readthedocs.org/;
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 
sparc x86 ~x64-macos"
-IUSE="test"
-
-RDEPEND="

[gentoo-commits] repo/gentoo:master commit in: dev-python/requests-toolbelt/

2022-06-21 Thread Arthur Zamarin
commit: 4686472cdda95635270fe80f33d7433e528648ce
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Tue Jun 21 18:55:25 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Tue Jun 21 18:55:25 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4686472c

dev-python/requests-toolbelt: Stabilize 0.9.1-r1 ALLARCHES, #853397

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-python/requests-toolbelt/requests-toolbelt-0.9.1-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/requests-toolbelt/requests-toolbelt-0.9.1-r1.ebuild 
b/dev-python/requests-toolbelt/requests-toolbelt-0.9.1-r1.ebuild
index 2654ec0ffe97..a5fc91d08018 100644
--- a/dev-python/requests-toolbelt/requests-toolbelt-0.9.1-r1.ebuild
+++ b/dev-python/requests-toolbelt/requests-toolbelt-0.9.1-r1.ebuild
@@ -18,7 +18,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv 
~s390 ~sparc ~x86 ~x64-macos"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 
sparc x86 ~x64-macos"
 
 RDEPEND="


[gentoo-commits] repo/gentoo:master commit in: dev-python/requests-toolbelt/

2022-05-22 Thread Michał Górny
commit: 703a4767a18309d8134f3d33646b0c45f4ce5c2e
Author: Michał Górny  gentoo  org>
AuthorDate: Sun May 22 08:56:14 2022 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun May 22 08:58:57 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=703a4767

dev-python/requests-toolbelt: Use PEP517 build

Signed-off-by: Michał Górny  gentoo.org>

 .../requests-toolbelt-0.9.1-r1.ebuild  | 55 ++
 1 file changed, 55 insertions(+)

diff --git a/dev-python/requests-toolbelt/requests-toolbelt-0.9.1-r1.ebuild 
b/dev-python/requests-toolbelt/requests-toolbelt-0.9.1-r1.ebuild
new file mode 100644
index ..b9c393bf1110
--- /dev/null
+++ b/dev-python/requests-toolbelt/requests-toolbelt-0.9.1-r1.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{8..10} pypy3 )
+
+inherit distutils-r1
+
+DESCRIPTION="A utility belt for advanced users of python-requests"
+HOMEPAGE="
+   https://toolbelt.readthedocs.io/
+   https://github.com/requests/toolbelt/
+   https://pypi.org/project/requests-toolbelt/
+"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv 
~s390 ~sparc ~x86 ~x64-macos"
+
+RDEPEND="
+   

[gentoo-commits] repo/gentoo:master commit in: dev-python/requests-toolbelt/

2022-05-22 Thread Michał Górny
commit: 428ecae808a1280e6b6c7f88c6dec23baca8c641
Author: Michał Górny  gentoo  org>
AuthorDate: Sun May 22 08:56:22 2022 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun May 22 08:58:58 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=428ecae8

dev-python/requests-toolbelt: Enable py3.11

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/requests-toolbelt/requests-toolbelt-0.9.1-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/requests-toolbelt/requests-toolbelt-0.9.1-r1.ebuild 
b/dev-python/requests-toolbelt/requests-toolbelt-0.9.1-r1.ebuild
index b9c393bf1110..2654ec0ffe97 100644
--- a/dev-python/requests-toolbelt/requests-toolbelt-0.9.1-r1.ebuild
+++ b/dev-python/requests-toolbelt/requests-toolbelt-0.9.1-r1.ebuild
@@ -4,7 +4,7 @@
 EAPI=8
 
 DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{8..10} pypy3 )
+PYTHON_COMPAT=( python3_{8..11} pypy3 )
 
 inherit distutils-r1
 



[gentoo-commits] repo/gentoo:master commit in: dev-python/requests-toolbelt/

2022-04-25 Thread Sam James
commit: c7f19456ffa0c9b53864bc51c981d05b58726afe
Author: Sam James  gentoo  org>
AuthorDate: Mon Apr 25 16:49:48 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Apr 25 16:50:05 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c7f19456

dev-python/requests-toolbelt: Keyword 0.9.1 s390, #840413

Signed-off-by: Sam James  gentoo.org>

 dev-python/requests-toolbelt/requests-toolbelt-0.9.1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-python/requests-toolbelt/requests-toolbelt-0.9.1.ebuild 
b/dev-python/requests-toolbelt/requests-toolbelt-0.9.1.ebuild
index bc009aa6dafa..37c7016402a5 100644
--- a/dev-python/requests-toolbelt/requests-toolbelt-0.9.1.ebuild
+++ b/dev-python/requests-toolbelt/requests-toolbelt-0.9.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -12,7 +12,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ppc ppc64 ~riscv sparc x86 
~x64-macos"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ppc ppc64 ~riscv ~s390 sparc x86 
~x64-macos"
 IUSE="test"
 
 RDEPEND="

[gentoo-commits] repo/gentoo:master commit in: dev-python/requests-toolbelt/

2021-11-28 Thread Michał Górny
commit: 22706915873af926e9bc2037bf08b532ade3ab11
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Nov 27 10:32:33 2021 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Nov 28 14:38:46 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=22706915

dev-python/requests-toolbelt: Skip pyopenssl dep on non-Rust arches

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/requests-toolbelt/requests-toolbelt-0.9.1.ebuild | 6 --
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/dev-python/requests-toolbelt/requests-toolbelt-0.9.1.ebuild 
b/dev-python/requests-toolbelt/requests-toolbelt-0.9.1.ebuild
index c6bf76f2db87..bc009aa6dafa 100644
--- a/dev-python/requests-toolbelt/requests-toolbelt-0.9.1.ebuild
+++ b/dev-python/requests-toolbelt/requests-toolbelt-0.9.1.ebuild
@@ -19,9 +19,11 @@ RDEPEND="

[gentoo-commits] repo/gentoo:master commit in: dev-python/requests-toolbelt/

2021-11-27 Thread Michał Górny
commit: 6bffdf777597695bb49a758869ac20d27baab879
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Nov 27 10:11:31 2021 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Nov 27 10:27:29 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6bffdf77

dev-python/requests-toolbelt: Support testing without pyopenssl

Support ignoring the tests requiring pyopenssl + cryptography
if the packages are not installed.  This is in preparation to them
losing keywords due to use of Rust.

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/requests-toolbelt/requests-toolbelt-0.9.1.ebuild | 10 ++
 1 file changed, 10 insertions(+)

diff --git a/dev-python/requests-toolbelt/requests-toolbelt-0.9.1.ebuild 
b/dev-python/requests-toolbelt/requests-toolbelt-0.9.1.ebuild
index 145581a7c94d..c6bf76f2db87 100644
--- a/dev-python/requests-toolbelt/requests-toolbelt-0.9.1.ebuild
+++ b/dev-python/requests-toolbelt/requests-toolbelt-0.9.1.ebuild
@@ -19,6 +19,7 @@ RDEPEND="

[gentoo-commits] repo/gentoo:master commit in: dev-python/requests-toolbelt/, dev-python/requests-toolbelt/files/

2021-11-27 Thread Michał Górny
commit: 7954e810b7a27d3a55dd0b1ce0cb828b0a7b47c3
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Nov 27 10:09:34 2021 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Nov 27 10:27:27 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7954e810

dev-python/requests-toolbelt: Remove stale py2 patch

Signed-off-by: Michał Górny  gentoo.org>

 .../files/requests-toolbelt-0.9.1-tests-py2.patch  | 68 --
 .../requests-toolbelt-0.9.1.ebuild |  5 --
 2 files changed, 73 deletions(-)

diff --git 
a/dev-python/requests-toolbelt/files/requests-toolbelt-0.9.1-tests-py2.patch 
b/dev-python/requests-toolbelt/files/requests-toolbelt-0.9.1-tests-py2.patch
deleted file mode 100644
index 6825c5f4ed4c..
--- a/dev-python/requests-toolbelt/files/requests-toolbelt-0.9.1-tests-py2.patch
+++ /dev/null
@@ -1,68 +0,0 @@
-diff --git a/tests/threaded/test_pool.py b/tests/threaded/test_pool.py
-index 3e54b3c..9583c7b 100644
 a/tests/threaded/test_pool.py
-+++ b/tests/threaded/test_pool.py
-@@ -5,6 +5,7 @@ except ImportError:
- import Queue as queue
- import unittest
- 
-+import sys
- import mock
- import pytest
- 
-@@ -60,6 +61,7 @@ class TestPool(unittest.TestCase):
- assert session.called is True
- session.assert_called_once_with()
- 
-+@pytest.mark.skipif(sys.hexversion < 0x300, reason="broken on 
python2")
- def test_from_exceptions_populates_a_queue(self):
- """Ensure a Queue is properly populated from exceptions."""
- urls = ["https://httpbin.org/get?n={}".format(n) for n in range(5)]
-@@ -77,6 +79,7 @@ class TestPool(unittest.TestCase):
- for url in urls
- ]
- 
-+@pytest.mark.skipif(sys.hexversion < 0x300, reason="broken on 
python2")
- def test_from_urls_constructs_get_requests(self):
- """Ensure a Queue is properly populated from an iterable of urls."""
- urls = ["https://httpbin.org/get?n={}".format(n) for n in range(5)]
-@@ -92,6 +95,7 @@ class TestPool(unittest.TestCase):
- for url in urls
- ]
- 
-+@pytest.mark.skipif(sys.hexversion < 0x300, reason="broken on 
python2")
- def test_from_urls_constructs_get_requests_with_kwargs(self):
- """Ensure a Queue is properly populated from an iterable of urls."""
- def merge(*args):
-@@ -130,6 +134,7 @@ class TestPool(unittest.TestCase):
- for st in session_threads:
- st.join.assert_called_once_with()
- 
-+@pytest.mark.skipif(sys.hexversion < 0x300, reason="broken on 
python2")
- def test_get_response_returns_thread_response(self):
- """Ensure that a ThreadResponse is made when there's data."""
- queues = []
-@@ -149,6 +154,7 @@ class TestPool(unittest.TestCase):
- assert isinstance(p.get_response(), pool.ThreadResponse)
- assert len([q for q in queues if q.get_nowait.called]) == 1
- 
-+@pytest.mark.skipif(sys.hexversion < 0x300, reason="broken on 
python2")
- def test_get_exception_returns_thread_exception(self):
- """Ensure that a ThreadException is made when there's data."""
- queues = []
-@@ -168,6 +174,7 @@ class TestPool(unittest.TestCase):
- assert isinstance(p.get_exception(), pool.ThreadException)
- assert len([q for q in queues if q.get_nowait.called]) == 1
- 
-+@pytest.mark.skipif(sys.hexversion < 0x300, reason="broken on 
python2")
- def test_get_response_returns_none_when_queue_is_empty(self):
- """Ensure that None is returned when the response Queue is empty."""
- queues = []
-@@ -187,6 +194,7 @@ class TestPool(unittest.TestCase):
- assert p.get_response() is None
- assert len([q for q in queues if q.get_nowait.called]) == 1
- 
-+@pytest.mark.skipif(sys.hexversion < 0x300, reason="broken on 
python2")
- def test_get_exception_returns_none_when_queue_is_empty(self):
- """Ensure that None is returned when the exception Queue is empty."""
- queues = []

diff --git a/dev-python/requests-toolbelt/requests-toolbelt-0.9.1.ebuild 
b/dev-python/requests-toolbelt/requests-toolbelt-0.9.1.ebuild
index c3c2c1f2eca4..ea834e88ccdd 100644
--- a/dev-python/requests-toolbelt/requests-toolbelt-0.9.1.ebuild
+++ b/dev-python/requests-toolbelt/requests-toolbelt-0.9.1.ebuild
@@ -29,11 +29,6 @@ PATCHES=(
"${FILESDIR}/requests-toolbelt-0.8.0-test-tracebacks.patch"
"${FILESDIR}/requests-toolbelt-0.9.1-tests.patch"
 
-   # disable python2.7 test failures with newer requests versions
-   # bug: https://bugs.gentoo.org/635824
-   # https://github.com/requests/toolbelt/issues/213
-   "${FILESDIR}/requests-toolbelt-0.9.1-tests-py2.patch"
-
# disable tests that require internet access
"${FILESDIR}/requests-toolbelt-0.9.1-tests-internet.patch"
 



[gentoo-commits] repo/gentoo:master commit in: dev-python/requests-toolbelt/, dev-python/requests-toolbelt/files/

2021-11-27 Thread Michał Górny
commit: ee5976955db0aec96005ff4e51ef36c6d612934f
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Nov 27 10:10:17 2021 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Nov 27 10:27:28 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ee597695

dev-python/requests-toolbelt: Replace patch with EPYTEST_DESELECT

Signed-off-by: Michał Górny  gentoo.org>

 .../requests-toolbelt-0.9.1-tests-internet.patch   | 28 --
 .../requests-toolbelt-0.9.1.ebuild | 14 ---
 2 files changed, 11 insertions(+), 31 deletions(-)

diff --git 
a/dev-python/requests-toolbelt/files/requests-toolbelt-0.9.1-tests-internet.patch
 
b/dev-python/requests-toolbelt/files/requests-toolbelt-0.9.1-tests-internet.patch
deleted file mode 100644
index b3dc2603c117..
--- 
a/dev-python/requests-toolbelt/files/requests-toolbelt-0.9.1-tests-internet.patch
+++ /dev/null
@@ -1,28 +0,0 @@
-diff --git a/tests/test_multipart_encoder.py b/tests/test_multipart_encoder.py
-index 575f54c..73a880e 100644
 a/tests/test_multipart_encoder.py
-+++ b/tests/test_multipart_encoder.py
-@@ -94,6 +94,7 @@ class TestFileFromURLWrapper(unittest.TestCase):
- s = requests.Session()
- self.recorder = get_betamax(s)
- 
-+@unittest.skip("test requires internet access")
- def test_read_file(self):
- url = ('https://stxnext.com/static/img/logo.830ebe551641.svg')
- with self.recorder.use_cassette(
-@@ -110,6 +111,7 @@ class TestFileFromURLWrapper(unittest.TestCase):
- assert chunk == b'ww.w3.org/'
- assert self.instance.len == 5147
- 
-+@unittest.skip("test requires internet access")
- def test_no_content_length_header(self):
- url = (
- 'https://api.github.com/repos/sigmavirus24/github3.py/releases/'
-@@ -191,6 +193,7 @@ class TestMultipartEncoder(unittest.TestCase):
- m = MultipartEncoder([('field', 'foo'), ('file', fd)])
- assert m.read() is not None
- 
-+@unittest.skip("test requires internet access")
- def test_reads_file_from_url_wrapper(self):
- s = requests.Session()
- recorder = get_betamax(s)

diff --git a/dev-python/requests-toolbelt/requests-toolbelt-0.9.1.ebuild 
b/dev-python/requests-toolbelt/requests-toolbelt-0.9.1.ebuild
index ea834e88ccdd..145581a7c94d 100644
--- a/dev-python/requests-toolbelt/requests-toolbelt-0.9.1.ebuild
+++ b/dev-python/requests-toolbelt/requests-toolbelt-0.9.1.ebuild
@@ -29,10 +29,18 @@ PATCHES=(
"${FILESDIR}/requests-toolbelt-0.8.0-test-tracebacks.patch"
"${FILESDIR}/requests-toolbelt-0.9.1-tests.patch"
 
-   # disable tests that require internet access
-   "${FILESDIR}/requests-toolbelt-0.9.1-tests-internet.patch"
-
"${FILESDIR}/requests-toolbelt-0.9.1-py310.patch"
 )
 
 distutils_enable_tests pytest
+
+python_test() {
+   local EPYTEST_DESELECT=(
+   # Internet
+   
tests/test_multipart_encoder.py::TestFileFromURLWrapper::test_no_content_length_header
+   
tests/test_multipart_encoder.py::TestFileFromURLWrapper::test_read_file
+   
tests/test_multipart_encoder.py::TestMultipartEncoder::test_reads_file_from_url_wrapper
+   )
+
+   epytest
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/requests-toolbelt/

2021-07-28 Thread Marek Szuba
commit: 95e49c01acd7d62cade945d1f5144837b6b9e774
Author: Marek Szuba  gentoo  org>
AuthorDate: Wed Jul 28 22:27:54 2021 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Wed Jul 28 23:37:56 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=95e49c01

dev-python/requests-toolbelt: keyword 0.9.1 for ~riscv

Signed-off-by: Marek Szuba  gentoo.org>

 dev-python/requests-toolbelt/requests-toolbelt-0.9.1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-python/requests-toolbelt/requests-toolbelt-0.9.1.ebuild 
b/dev-python/requests-toolbelt/requests-toolbelt-0.9.1.ebuild
index afbd3421e3a..c3c2c1f2eca 100644
--- a/dev-python/requests-toolbelt/requests-toolbelt-0.9.1.ebuild
+++ b/dev-python/requests-toolbelt/requests-toolbelt-0.9.1.ebuild
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
-PYTHON_COMPAT=( python3_{7..10} pypy3 )
+PYTHON_COMPAT=( python3_{8..10} pypy3 )
 
 inherit distutils-r1
 
@@ -12,7 +12,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ppc ppc64 sparc x86 ~x64-macos"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ppc ppc64 ~riscv sparc x86 
~x64-macos"
 IUSE="test"
 
 RDEPEND="

[gentoo-commits] repo/gentoo:master commit in: dev-python/requests-toolbelt/files/, dev-python/requests-toolbelt/

2021-06-02 Thread Michał Górny
commit: 7636ae1dea275d4302aafea4c7016917543264b8
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Jun  2 16:25:52 2021 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Jun  2 16:26:33 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7636ae1d

dev-python/requests-toolbelt: Enable py3.10

Signed-off-by: Michał Górny  gentoo.org>

 .../files/requests-toolbelt-0.9.1-py310.patch  | 37 ++
 .../requests-toolbelt-0.9.1.ebuild |  4 ++-
 2 files changed, 40 insertions(+), 1 deletion(-)

diff --git 
a/dev-python/requests-toolbelt/files/requests-toolbelt-0.9.1-py310.patch 
b/dev-python/requests-toolbelt/files/requests-toolbelt-0.9.1-py310.patch
new file mode 100644
index 000..182e413158c
--- /dev/null
+++ b/dev-python/requests-toolbelt/files/requests-toolbelt-0.9.1-py310.patch
@@ -0,0 +1,37 @@
+From 7188b06330e5260be20bce8cbcf0d5ae44e34eaf Mon Sep 17 00:00:00 2001
+From: Jon Dufresne 
+Date: Fri, 1 Feb 2019 16:30:01 -0800
+Subject: [PATCH] Fix collections.abc deprecation warning in downloadutils
+
+Warning appears as:
+
+tests/test_downloadutils.py::test_stream_response_to_specific_filename
+  requests_toolbelt/downloadutils/stream.py:161: DeprecationWarning: Using or 
importing the ABCs from 'collections' instead of from 'collections.abc' is 
deprecated, and in 3.8 it will stop working
+if path and isinstance(getattr(path, 'write', None), collections.Callable):
+---
+ requests_toolbelt/downloadutils/stream.py | 3 +--
+ 1 file changed, 1 insertion(+), 2 deletions(-)
+
+diff --git a/requests_toolbelt/downloadutils/stream.py 
b/requests_toolbelt/downloadutils/stream.py
+index eed60a7..1d1c31b 100644
+--- a/requests_toolbelt/downloadutils/stream.py
 b/requests_toolbelt/downloadutils/stream.py
+@@ -1,6 +1,5 @@
+ # -*- coding: utf-8 -*-
+ """Utilities for dealing with streamed requests."""
+-import collections
+ import os.path
+ import re
+ 
+@@ -158,7 +157,7 @@ def stream_response_to_file(response, path=None, 
chunksize=_DEFAULT_CHUNKSIZE):
+ pre_opened = False
+ fd = None
+ filename = None
+-if path and isinstance(getattr(path, 'write', None), 
collections.Callable):
++if path and callable(getattr(path, 'write', None)):
+ pre_opened = True
+ fd = path
+ filename = getattr(fd, 'name', None)
+-- 
+2.31.1
+

diff --git a/dev-python/requests-toolbelt/requests-toolbelt-0.9.1.ebuild 
b/dev-python/requests-toolbelt/requests-toolbelt-0.9.1.ebuild
index dd4056a4fc3..afbd3421e3a 100644
--- a/dev-python/requests-toolbelt/requests-toolbelt-0.9.1.ebuild
+++ b/dev-python/requests-toolbelt/requests-toolbelt-0.9.1.ebuild
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
-PYTHON_COMPAT=( python3_{7..9} pypy3 )
+PYTHON_COMPAT=( python3_{7..10} pypy3 )
 
 inherit distutils-r1
 
@@ -36,6 +36,8 @@ PATCHES=(
 
# disable tests that require internet access
"${FILESDIR}/requests-toolbelt-0.9.1-tests-internet.patch"
+
+   "${FILESDIR}/requests-toolbelt-0.9.1-py310.patch"
 )
 
 distutils_enable_tests pytest



[gentoo-commits] repo/gentoo:master commit in: dev-python/requests-toolbelt/

2021-03-09 Thread Michał Górny
commit: 7714f589935bbf3acca992bc47b5c65f4c5a0d52
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Mar  9 08:43:57 2021 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Mar  9 08:47:13 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7714f589

dev-python/requests-toolbelt: Add missing dep on pyopenssl

Closes: https://bugs.gentoo.org/774987
Signed-off-by: Michał Górny  gentoo.org>

 dev-python/requests-toolbelt/requests-toolbelt-0.9.1.ebuild | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/dev-python/requests-toolbelt/requests-toolbelt-0.9.1.ebuild 
b/dev-python/requests-toolbelt/requests-toolbelt-0.9.1.ebuild
index 3544d71ec0b..dd4056a4fc3 100644
--- a/dev-python/requests-toolbelt/requests-toolbelt-0.9.1.ebuild
+++ b/dev-python/requests-toolbelt/requests-toolbelt-0.9.1.ebuild
@@ -1,8 +1,8 @@
-# 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,9} pypy3 )
+PYTHON_COMPAT=( python3_{7..9} pypy3 )
 
 inherit distutils-r1
 
@@ -20,6 +20,7 @@ DEPEND="${RDEPEND}
test? (
dev-python/betamax[${PYTHON_USEDEP}]
dev-python/mock[${PYTHON_USEDEP}]
+   dev-python/pyopenssl[${PYTHON_USEDEP}]
)"
 
 DOCS=( AUTHORS.rst HISTORY.rst README.rst )



[gentoo-commits] repo/gentoo:master commit in: dev-python/requests-toolbelt/

2020-11-28 Thread Sam James
commit: 4b41b2f9c77fee265ade2884ba6723514ca52d13
Author: Sam James  gentoo  org>
AuthorDate: Sat Nov 28 15:20:06 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Nov 28 15:26:15 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4b41b2f9

dev-python/requests-toolbelt: mark ALLARCHES

Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Sam James  gentoo.org>

 dev-python/requests-toolbelt/metadata.xml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dev-python/requests-toolbelt/metadata.xml 
b/dev-python/requests-toolbelt/metadata.xml
index 77f35fd2daf..5965c53ff5d 100644
--- a/dev-python/requests-toolbelt/metadata.xml
+++ b/dev-python/requests-toolbelt/metadata.xml
@@ -8,6 +8,7 @@
pyt...@gentoo.org
Python

+   

requests-toolbelt




[gentoo-commits] repo/gentoo:master commit in: dev-python/requests-toolbelt/

2020-11-28 Thread Sam James
commit: 241b548b944ebf1a4bc75f84eec2c1fadd62255f
Author: Sam James  gentoo  org>
AuthorDate: Sat Nov 28 15:20:29 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Nov 28 15:26:15 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=241b548b

dev-python/requests-toolbelt: ~x64-macos keyworded

Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Sam James  gentoo.org>

 dev-python/requests-toolbelt/requests-toolbelt-0.9.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/requests-toolbelt/requests-toolbelt-0.9.1.ebuild 
b/dev-python/requests-toolbelt/requests-toolbelt-0.9.1.ebuild
index 7a5a93fd571..4db1fc89b09 100644
--- a/dev-python/requests-toolbelt/requests-toolbelt-0.9.1.ebuild
+++ b/dev-python/requests-toolbelt/requests-toolbelt-0.9.1.ebuild
@@ -12,7 +12,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ppc ppc64 sparc x86"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ppc ppc64 sparc x86 ~x64-macos"
 IUSE="test"
 
 RDEPEND="

[gentoo-commits] repo/gentoo:master commit in: dev-python/requests-toolbelt/

2020-07-25 Thread Michał Górny
commit: 10e95848053ec8023c6aacdee8b367b08ebf85dd
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Jul 25 08:12:59 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Jul 25 08:31:31 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=10e95848

dev-python/requests-toolbelt: Remove py2

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/requests-toolbelt/requests-toolbelt-0.9.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/requests-toolbelt/requests-toolbelt-0.9.1.ebuild 
b/dev-python/requests-toolbelt/requests-toolbelt-0.9.1.ebuild
index 27647ed4399..7a5a93fd571 100644
--- a/dev-python/requests-toolbelt/requests-toolbelt-0.9.1.ebuild
+++ b/dev-python/requests-toolbelt/requests-toolbelt-0.9.1.ebuild
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
-PYTHON_COMPAT=( python{2_7,3_{6,7,8,9}} pypy3 )
+PYTHON_COMPAT=( python3_{6,7,8,9} pypy3 )
 
 inherit distutils-r1
 



[gentoo-commits] repo/gentoo:master commit in: dev-python/requests-toolbelt/

2020-07-14 Thread Sam James
commit: 750aedce0767b2fd1eb8fb8f2a75b10575c120da
Author: Sam James  gentoo  org>
AuthorDate: Tue Jul 14 15:55:42 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Jul 14 15:57:35 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=750aedce

dev-python/requests-toolbelt: ppc64 stable (bug #730126)

Package-Manager: Portage-2.3.99, Repoman-2.3.23
Signed-off-by: Sam James  gentoo.org>

 dev-python/requests-toolbelt/requests-toolbelt-0.9.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/requests-toolbelt/requests-toolbelt-0.9.1.ebuild 
b/dev-python/requests-toolbelt/requests-toolbelt-0.9.1.ebuild
index 206431e74c5..27647ed4399 100644
--- a/dev-python/requests-toolbelt/requests-toolbelt-0.9.1.ebuild
+++ b/dev-python/requests-toolbelt/requests-toolbelt-0.9.1.ebuild
@@ -12,7 +12,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ppc ~ppc64 sparc x86"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ppc ppc64 sparc x86"
 IUSE="test"
 
 RDEPEND="

[gentoo-commits] repo/gentoo:master commit in: dev-python/requests-toolbelt/

2020-07-13 Thread Sam James
commit: ab3f620c9d3ee55b53ed3ad28052ceaad0b23db5
Author: Sam James  gentoo  org>
AuthorDate: Mon Jul 13 22:52:25 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Jul 13 23:12:58 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ab3f620c

dev-python/requests-toolbelt: ppc stable (bug #727058)

Package-Manager: Portage-2.3.99, Repoman-2.3.23
Signed-off-by: Sam James  gentoo.org>

 dev-python/requests-toolbelt/requests-toolbelt-0.9.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/requests-toolbelt/requests-toolbelt-0.9.1.ebuild 
b/dev-python/requests-toolbelt/requests-toolbelt-0.9.1.ebuild
index c0ad011c109..206431e74c5 100644
--- a/dev-python/requests-toolbelt/requests-toolbelt-0.9.1.ebuild
+++ b/dev-python/requests-toolbelt/requests-toolbelt-0.9.1.ebuild
@@ -12,7 +12,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~ppc ~ppc64 sparc x86"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ppc ~ppc64 sparc x86"
 IUSE="test"
 
 RDEPEND="

[gentoo-commits] repo/gentoo:master commit in: dev-python/requests-toolbelt/

2020-07-05 Thread Sergei Trofimovich
commit: cc2dec4665de2b169ea532cf811b98ae5ce79bd2
Author: Rolf Eike Beer  sf-mail  de>
AuthorDate: Sun Jul  5 09:03:33 2020 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sun Jul  5 09:27:12 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cc2dec46

dev-python/requests-toolbelt: stable 0.9.1 for sparc, bug #730126

Package-Manager: Portage-2.3.99, Repoman-2.3.23
RepoMan-Options: --include-arches="sparc"
Signed-off-by: Rolf Eike Beer  sf-mail.de>
Signed-off-by: Sergei Trofimovich  gentoo.org>

 dev-python/requests-toolbelt/requests-toolbelt-0.9.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/requests-toolbelt/requests-toolbelt-0.9.1.ebuild 
b/dev-python/requests-toolbelt/requests-toolbelt-0.9.1.ebuild
index 811fe75444f..c0ad011c109 100644
--- a/dev-python/requests-toolbelt/requests-toolbelt-0.9.1.ebuild
+++ b/dev-python/requests-toolbelt/requests-toolbelt-0.9.1.ebuild
@@ -12,7 +12,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~ppc ~ppc64 ~sparc x86"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~ppc ~ppc64 sparc x86"
 IUSE="test"
 
 RDEPEND="

[gentoo-commits] repo/gentoo:master commit in: dev-python/requests-toolbelt/

2020-07-02 Thread Sergei Trofimovich
commit: f5aa1fbad0e6d129ba90e0133f956e1029934a2d
Author: Rolf Eike Beer  sf-mail  de>
AuthorDate: Thu Jul  2 08:44:53 2020 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Thu Jul  2 17:05:25 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f5aa1fba

dev-python/requests-toolbelt: stable 0.9.1 for hppa, bug #730126

Package-Manager: Portage-2.3.99, Repoman-2.3.22
RepoMan-Options: --include-arches="hppa"
Signed-off-by: Rolf Eike Beer  sf-mail.de>
Signed-off-by: Sergei Trofimovich  gentoo.org>

 dev-python/requests-toolbelt/requests-toolbelt-0.9.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/requests-toolbelt/requests-toolbelt-0.9.1.ebuild 
b/dev-python/requests-toolbelt/requests-toolbelt-0.9.1.ebuild
index 0c24676e281..811fe75444f 100644
--- a/dev-python/requests-toolbelt/requests-toolbelt-0.9.1.ebuild
+++ b/dev-python/requests-toolbelt/requests-toolbelt-0.9.1.ebuild
@@ -12,7 +12,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc x86"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~ppc ~ppc64 ~sparc x86"
 IUSE="test"
 
 RDEPEND="

[gentoo-commits] repo/gentoo:master commit in: dev-python/requests-toolbelt/

2020-07-01 Thread Michał Górny
commit: 09a21ebd218ab42a0989bc28fdb41de48a373226
Author: Sam James (sam_c)  cmpct  info>
AuthorDate: Wed Jul  1 03:22:58 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Jul  1 12:21:32 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=09a21ebd

dev-python/requests-toolbelt: arm stable (bug #730126)

Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Sam James (sam_c)  cmpct.info>
Signed-off-by: Michał Górny  gentoo.org>

 dev-python/requests-toolbelt/requests-toolbelt-0.9.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/requests-toolbelt/requests-toolbelt-0.9.1.ebuild 
b/dev-python/requests-toolbelt/requests-toolbelt-0.9.1.ebuild
index c6e899c5d0f..0c24676e281 100644
--- a/dev-python/requests-toolbelt/requests-toolbelt-0.9.1.ebuild
+++ b/dev-python/requests-toolbelt/requests-toolbelt-0.9.1.ebuild
@@ -12,7 +12,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc x86"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc x86"
 IUSE="test"
 
 RDEPEND="

[gentoo-commits] repo/gentoo:master commit in: dev-python/requests-toolbelt/

2020-06-22 Thread Mart Raudsepp
commit: ea810ded3ff42cd1a078059f493f8825bd3a5446
Author: Sam James (sam_c)  cmpct  info>
AuthorDate: Mon Jun 22 05:49:36 2020 +
Commit: Mart Raudsepp  gentoo  org>
CommitDate: Mon Jun 22 19:02:45 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ea810ded

dev-python/requests-toolbelt: arm64 stable (bug #727058)

Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Sam James (sam_c)  cmpct.info>
Signed-off-by: Mart Raudsepp  gentoo.org>

 dev-python/requests-toolbelt/requests-toolbelt-0.9.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/requests-toolbelt/requests-toolbelt-0.9.1.ebuild 
b/dev-python/requests-toolbelt/requests-toolbelt-0.9.1.ebuild
index e56387117e4..c6e899c5d0f 100644
--- a/dev-python/requests-toolbelt/requests-toolbelt-0.9.1.ebuild
+++ b/dev-python/requests-toolbelt/requests-toolbelt-0.9.1.ebuild
@@ -12,7 +12,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc x86"
+KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc x86"
 IUSE="test"
 
 RDEPEND="

[gentoo-commits] repo/gentoo:master commit in: dev-python/requests-toolbelt/

2020-06-10 Thread Michał Górny
commit: ef8321bea89dc54eacaed339f9a65d99df52d22d
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Jun 10 08:08:28 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Jun 10 08:11:14 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ef8321be

dev-python/requests-toolbelt: Add python@ as (co-)maint

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/requests-toolbelt/metadata.xml | 4 
 1 file changed, 4 insertions(+)

diff --git a/dev-python/requests-toolbelt/metadata.xml 
b/dev-python/requests-toolbelt/metadata.xml
index 33dacd3a88b..77f35fd2daf 100644
--- a/dev-python/requests-toolbelt/metadata.xml
+++ b/dev-python/requests-toolbelt/metadata.xml
@@ -4,6 +4,10 @@

amy...@gentoo.org

+   
+   pyt...@gentoo.org
+   Python
+   

requests-toolbelt




[gentoo-commits] repo/gentoo:master commit in: dev-python/requests-toolbelt/

2020-05-30 Thread Sergei Trofimovich
commit: 939d38125de2e15ad741f416d63d762d52a87211
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Sat May 30 20:33:07 2020 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sat May 30 20:33:07 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=939d3812

dev-python/requests-toolbelt: keyworded 0.9.1 for ia64, bug #717946

Package-Manager: Portage-2.3.100, Repoman-2.3.22
RepoMan-Options: --include-arches="ia64"
Signed-off-by: Sergei Trofimovich  gentoo.org>

 dev-python/requests-toolbelt/requests-toolbelt-0.9.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/requests-toolbelt/requests-toolbelt-0.9.1.ebuild 
b/dev-python/requests-toolbelt/requests-toolbelt-0.9.1.ebuild
index 066fbdfdc8b..e56387117e4 100644
--- a/dev-python/requests-toolbelt/requests-toolbelt-0.9.1.ebuild
+++ b/dev-python/requests-toolbelt/requests-toolbelt-0.9.1.ebuild
@@ -12,7 +12,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc x86"
+KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc x86"
 IUSE="test"
 
 RDEPEND="

[gentoo-commits] repo/gentoo:master commit in: dev-python/requests-toolbelt/

2020-05-30 Thread Michał Górny
commit: f799ea393006ba0bfcb3524de6bea67376a08d00
Author: Michał Górny  gentoo  org>
AuthorDate: Sat May 30 12:57:14 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat May 30 14:37:47 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f799ea39

dev-python/requests-toolbelt: Keyword 0.9.1 ppc, #726188

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/requests-toolbelt/requests-toolbelt-0.9.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/requests-toolbelt/requests-toolbelt-0.9.1.ebuild 
b/dev-python/requests-toolbelt/requests-toolbelt-0.9.1.ebuild
index 56521569fd3..066fbdfdc8b 100644
--- a/dev-python/requests-toolbelt/requests-toolbelt-0.9.1.ebuild
+++ b/dev-python/requests-toolbelt/requests-toolbelt-0.9.1.ebuild
@@ -12,7 +12,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ppc64 ~sparc x86"
+KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc x86"
 IUSE="test"
 
 RDEPEND="

[gentoo-commits] repo/gentoo:master commit in: dev-python/requests-toolbelt/

2020-05-27 Thread Michał Górny
commit: 72268c9ed2acaa49ffb86ce2f2441abd886580ba
Author: Michał Górny  gentoo  org>
AuthorDate: Wed May 27 05:44:23 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed May 27 06:10:49 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=72268c9e

dev-python/requests-toolbelt: Port to py39

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/requests-toolbelt/requests-toolbelt-0.9.1.ebuild | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/dev-python/requests-toolbelt/requests-toolbelt-0.9.1.ebuild 
b/dev-python/requests-toolbelt/requests-toolbelt-0.9.1.ebuild
index f6b8f41d9d8..56521569fd3 100644
--- a/dev-python/requests-toolbelt/requests-toolbelt-0.9.1.ebuild
+++ b/dev-python/requests-toolbelt/requests-toolbelt-0.9.1.ebuild
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
-PYTHON_COMPAT=( python{2_7,3_{6,7,8}} pypy3 )
+PYTHON_COMPAT=( python{2_7,3_{6,7,8,9}} pypy3 )
 
 inherit distutils-r1
 
@@ -17,7 +17,6 @@ IUSE="test"
 
 

[gentoo-commits] repo/gentoo:master commit in: dev-python/requests-toolbelt/

2020-03-16 Thread Matt Turner
commit: 2d33637935af3fe8e74616482476c7fad957e56d
Author: Matt Turner  gentoo  org>
AuthorDate: Tue Mar 17 01:53:20 2020 +
Commit: Matt Turner  gentoo  org>
CommitDate: Tue Mar 17 02:09:18 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2d336379

dev-python/requests-toolbelt-0.9.1: add ~alpha, bug 700918

Signed-off-by: Matt Turner  gentoo.org>

 dev-python/requests-toolbelt/requests-toolbelt-0.9.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/requests-toolbelt/requests-toolbelt-0.9.1.ebuild 
b/dev-python/requests-toolbelt/requests-toolbelt-0.9.1.ebuild
index 570ccee0e56..f6b8f41d9d8 100644
--- a/dev-python/requests-toolbelt/requests-toolbelt-0.9.1.ebuild
+++ b/dev-python/requests-toolbelt/requests-toolbelt-0.9.1.ebuild
@@ -12,7 +12,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc64 ~sparc x86"
+KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ppc64 ~sparc x86"
 IUSE="test"
 
 RDEPEND="

[gentoo-commits] repo/gentoo:master commit in: dev-python/requests-toolbelt/

2020-01-28 Thread Agostino Sarubbo
commit: 306a51fcf3ab0d92c22c3a49107f34db9d002a04
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Tue Jan 28 11:32:33 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Tue Jan 28 11:32:33 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=306a51fc

Revert "dev-python/requests-toolbelt: ~x86 keyword wrt bug #700918"

This reverts commit 029cf36e0df4bcd800cd2296cfd6e627d2a9d603.

Signed-off-by: Agostino Sarubbo  gentoo.org>

 dev-python/requests-toolbelt/requests-toolbelt-0.9.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/requests-toolbelt/requests-toolbelt-0.9.1.ebuild 
b/dev-python/requests-toolbelt/requests-toolbelt-0.9.1.ebuild
index 54a264bb9d9..570ccee0e56 100644
--- a/dev-python/requests-toolbelt/requests-toolbelt-0.9.1.ebuild
+++ b/dev-python/requests-toolbelt/requests-toolbelt-0.9.1.ebuild
@@ -12,7 +12,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc64 ~sparc ~x86"
+KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc64 ~sparc x86"
 IUSE="test"
 
 RDEPEND="

[gentoo-commits] repo/gentoo:master commit in: dev-python/requests-toolbelt/

2020-01-28 Thread Agostino Sarubbo
commit: 029cf36e0df4bcd800cd2296cfd6e627d2a9d603
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Tue Jan 28 10:19:54 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Tue Jan 28 10:19:54 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=029cf36e

dev-python/requests-toolbelt: ~x86 keyword wrt bug #700918

Package-Manager: Portage-2.3.84, Repoman-2.3.20
RepoMan-Options: --include-arches="~x86"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 dev-python/requests-toolbelt/requests-toolbelt-0.9.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/requests-toolbelt/requests-toolbelt-0.9.1.ebuild 
b/dev-python/requests-toolbelt/requests-toolbelt-0.9.1.ebuild
index 570ccee0e56..54a264bb9d9 100644
--- a/dev-python/requests-toolbelt/requests-toolbelt-0.9.1.ebuild
+++ b/dev-python/requests-toolbelt/requests-toolbelt-0.9.1.ebuild
@@ -12,7 +12,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc64 ~sparc x86"
+KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc64 ~sparc ~x86"
 IUSE="test"
 
 RDEPEND="

[gentoo-commits] repo/gentoo:master commit in: dev-python/requests-toolbelt/

2019-12-04 Thread Patrick McLean
commit: 5267de5747d208154d94595ba2c5a0f16a846e48
Author: Patrick McLean  sony  com>
AuthorDate: Wed Dec  4 22:00:32 2019 +
Commit: Patrick McLean  gentoo  org>
CommitDate: Wed Dec  4 22:00:32 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5267de57

dev-python/requests-toolbelt-0.9.1: add py38

Copyright: Sony Interactive Entertainment Inc.
Package-Manager: Portage-2.3.80, Repoman-2.3.19
Signed-off-by: Patrick McLean  gentoo.org>

 dev-python/requests-toolbelt/requests-toolbelt-0.9.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/requests-toolbelt/requests-toolbelt-0.9.1.ebuild 
b/dev-python/requests-toolbelt/requests-toolbelt-0.9.1.ebuild
index 42b1dcd9fed..83387a6acd9 100644
--- a/dev-python/requests-toolbelt/requests-toolbelt-0.9.1.ebuild
+++ b/dev-python/requests-toolbelt/requests-toolbelt-0.9.1.ebuild
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
-PYTHON_COMPAT=( python{2_7,3_{5,6,7}} pypy{,3} )
+PYTHON_COMPAT=( python{2_7,3_{5,6,7,8}} pypy{,3} )
 
 inherit distutils-r1
 



[gentoo-commits] repo/gentoo:master commit in: dev-python/requests-toolbelt/

2019-12-04 Thread Sergei Trofimovich
commit: ed40c5c3ea6cb9a2704fc89b02c826f93c95ecd4
Author: Rolf Eike Beer  sf-mail  de>
AuthorDate: Wed Dec  4 16:48:07 2019 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Wed Dec  4 19:43:45 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ed40c5c3

dev-python/requests-toolbelt: mark 0.9.1 ~hppa/sparc, bug #700918

Package-Manager: Portage-2.3.79, Repoman-2.3.16
RepoMan-Options: --include-arches="hppa sparc"
Signed-off-by: Rolf Eike Beer  sf-mail.de>
Signed-off-by: Sergei Trofimovich  gentoo.org>

 dev-python/requests-toolbelt/requests-toolbelt-0.9.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/requests-toolbelt/requests-toolbelt-0.9.1.ebuild 
b/dev-python/requests-toolbelt/requests-toolbelt-0.9.1.ebuild
index d2eb47414a4..42b1dcd9fed 100644
--- a/dev-python/requests-toolbelt/requests-toolbelt-0.9.1.ebuild
+++ b/dev-python/requests-toolbelt/requests-toolbelt-0.9.1.ebuild
@@ -12,7 +12,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ~ppc64 x86"
+KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc64 ~sparc x86"
 IUSE="test"
 
 RDEPEND="

[gentoo-commits] repo/gentoo:master commit in: dev-python/requests-toolbelt/files/, dev-python/requests-toolbelt/

2019-11-22 Thread Patrick McLean
commit: 77ee7c8679e74c284e6fa2d444c8d179401bbe4b
Author: Patrick McLean  sony  com>
AuthorDate: Fri Nov 22 19:40:16 2019 +
Commit: Patrick McLean  gentoo  org>
CommitDate: Fri Nov 22 19:41:05 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=77ee7c86

dev-python/requests-toolbelt: Version bump to 0.9.1

Copyright: Sony Interactive Entertainment Inc.
Package-Manager: Portage-2.3.79, Repoman-2.3.18
Signed-off-by: Patrick McLean  gentoo.org>

 .../requests-toolbelt-0.9.1-tests-internet.patch   |  28 +
 .../files/requests-toolbelt-0.9.1-tests-py2.patch  |  68 +++
 .../files/requests-toolbelt-0.9.1-tests.patch  | 128 +
 .../requests-toolbelt-0.9.1.ebuild |  23 ++--
 4 files changed, 236 insertions(+), 11 deletions(-)

diff --git 
a/dev-python/requests-toolbelt/files/requests-toolbelt-0.9.1-tests-internet.patch
 
b/dev-python/requests-toolbelt/files/requests-toolbelt-0.9.1-tests-internet.patch
new file mode 100644
index 000..b3dc2603c11
--- /dev/null
+++ 
b/dev-python/requests-toolbelt/files/requests-toolbelt-0.9.1-tests-internet.patch
@@ -0,0 +1,28 @@
+diff --git a/tests/test_multipart_encoder.py b/tests/test_multipart_encoder.py
+index 575f54c..73a880e 100644
+--- a/tests/test_multipart_encoder.py
 b/tests/test_multipart_encoder.py
+@@ -94,6 +94,7 @@ class TestFileFromURLWrapper(unittest.TestCase):
+ s = requests.Session()
+ self.recorder = get_betamax(s)
+ 
++@unittest.skip("test requires internet access")
+ def test_read_file(self):
+ url = ('https://stxnext.com/static/img/logo.830ebe551641.svg')
+ with self.recorder.use_cassette(
+@@ -110,6 +111,7 @@ class TestFileFromURLWrapper(unittest.TestCase):
+ assert chunk == b'ww.w3.org/'
+ assert self.instance.len == 5147
+ 
++@unittest.skip("test requires internet access")
+ def test_no_content_length_header(self):
+ url = (
+ 'https://api.github.com/repos/sigmavirus24/github3.py/releases/'
+@@ -191,6 +193,7 @@ class TestMultipartEncoder(unittest.TestCase):
+ m = MultipartEncoder([('field', 'foo'), ('file', fd)])
+ assert m.read() is not None
+ 
++@unittest.skip("test requires internet access")
+ def test_reads_file_from_url_wrapper(self):
+ s = requests.Session()
+ recorder = get_betamax(s)

diff --git 
a/dev-python/requests-toolbelt/files/requests-toolbelt-0.9.1-tests-py2.patch 
b/dev-python/requests-toolbelt/files/requests-toolbelt-0.9.1-tests-py2.patch
new file mode 100644
index 000..6825c5f4ed4
--- /dev/null
+++ b/dev-python/requests-toolbelt/files/requests-toolbelt-0.9.1-tests-py2.patch
@@ -0,0 +1,68 @@
+diff --git a/tests/threaded/test_pool.py b/tests/threaded/test_pool.py
+index 3e54b3c..9583c7b 100644
+--- a/tests/threaded/test_pool.py
 b/tests/threaded/test_pool.py
+@@ -5,6 +5,7 @@ except ImportError:
+ import Queue as queue
+ import unittest
+ 
++import sys
+ import mock
+ import pytest
+ 
+@@ -60,6 +61,7 @@ class TestPool(unittest.TestCase):
+ assert session.called is True
+ session.assert_called_once_with()
+ 
++@pytest.mark.skipif(sys.hexversion < 0x300, reason="broken on 
python2")
+ def test_from_exceptions_populates_a_queue(self):
+ """Ensure a Queue is properly populated from exceptions."""
+ urls = ["https://httpbin.org/get?n={}".format(n) for n in range(5)]
+@@ -77,6 +79,7 @@ class TestPool(unittest.TestCase):
+ for url in urls
+ ]
+ 
++@pytest.mark.skipif(sys.hexversion < 0x300, reason="broken on 
python2")
+ def test_from_urls_constructs_get_requests(self):
+ """Ensure a Queue is properly populated from an iterable of urls."""
+ urls = ["https://httpbin.org/get?n={}".format(n) for n in range(5)]
+@@ -92,6 +95,7 @@ class TestPool(unittest.TestCase):
+ for url in urls
+ ]
+ 
++@pytest.mark.skipif(sys.hexversion < 0x300, reason="broken on 
python2")
+ def test_from_urls_constructs_get_requests_with_kwargs(self):
+ """Ensure a Queue is properly populated from an iterable of urls."""
+ def merge(*args):
+@@ -130,6 +134,7 @@ class TestPool(unittest.TestCase):
+ for st in session_threads:
+ st.join.assert_called_once_with()
+ 
++@pytest.mark.skipif(sys.hexversion < 0x300, reason="broken on 
python2")
+ def test_get_response_returns_thread_response(self):
+ """Ensure that a ThreadResponse is made when there's data."""
+ queues = []
+@@ -149,6 +154,7 @@ class TestPool(unittest.TestCase):
+ assert isinstance(p.get_response(), pool.ThreadResponse)
+ assert len([q for q in queues if q.get_nowait.called]) == 1
+ 
++@pytest.mark.skipif(sys.hexversion < 0x300, reason="broken on 
python2")
+ def test_get_exception_returns_thread_exception(self):
+ """Ensure that a ThreadException 

[gentoo-commits] repo/gentoo:master commit in: dev-python/requests-toolbelt/

2019-06-16 Thread Matthew Thode
commit: d9920c2321e5dfe5ab6325c7fc4d65b902da495c
Author: Matthew Thode  gentoo  org>
AuthorDate: Sun Jun 16 06:50:39 2019 +
Commit: Matthew Thode  gentoo  org>
CommitDate: Sun Jun 16 06:59:06 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d9920c23

dev-python/requests-toolbelt: 0.9.1 stable amd64/x86 with cleanup

Package-Manager: Portage-2.3.66, Repoman-2.3.14
Signed-off-by: Matthew Thode  gentoo.org>

 dev-python/requests-toolbelt/Manifest  |  3 ---
 .../requests-toolbelt-0.5.1.ebuild | 21 ---
 .../requests-toolbelt-0.7.0.ebuild | 21 ---
 .../requests-toolbelt-0.7.1.ebuild | 31 --
 .../requests-toolbelt-0.9.1.ebuild |  2 +-
 5 files changed, 1 insertion(+), 77 deletions(-)

diff --git a/dev-python/requests-toolbelt/Manifest 
b/dev-python/requests-toolbelt/Manifest
index 6a8f65f6617..6a6cddf9cc5 100644
--- a/dev-python/requests-toolbelt/Manifest
+++ b/dev-python/requests-toolbelt/Manifest
@@ -1,5 +1,2 @@
-DIST requests-toolbelt-0.5.1.tar.gz 187981 BLAKE2B 
1e3cfafd8e0b8625dc92ff40bf88d9cf67d40a679eef8c6825de032d51107d2486aed34611818a3b97c286ea9e452ad3b196a8ba7a4b7f57a9377366991d33a3
 SHA512 
fff70b7262efae616fe9fe8e25af9856d42ccecdaca71cfde0dd81c5d7c509aec30f7c99f4b886d844c168937197ed8287e873fffe6073e93e48412b5a902997
-DIST requests-toolbelt-0.7.0.tar.gz 194062 BLAKE2B 
ea7120e58ea23dbe1d17bc2f8c346ec00bd00d62a4c8fdefa1490b9b3ed62a0dcf45ce60b071fcbc7e510d943ec4f10a7031525bd24f5fb02749125cbccc9f0b
 SHA512 
77f11d12643d7cacf0c5dab5c5490359fc6f11c038d56d6ae27939394c5788622edb230d38d2202192eec6a7b1229feeb5669cd6a33c78f6891699d017e8205e
-DIST requests-toolbelt-0.7.1.tar.gz 194670 BLAKE2B 
3f8b5950d3a87f519f40e2d21bce13ba2d3ed205b5d7f4fa0872339df391e5477f262b104697b264a75783d686eb44231ff2943bfe56f13695d63869227c48c5
 SHA512 
2559db13054c4d9b7c459603809a16d8d9a9c1a348369e1bc68e557bae10c41291286112e3b4a71e83b42203d40fa5cbc8441028693eeb986162d212a65f68ac
 DIST requests-toolbelt-0.8.0.tar.gz 196129 BLAKE2B 
435059ff2879c44a274641c49adae9986c761fcabe567826454d3f055db7e3e5c95905f1d178dcb37e2173bf856a9fb168a856c1301026e8c5d0de6cafb4be51
 SHA512 
71a4ed8961b742cb1b5b0deec7f9052a2a177d2ed6e4f13ebe22b56b7f1b6b1bad2736f1640c8b41398b082eddc1c1205f0c446602d979d5bf370fb0e10ecc88
 DIST requests-toolbelt-0.9.1.tar.gz 207286 BLAKE2B 
6123677a9abafebddf7dffde2150b2426b5132ebe0c330ff891322ecc3d69232a5b15a0c66e3e1fb4832dc04f5a636a939613fba041e499e9fbca9814f548c7e
 SHA512 
12229928df5df71cb57bc65ef453dc0e4a2bbe190c1579811b2c2823673bd81aeba856b0fa20b253d0f0fa4fff55ea1e750794ca3785f71c376b1df7fd93

diff --git a/dev-python/requests-toolbelt/requests-toolbelt-0.5.1.ebuild 
b/dev-python/requests-toolbelt/requests-toolbelt-0.5.1.ebuild
deleted file mode 100644
index 7791ff85dab..000
--- a/dev-python/requests-toolbelt/requests-toolbelt-0.5.1.ebuild
+++ /dev/null
@@ -1,21 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-PYTHON_COMPAT=( python{2_7,3_5} )
-
-inherit distutils-r1
-
-DESCRIPTION="A utility belt for advanced users of python-requests"
-HOMEPAGE="https://toolbelt.readthedocs.org/;
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-DEPEND=""
-RDEPEND="<=dev-python/requests-3.0.0"
-
-DOCS=( AUTHORS.rst HISTORY.rst README.rst )

diff --git a/dev-python/requests-toolbelt/requests-toolbelt-0.7.0.ebuild 
b/dev-python/requests-toolbelt/requests-toolbelt-0.7.0.ebuild
deleted file mode 100644
index 811c6c95a60..000
--- a/dev-python/requests-toolbelt/requests-toolbelt-0.7.0.ebuild
+++ /dev/null
@@ -1,21 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-PYTHON_COMPAT=( python{2_7,3_5} )
-
-inherit distutils-r1
-
-DESCRIPTION="A utility belt for advanced users of python-requests"
-HOMEPAGE="https://toolbelt.readthedocs.org/;
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-DEPEND=""
-RDEPEND="<=dev-python/requests-3.0.0"
-
-DOCS=( AUTHORS.rst HISTORY.rst README.rst )

diff --git a/dev-python/requests-toolbelt/requests-toolbelt-0.7.1.ebuild 
b/dev-python/requests-toolbelt/requests-toolbelt-0.7.1.ebuild
deleted file mode 100644
index 53c777d98d8..000
--- a/dev-python/requests-toolbelt/requests-toolbelt-0.7.1.ebuild
+++ /dev/null
@@ -1,31 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-PYTHON_COMPAT=( python{2_7,3_5,3_6} )
-
-inherit distutils-r1
-
-DESCRIPTION="A utility belt for advanced users of python-requests"
-HOMEPAGE="https://toolbelt.readthedocs.org/;
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="test"
-

[gentoo-commits] repo/gentoo:master commit in: dev-python/requests-toolbelt/

2019-05-16 Thread Matthew Thode
commit: fc07c10b2d8e5a6e1bf4b499d2cffe615594408c
Author: Matthew Thode  gentoo  org>
AuthorDate: Thu May 16 15:41:12 2019 +
Commit: Matthew Thode  gentoo  org>
CommitDate: Thu May 16 16:00:15 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fc07c10b

dev-python/requests-toolbelt: 0.9.1 bump and py37 support

Bug: https://bugs.gentoo.org/685330

Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Matthew Thode  gentoo.org>

 dev-python/requests-toolbelt/Manifest  |  1 +
 .../requests-toolbelt-0.9.1.ebuild | 40 ++
 2 files changed, 41 insertions(+)

diff --git a/dev-python/requests-toolbelt/Manifest 
b/dev-python/requests-toolbelt/Manifest
index 38e0d6c28e4..6a8f65f6617 100644
--- a/dev-python/requests-toolbelt/Manifest
+++ b/dev-python/requests-toolbelt/Manifest
@@ -2,3 +2,4 @@ DIST requests-toolbelt-0.5.1.tar.gz 187981 BLAKE2B 
1e3cfafd8e0b8625dc92ff40bf88d
 DIST requests-toolbelt-0.7.0.tar.gz 194062 BLAKE2B 
ea7120e58ea23dbe1d17bc2f8c346ec00bd00d62a4c8fdefa1490b9b3ed62a0dcf45ce60b071fcbc7e510d943ec4f10a7031525bd24f5fb02749125cbccc9f0b
 SHA512 
77f11d12643d7cacf0c5dab5c5490359fc6f11c038d56d6ae27939394c5788622edb230d38d2202192eec6a7b1229feeb5669cd6a33c78f6891699d017e8205e
 DIST requests-toolbelt-0.7.1.tar.gz 194670 BLAKE2B 
3f8b5950d3a87f519f40e2d21bce13ba2d3ed205b5d7f4fa0872339df391e5477f262b104697b264a75783d686eb44231ff2943bfe56f13695d63869227c48c5
 SHA512 
2559db13054c4d9b7c459603809a16d8d9a9c1a348369e1bc68e557bae10c41291286112e3b4a71e83b42203d40fa5cbc8441028693eeb986162d212a65f68ac
 DIST requests-toolbelt-0.8.0.tar.gz 196129 BLAKE2B 
435059ff2879c44a274641c49adae9986c761fcabe567826454d3f055db7e3e5c95905f1d178dcb37e2173bf856a9fb168a856c1301026e8c5d0de6cafb4be51
 SHA512 
71a4ed8961b742cb1b5b0deec7f9052a2a177d2ed6e4f13ebe22b56b7f1b6b1bad2736f1640c8b41398b082eddc1c1205f0c446602d979d5bf370fb0e10ecc88
+DIST requests-toolbelt-0.9.1.tar.gz 207286 BLAKE2B 
6123677a9abafebddf7dffde2150b2426b5132ebe0c330ff891322ecc3d69232a5b15a0c66e3e1fb4832dc04f5a636a939613fba041e499e9fbca9814f548c7e
 SHA512 
12229928df5df71cb57bc65ef453dc0e4a2bbe190c1579811b2c2823673bd81aeba856b0fa20b253d0f0fa4fff55ea1e750794ca3785f71c376b1df7fd93

diff --git a/dev-python/requests-toolbelt/requests-toolbelt-0.9.1.ebuild 
b/dev-python/requests-toolbelt/requests-toolbelt-0.9.1.ebuild
new file mode 100644
index 000..d7c16d63b6c
--- /dev/null
+++ b/dev-python/requests-toolbelt/requests-toolbelt-0.9.1.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+PYTHON_COMPAT=( python{2_7,3_5,3_6,3_7} )
+
+inherit distutils-r1
+
+DESCRIPTION="A utility belt for advanced users of python-requests"
+HOMEPAGE="https://toolbelt.readthedocs.org/;
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
+IUSE="test"
+
+RDEPEND="https://bugs.gentoo.org/635824
+# https://github.com/requests/toolbelt/issues/213
+RESTRICT=test
+
+python_test() {
+   py.test -v || die "Tests failed with ${EPYTHON}"
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/requests-toolbelt/

2018-06-07 Thread Matt Thode
commit: 3f50d964453c345b98a06ae9a456b7402b954f1a
Author: Matthew Thode  gentoo  org>
AuthorDate: Thu Jun  7 19:32:27 2018 +
Commit: Matt Thode  gentoo  org>
CommitDate: Thu Jun  7 19:53:30 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3f50d964

dev-python/requests-toolbelt: add keywords arm and ppc64 under allarches

Package-Manager: Portage-2.3.40, Repoman-2.3.9

 dev-python/requests-toolbelt/requests-toolbelt-0.8.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/requests-toolbelt/requests-toolbelt-0.8.0.ebuild 
b/dev-python/requests-toolbelt/requests-toolbelt-0.8.0.ebuild
index 5c9084d3430..7bfbf3543a2 100644
--- a/dev-python/requests-toolbelt/requests-toolbelt-0.8.0.ebuild
+++ b/dev-python/requests-toolbelt/requests-toolbelt-0.8.0.ebuild
@@ -12,7 +12,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="amd64 x86"
+KEYWORDS="amd64 ~arm ~ppc64 x86"
 IUSE="test"
 
 RDEPEND="

[gentoo-commits] repo/gentoo:master commit in: dev-python/requests-toolbelt/

2018-06-02 Thread Mikle Kolyada
commit: 22a22ace1604056f68cfea73090ab5a3add2f98d
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Sat Jun  2 09:58:26 2018 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Sat Jun  2 09:58:26 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=22a22ace

dev-python/requests-toolbelt: amd64 stable wrt bug #620454

Package-Manager: Portage-2.3.40, Repoman-2.3.7

 dev-python/requests-toolbelt/requests-toolbelt-0.8.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/requests-toolbelt/requests-toolbelt-0.8.0.ebuild 
b/dev-python/requests-toolbelt/requests-toolbelt-0.8.0.ebuild
index a3058c171dd..5c9084d3430 100644
--- a/dev-python/requests-toolbelt/requests-toolbelt-0.8.0.ebuild
+++ b/dev-python/requests-toolbelt/requests-toolbelt-0.8.0.ebuild
@@ -12,7 +12,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="~amd64 x86"
+KEYWORDS="amd64 x86"
 IUSE="test"
 
 RDEPEND="

[gentoo-commits] repo/gentoo:master commit in: dev-python/requests-toolbelt/

2018-05-29 Thread Thomas Deutschmann
commit: 219f336eecbfefc8ff9dfea1f6f885f39647a19e
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Tue May 29 11:14:19 2018 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Tue May 29 11:14:19 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=219f336e

dev-python/requests-toolbelt: x86 stable (bug #620454)

Package-Manager: Portage-2.3.40, Repoman-2.3.9

 dev-python/requests-toolbelt/requests-toolbelt-0.8.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/requests-toolbelt/requests-toolbelt-0.8.0.ebuild 
b/dev-python/requests-toolbelt/requests-toolbelt-0.8.0.ebuild
index bd0cabd5197..a3058c171dd 100644
--- a/dev-python/requests-toolbelt/requests-toolbelt-0.8.0.ebuild
+++ b/dev-python/requests-toolbelt/requests-toolbelt-0.8.0.ebuild
@@ -12,7 +12,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="~amd64 x86"
 IUSE="test"
 
 RDEPEND="

[gentoo-commits] repo/gentoo:master commit in: dev-python/requests-toolbelt/files/

2018-04-15 Thread Amy Liffey
commit: e354318da4edf339aeddd872f79624f3ba6b77d4
Author: Marty E. Plummer  startmail  com>
AuthorDate: Sun Apr  8 13:04:47 2018 +
Commit: Amy Liffey  gentoo  org>
CommitDate: Sun Apr 15 14:24:45 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e354318d

dev-python/requests-toolbelt: remove binary junk

Replaced with a 'fixed' copy from here:

https://github.com/dol-sen/toolbelt/commit/e130ad521d3b5a14cd9494213e6ca9f52d0d9a2e.patch
Closes: https://github.com/gentoo/gentoo/pull/7869

Package-Manager: Portage-2.3.28, Repoman-2.3.9

 .../requests-toolbelt-0.8.0-test-tracebacks.patch  | 27 +++---
 1 file changed, 19 insertions(+), 8 deletions(-)

diff --git 
a/dev-python/requests-toolbelt/files/requests-toolbelt-0.8.0-test-tracebacks.patch
 
b/dev-python/requests-toolbelt/files/requests-toolbelt-0.8.0-test-tracebacks.patch
index ddc7b3b05a2..418039bc7f9 100644
--- 
a/dev-python/requests-toolbelt/files/requests-toolbelt-0.8.0-test-tracebacks.patch
+++ 
b/dev-python/requests-toolbelt/files/requests-toolbelt-0.8.0-test-tracebacks.patch
@@ -1,17 +1,31 @@
-From 7af2e4ce4192dfab6bd8315ad31b5b689386a0d3 Mon Sep 17 00:00:00 2001
-From:  <@��>
+From e130ad521d3b5a14cd9494213e6ca9f52d0d9a2e Mon Sep 17 00:00:00 2001
+From: Brian Dolbec 
 Date: Wed, 7 Mar 2018 21:52:25 +
-Subject: [PATCH] threaded/tread.py: Fix numerous test failures
+Subject: [PATCH] threaded/thread.py: Fix unhandled Nonetype job queue
 
+Adding this check and return prevents numerous test tracebacks:
+
+Exception in thread 12f554d5-f61f-44d9-bc69-023714627952:
+Traceback (most recent call last):
+  File "/usr/lib64/python3.4/threading.py", line 911, in _bootstrap_inner
+self.run()
+  File "/usr/lib64/python3.4/threading.py", line 859, in run
+self._target(*self._args, **self._kwargs)
+  File "/home/bdolbec/git/toolbelt/requests_toolbelt/threaded/thread.py", line 
43, in _make_request
+kwargs = self._jobs.get_nowait()
+AttributeError: 'NoneType' object has no attribute 'get_nowait'
+
+Signed-off-by: Brian Dolbec 
+Signed-off-by: Brian Dolbec 
 ---
  requests_toolbelt/threaded/thread.py | 2 ++
- 1 file changed, 2 insertions(+), 0 deletions(-)
+ 1 file changed, 2 insertions(+)
 
 diff --git a/requests_toolbelt/threaded/thread.py 
b/requests_toolbelt/threaded/thread.py
 index 542813c..f33b759 100644
 --- a/requests_toolbelt/threaded/thread.py
 +++ b/requests_toolbelt/threaded/thread.py
-@@ -36,6 +36,8 @@ class SessionThread(object):
+@@ -36,6 +36,8 @@ def _handle_request(self, kwargs):
  self._jobs.task_done()
  
  def _make_request(self):
@@ -20,6 +34,3 @@ index 542813c..f33b759 100644
  while True:
  try:
  kwargs = self._jobs.get_nowait()
---
-libgit2 0.24.6
-



[gentoo-commits] repo/gentoo:master commit in: dev-python/requests-toolbelt/

2018-03-13 Thread Brian Dolbec
commit: d8195f9f9354b59cb5a87b55c6746150979cca24
Author: Brian Dolbec  gentoo  org>
AuthorDate: Wed Mar 14 01:40:16 2018 +
Commit: Brian Dolbec  gentoo  org>
CommitDate: Wed Mar 14 01:44:11 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d8195f9f

dev-python/requests-toolbelt: Whitespace fixes

Package-Manager: Portage-2.3.24, Repoman-2.3.6

 dev-python/requests-toolbelt/requests-toolbelt-0.7.1.ebuild | 3 +--
 dev-python/requests-toolbelt/requests-toolbelt-0.8.0.ebuild | 2 +-
 2 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/dev-python/requests-toolbelt/requests-toolbelt-0.7.1.ebuild 
b/dev-python/requests-toolbelt/requests-toolbelt-0.7.1.ebuild
index d4454f5e676..45243e68e4e 100644
--- a/dev-python/requests-toolbelt/requests-toolbelt-0.7.1.ebuild
+++ b/dev-python/requests-toolbelt/requests-toolbelt-0.7.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -29,4 +29,3 @@ DOCS=( AUTHORS.rst HISTORY.rst README.rst )
 python_test() {
py.test -v || die "Tests failed with ${EPYTHON}"
 }
-

diff --git a/dev-python/requests-toolbelt/requests-toolbelt-0.8.0.ebuild 
b/dev-python/requests-toolbelt/requests-toolbelt-0.8.0.ebuild
index 67f4e2b6abf..bd0cabd5197 100644
--- a/dev-python/requests-toolbelt/requests-toolbelt-0.8.0.ebuild
+++ b/dev-python/requests-toolbelt/requests-toolbelt-0.8.0.ebuild
@@ -29,7 +29,7 @@ PATCHES=(
"${FILESDIR}/requests-toolbelt-0.8.0-test-tracebacks.patch"
 )
 
-# Known python2.7 test failures do to upstream 
+# Known python2.7 test failures do to upstream
 # not testing with newer requests versions
 # bug: https://bugs.gentoo.org/635824
 # https://github.com/requests/toolbelt/issues/213



[gentoo-commits] repo/gentoo:master commit in: dev-python/requests-toolbelt/, dev-python/requests-toolbelt/files/

2018-03-13 Thread Brian Dolbec
commit: 63ba660178a17d1ded6e84039f7615dee81ed10f
Author: Brian Dolbec  gentoo  org>
AuthorDate: Wed Mar  7 23:15:27 2018 +
Commit: Brian Dolbec  gentoo  org>
CommitDate: Tue Mar 13 23:56:33 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=63ba6601

dev-python/requests-toolbelt: Version bump

Restrict tests due to known python2.7 test failures.
Upstream not testing against newer requests versions.

bug: https://bugs.gentoo.org/635824
Upstream patch submitted: https://github.com/requests/toolbelt/pull/212
Upstream bug: https://github.com/requests/toolbelt/issues/213

Package-Manager: Portage-2.3.13, Repoman-2.3.3

 dev-python/requests-toolbelt/Manifest  |  1 +
 .../requests-toolbelt-0.8.0-test-tracebacks.patch  | 25 ++
 .../requests-toolbelt-0.7.1.ebuild |  3 ++-
 ...0.7.1.ebuild => requests-toolbelt-0.8.0.ebuild} | 13 +--
 4 files changed, 39 insertions(+), 3 deletions(-)

diff --git a/dev-python/requests-toolbelt/Manifest 
b/dev-python/requests-toolbelt/Manifest
index c33f3d97bb5..38e0d6c28e4 100644
--- a/dev-python/requests-toolbelt/Manifest
+++ b/dev-python/requests-toolbelt/Manifest
@@ -1,3 +1,4 @@
 DIST requests-toolbelt-0.5.1.tar.gz 187981 BLAKE2B 
1e3cfafd8e0b8625dc92ff40bf88d9cf67d40a679eef8c6825de032d51107d2486aed34611818a3b97c286ea9e452ad3b196a8ba7a4b7f57a9377366991d33a3
 SHA512 
fff70b7262efae616fe9fe8e25af9856d42ccecdaca71cfde0dd81c5d7c509aec30f7c99f4b886d844c168937197ed8287e873fffe6073e93e48412b5a902997
 DIST requests-toolbelt-0.7.0.tar.gz 194062 BLAKE2B 
ea7120e58ea23dbe1d17bc2f8c346ec00bd00d62a4c8fdefa1490b9b3ed62a0dcf45ce60b071fcbc7e510d943ec4f10a7031525bd24f5fb02749125cbccc9f0b
 SHA512 
77f11d12643d7cacf0c5dab5c5490359fc6f11c038d56d6ae27939394c5788622edb230d38d2202192eec6a7b1229feeb5669cd6a33c78f6891699d017e8205e
 DIST requests-toolbelt-0.7.1.tar.gz 194670 BLAKE2B 
3f8b5950d3a87f519f40e2d21bce13ba2d3ed205b5d7f4fa0872339df391e5477f262b104697b264a75783d686eb44231ff2943bfe56f13695d63869227c48c5
 SHA512 
2559db13054c4d9b7c459603809a16d8d9a9c1a348369e1bc68e557bae10c41291286112e3b4a71e83b42203d40fa5cbc8441028693eeb986162d212a65f68ac
+DIST requests-toolbelt-0.8.0.tar.gz 196129 BLAKE2B 
435059ff2879c44a274641c49adae9986c761fcabe567826454d3f055db7e3e5c95905f1d178dcb37e2173bf856a9fb168a856c1301026e8c5d0de6cafb4be51
 SHA512 
71a4ed8961b742cb1b5b0deec7f9052a2a177d2ed6e4f13ebe22b56b7f1b6b1bad2736f1640c8b41398b082eddc1c1205f0c446602d979d5bf370fb0e10ecc88

diff --git 
a/dev-python/requests-toolbelt/files/requests-toolbelt-0.8.0-test-tracebacks.patch
 
b/dev-python/requests-toolbelt/files/requests-toolbelt-0.8.0-test-tracebacks.patch
new file mode 100644
index 000..ddc7b3b05a2
--- /dev/null
+++ 
b/dev-python/requests-toolbelt/files/requests-toolbelt-0.8.0-test-tracebacks.patch
@@ -0,0 +1,25 @@
+From 7af2e4ce4192dfab6bd8315ad31b5b689386a0d3 Mon Sep 17 00:00:00 2001
+From:  <@��>
+Date: Wed, 7 Mar 2018 21:52:25 +
+Subject: [PATCH] threaded/tread.py: Fix numerous test failures
+
+---
+ requests_toolbelt/threaded/thread.py | 2 ++
+ 1 file changed, 2 insertions(+), 0 deletions(-)
+
+diff --git a/requests_toolbelt/threaded/thread.py 
b/requests_toolbelt/threaded/thread.py
+index 542813c..f33b759 100644
+--- a/requests_toolbelt/threaded/thread.py
 b/requests_toolbelt/threaded/thread.py
+@@ -36,6 +36,8 @@ class SessionThread(object):
+ self._jobs.task_done()
+ 
+ def _make_request(self):
++if self._jobs is None:
++return
+ while True:
+ try:
+ kwargs = self._jobs.get_nowait()
+--
+libgit2 0.24.6
+

diff --git a/dev-python/requests-toolbelt/requests-toolbelt-0.7.1.ebuild 
b/dev-python/requests-toolbelt/requests-toolbelt-0.7.1.ebuild
index a41831f89e1..d4454f5e676 100644
--- a/dev-python/requests-toolbelt/requests-toolbelt-0.7.1.ebuild
+++ b/dev-python/requests-toolbelt/requests-toolbelt-0.7.1.ebuild
@@ -27,5 +27,6 @@ DEPEND="${RDEPEND}
 DOCS=( AUTHORS.rst HISTORY.rst README.rst )
 
 python_test() {
-   py.test -v || die "Tests fail with ${EPYTHON}"
+   py.test -v || die "Tests failed with ${EPYTHON}"
 }
+

diff --git a/dev-python/requests-toolbelt/requests-toolbelt-0.7.1.ebuild 
b/dev-python/requests-toolbelt/requests-toolbelt-0.8.0.ebuild
similarity index 65%
copy from dev-python/requests-toolbelt/requests-toolbelt-0.7.1.ebuild
copy to dev-python/requests-toolbelt/requests-toolbelt-0.8.0.ebuild
index a41831f89e1..67f4e2b6abf 100644
--- a/dev-python/requests-toolbelt/requests-toolbelt-0.7.1.ebuild
+++ b/dev-python/requests-toolbelt/requests-toolbelt-0.8.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -25,7 +25,16 @@ DEPEND="${RDEPEND}
)"
 
 DOCS=( AUTHORS.rst HISTORY.rst README.rst )
+PATCHES=(
+   "${FILESDIR}/requests-toolbelt-0.8.0-test-tracebacks.patch"
+)
+
+# Known 

[gentoo-commits] repo/gentoo:master commit in: dev-python/requests-toolbelt/

2017-08-11 Thread Amy Liffey
commit: c9a2fc5ae0ec6941c63888e601bd4019b4365b3a
Author: Amy Liffey  gentoo  org>
AuthorDate: Fri Aug 11 19:48:31 2017 +
Commit: Amy Liffey  gentoo  org>
CommitDate: Fri Aug 11 19:56:46 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c9a2fc5a

dev-python/requests-toolbelt: fix homepage

Package-Manager: Portage-2.3.6, Repoman-2.3.1

 dev-python/requests-toolbelt/requests-toolbelt-0.5.1.ebuild | 4 ++--
 dev-python/requests-toolbelt/requests-toolbelt-0.7.0.ebuild | 4 ++--
 dev-python/requests-toolbelt/requests-toolbelt-0.7.1.ebuild | 2 +-
 3 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/dev-python/requests-toolbelt/requests-toolbelt-0.5.1.ebuild 
b/dev-python/requests-toolbelt/requests-toolbelt-0.5.1.ebuild
index 7d3473c64da..f7193a7674e 100644
--- a/dev-python/requests-toolbelt/requests-toolbelt-0.5.1.ebuild
+++ b/dev-python/requests-toolbelt/requests-toolbelt-0.5.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -7,7 +7,7 @@ PYTHON_COMPAT=( python{2_7,3_4,3_5} )
 inherit distutils-r1
 
 DESCRIPTION="A utility belt for advanced users of python-requests"
-HOMEPAGE="http://toolbelt.readthedocs.org/;
+HOMEPAGE="https://toolbelt.readthedocs.org/;
 SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="Apache-2.0"

diff --git a/dev-python/requests-toolbelt/requests-toolbelt-0.7.0.ebuild 
b/dev-python/requests-toolbelt/requests-toolbelt-0.7.0.ebuild
index b74e071155f..89f3470743e 100644
--- a/dev-python/requests-toolbelt/requests-toolbelt-0.7.0.ebuild
+++ b/dev-python/requests-toolbelt/requests-toolbelt-0.7.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -7,7 +7,7 @@ PYTHON_COMPAT=( python{2_7,3_4,3_5} )
 inherit distutils-r1
 
 DESCRIPTION="A utility belt for advanced users of python-requests"
-HOMEPAGE="http://toolbelt.readthedocs.org/;
+HOMEPAGE="https://toolbelt.readthedocs.org/;
 SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="Apache-2.0"

diff --git a/dev-python/requests-toolbelt/requests-toolbelt-0.7.1.ebuild 
b/dev-python/requests-toolbelt/requests-toolbelt-0.7.1.ebuild
index 3a706e8ae55..a41831f89e1 100644
--- a/dev-python/requests-toolbelt/requests-toolbelt-0.7.1.ebuild
+++ b/dev-python/requests-toolbelt/requests-toolbelt-0.7.1.ebuild
@@ -7,7 +7,7 @@ PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
 inherit distutils-r1
 
 DESCRIPTION="A utility belt for advanced users of python-requests"
-HOMEPAGE="http://toolbelt.readthedocs.org/;
+HOMEPAGE="https://toolbelt.readthedocs.org/;
 SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="Apache-2.0"



[gentoo-commits] repo/gentoo:master commit in: dev-python/requests-toolbelt/

2017-05-10 Thread Manuel Rüger
commit: 274e70db97918b3aa3408994fd1f0dd6e2143fdf
Author: Manuel Rüger  gentoo  org>
AuthorDate: Wed May 10 22:25:06 2017 +
Commit: Manuel Rüger  gentoo  org>
CommitDate: Wed May 10 22:26:44 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=274e70db

dev-python/requests-toolbelt: Add missing PYTHON_USEDEP

Package-Manager: Portage-2.3.5, Repoman-2.3.1

 dev-python/requests-toolbelt/requests-toolbelt-0.7.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/requests-toolbelt/requests-toolbelt-0.7.1.ebuild 
b/dev-python/requests-toolbelt/requests-toolbelt-0.7.1.ebuild
index 82d13e93f14..3a706e8ae55 100644
--- a/dev-python/requests-toolbelt/requests-toolbelt-0.7.1.ebuild
+++ b/dev-python/requests-toolbelt/requests-toolbelt-0.7.1.ebuild
@@ -15,7 +15,7 @@ SLOT="0"
 KEYWORDS="~amd64 ~x86"
 IUSE="test"
 

[gentoo-commits] repo/gentoo:master commit in: dev-python/requests-toolbelt/

2017-05-01 Thread Michał Górny
commit: 59b4e4d36b5a3cabcbe28a631964a6a9d8ecbcbc
Author: Michał Górny  gentoo  org>
AuthorDate: Mon May  1 14:28:49 2017 +
Commit: Michał Górny  gentoo  org>
CommitDate: Mon May  1 14:56:19 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=59b4e4d3

dev-python/requests-toolbelt: Tested on py3.6

 dev-python/requests-toolbelt/requests-toolbelt-0.7.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/requests-toolbelt/requests-toolbelt-0.7.1.ebuild 
b/dev-python/requests-toolbelt/requests-toolbelt-0.7.1.ebuild
index 01ac4aeab11..82d13e93f14 100644
--- a/dev-python/requests-toolbelt/requests-toolbelt-0.7.1.ebuild
+++ b/dev-python/requests-toolbelt/requests-toolbelt-0.7.1.ebuild
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
-PYTHON_COMPAT=( python{2_7,3_4,3_5} )
+PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
 
 inherit distutils-r1
 



[gentoo-commits] repo/gentoo:master commit in: dev-python/requests-toolbelt/

2017-05-01 Thread Michał Górny
commit: aa4901609d0baba5cdf1df732e59e4f750ca7f8e
Author: Michał Górny  gentoo  org>
AuthorDate: Mon May  1 14:25:14 2017 +
Commit: Michał Górny  gentoo  org>
CommitDate: Mon May  1 14:56:18 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aa490160

dev-python/requests-toolbelt: Add missing setuptools dep

 dev-python/requests-toolbelt/requests-toolbelt-0.7.1.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/dev-python/requests-toolbelt/requests-toolbelt-0.7.1.ebuild 
b/dev-python/requests-toolbelt/requests-toolbelt-0.7.1.ebuild
index 53eac8d76d6..39771f8d9f9 100644
--- a/dev-python/requests-toolbelt/requests-toolbelt-0.7.1.ebuild
+++ b/dev-python/requests-toolbelt/requests-toolbelt-0.7.1.ebuild
@@ -15,7 +15,8 @@ SLOT="0"
 KEYWORDS="~amd64 ~x86"
 IUSE=""
 
-DEPEND=""
 RDEPEND="

[gentoo-commits] repo/gentoo:master commit in: dev-python/requests-toolbelt/

2017-05-01 Thread Michał Górny
commit: 56c0f64873822c425aff58890f84084fb2a9862b
Author: Michał Górny  gentoo  org>
AuthorDate: Mon May  1 14:11:22 2017 +
Commit: Michał Górny  gentoo  org>
CommitDate: Mon May  1 14:56:18 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=56c0f648

dev-python/requests-toolbelt: Correct requests version

 dev-python/requests-toolbelt/requests-toolbelt-0.7.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/requests-toolbelt/requests-toolbelt-0.7.1.ebuild 
b/dev-python/requests-toolbelt/requests-toolbelt-0.7.1.ebuild
index 33cd18783fc..53eac8d76d6 100644
--- a/dev-python/requests-toolbelt/requests-toolbelt-0.7.1.ebuild
+++ b/dev-python/requests-toolbelt/requests-toolbelt-0.7.1.ebuild
@@ -16,6 +16,6 @@ KEYWORDS="~amd64 ~x86"
 IUSE=""
 
 DEPEND=""
-RDEPEND="<=dev-python/requests-3.0.0"
+RDEPEND="

[gentoo-commits] repo/gentoo:master commit in: dev-python/requests-toolbelt/

2017-05-01 Thread Michał Górny
commit: 4f965207bc21298b47fb03d3c684ec5b5b0f89d9
Author: Michał Górny  gentoo  org>
AuthorDate: Mon May  1 14:27:03 2017 +
Commit: Michał Górny  gentoo  org>
CommitDate: Mon May  1 14:56:19 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4f965207

dev-python/requests-toolbelt: Enable tests

 dev-python/requests-toolbelt/requests-toolbelt-0.7.1.ebuild | 13 +++--
 1 file changed, 11 insertions(+), 2 deletions(-)

diff --git a/dev-python/requests-toolbelt/requests-toolbelt-0.7.1.ebuild 
b/dev-python/requests-toolbelt/requests-toolbelt-0.7.1.ebuild
index 39771f8d9f9..01ac4aeab11 100644
--- a/dev-python/requests-toolbelt/requests-toolbelt-0.7.1.ebuild
+++ b/dev-python/requests-toolbelt/requests-toolbelt-0.7.1.ebuild
@@ -13,10 +13,19 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 LICENSE="Apache-2.0"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
-IUSE=""
+IUSE="test"
 
 RDEPEND="

[gentoo-commits] repo/gentoo:master commit in: dev-python/requests-toolbelt/

2017-04-15 Thread Manuel Rüger
commit: b9c68eec2f2a774b552302d9d6da8c4d8ed24689
Author: Manuel Rüger  gentoo  org>
AuthorDate: Sat Apr 15 21:52:23 2017 +
Commit: Manuel Rüger  gentoo  org>
CommitDate: Sat Apr 15 21:52:23 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b9c68eec

dev-python/requests-toolbelt: Version bump to 0.7.1

Package-Manager: Portage-2.3.5, Repoman-2.3.2

 dev-python/requests-toolbelt/Manifest   |  1 +
 .../requests-toolbelt-0.7.1.ebuild  | 21 +
 2 files changed, 22 insertions(+)

diff --git a/dev-python/requests-toolbelt/Manifest 
b/dev-python/requests-toolbelt/Manifest
index 56785e60f24..8c02600b23d 100644
--- a/dev-python/requests-toolbelt/Manifest
+++ b/dev-python/requests-toolbelt/Manifest
@@ -1,2 +1,3 @@
 DIST requests-toolbelt-0.5.1.tar.gz 187981 SHA256 
4f4be5325cf4af12847252406eefca8e9d1cd3cfb23a377aaac5cea32d55d23e SHA512 
fff70b7262efae616fe9fe8e25af9856d42ccecdaca71cfde0dd81c5d7c509aec30f7c99f4b886d844c168937197ed8287e873fffe6073e93e48412b5a902997
 WHIRLPOOL 
6c918a43ab70046545445d217cac0ea9fd18c1938aaa5bfe61645cb95a43563d2fbe51317c8bc9fcb11c8f68c64c8c1af0ef265c72d2994f16b9365cff3f
 DIST requests-toolbelt-0.7.0.tar.gz 194062 SHA256 
33899d4a559c3f0f5e9fbc115d337c4236febdc083755a160a4132d92fc3c91a SHA512 
77f11d12643d7cacf0c5dab5c5490359fc6f11c038d56d6ae27939394c5788622edb230d38d2202192eec6a7b1229feeb5669cd6a33c78f6891699d017e8205e
 WHIRLPOOL 
6ce0b79cc4a7d981e77939bbc145e9a7c613067ef451cc084539304c6926cbd712fd47a936d7e3707074f9778f973830d5278c577cb826464e7606101a000586
+DIST requests-toolbelt-0.7.1.tar.gz 194670 SHA256 
c3843884269d79e492522f3e9f490917e074c1ddbb80111968970e721fe36eaf SHA512 
2559db13054c4d9b7c459603809a16d8d9a9c1a348369e1bc68e557bae10c41291286112e3b4a71e83b42203d40fa5cbc8441028693eeb986162d212a65f68ac
 WHIRLPOOL 
200360434e119eb089d28a68b86685c0a7dad0b1a243dde03b10667184065ec94b29993d24467f43a5dfe6e3b24fe35fec588ea0d5e8768426c044043f9de5f0

diff --git a/dev-python/requests-toolbelt/requests-toolbelt-0.7.1.ebuild 
b/dev-python/requests-toolbelt/requests-toolbelt-0.7.1.ebuild
new file mode 100644
index 000..33cd18783fc
--- /dev/null
+++ b/dev-python/requests-toolbelt/requests-toolbelt-0.7.1.ebuild
@@ -0,0 +1,21 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+PYTHON_COMPAT=( python{2_7,3_4,3_5} )
+
+inherit distutils-r1
+
+DESCRIPTION="A utility belt for advanced users of python-requests"
+HOMEPAGE="http://toolbelt.readthedocs.org/;
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND=""
+RDEPEND="<=dev-python/requests-3.0.0"
+
+DOCS=( AUTHORS.rst HISTORY.rst README.rst )



[gentoo-commits] repo/gentoo:master commit in: dev-python/requests-toolbelt/

2016-08-30 Thread Amy Winston
commit: 0518f0d8f6d48d85af19410d376a97f818b965bf
Author: Amy Winston  gentoo  org>
AuthorDate: Tue Aug 30 07:13:06 2016 +
Commit: Amy Winston  gentoo  org>
CommitDate: Tue Aug 30 07:13:06 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0518f0d8

dev-python/requests-toolbelt: version bump 0.7.0 bug #592348

Package-Manager: portage-2.2.28

 dev-python/requests-toolbelt/Manifest  |  1 +
 .../requests-toolbelt-0.7.0.ebuild | 22 ++
 2 files changed, 23 insertions(+)

diff --git a/dev-python/requests-toolbelt/Manifest 
b/dev-python/requests-toolbelt/Manifest
index 925112e..56785e6 100644
--- a/dev-python/requests-toolbelt/Manifest
+++ b/dev-python/requests-toolbelt/Manifest
@@ -1 +1,2 @@
 DIST requests-toolbelt-0.5.1.tar.gz 187981 SHA256 
4f4be5325cf4af12847252406eefca8e9d1cd3cfb23a377aaac5cea32d55d23e SHA512 
fff70b7262efae616fe9fe8e25af9856d42ccecdaca71cfde0dd81c5d7c509aec30f7c99f4b886d844c168937197ed8287e873fffe6073e93e48412b5a902997
 WHIRLPOOL 
6c918a43ab70046545445d217cac0ea9fd18c1938aaa5bfe61645cb95a43563d2fbe51317c8bc9fcb11c8f68c64c8c1af0ef265c72d2994f16b9365cff3f
+DIST requests-toolbelt-0.7.0.tar.gz 194062 SHA256 
33899d4a559c3f0f5e9fbc115d337c4236febdc083755a160a4132d92fc3c91a SHA512 
77f11d12643d7cacf0c5dab5c5490359fc6f11c038d56d6ae27939394c5788622edb230d38d2202192eec6a7b1229feeb5669cd6a33c78f6891699d017e8205e
 WHIRLPOOL 
6ce0b79cc4a7d981e77939bbc145e9a7c613067ef451cc084539304c6926cbd712fd47a936d7e3707074f9778f973830d5278c577cb826464e7606101a000586

diff --git a/dev-python/requests-toolbelt/requests-toolbelt-0.7.0.ebuild 
b/dev-python/requests-toolbelt/requests-toolbelt-0.7.0.ebuild
new file mode 100644
index ..54af785
--- /dev/null
+++ b/dev-python/requests-toolbelt/requests-toolbelt-0.7.0.ebuild
@@ -0,0 +1,22 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+PYTHON_COMPAT=( python{2_7,3_3,3_4,3_5} )
+
+inherit distutils-r1
+
+DESCRIPTION="A utility belt for advanced users of python-requests"
+HOMEPAGE="http://toolbelt.readthedocs.org/;
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND=""
+RDEPEND="<=dev-python/requests-3.0.0"
+
+DOCS=( AUTHORS.rst HISTORY.rst README.rst )



[gentoo-commits] repo/gentoo:master commit in: dev-python/requests-toolbelt/

2016-08-12 Thread Amy Winston
commit: 08ebd2c7090fc50d44ed11d87f2c0f19938eaa7c
Author: Amy Winston  gentoo  org>
AuthorDate: Fri Aug 12 17:46:27 2016 +
Commit: Amy Winston  gentoo  org>
CommitDate: Fri Aug 12 17:46:27 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=08ebd2c7

dev-python/requests-toolbelt: add python 3.5 bug #591038

Package-Manager: portage-2.2.28

 dev-python/requests-toolbelt/requests-toolbelt-0.5.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/requests-toolbelt/requests-toolbelt-0.5.1.ebuild 
b/dev-python/requests-toolbelt/requests-toolbelt-0.5.1.ebuild
index 3df2c62..4237302 100644
--- a/dev-python/requests-toolbelt/requests-toolbelt-0.5.1.ebuild
+++ b/dev-python/requests-toolbelt/requests-toolbelt-0.5.1.ebuild
@@ -3,7 +3,7 @@
 # $Id$
 
 EAPI=5
-PYTHON_COMPAT=( python{2_7,3_3,3_4} )
+PYTHON_COMPAT=( python{2_7,3_3,3_4,3_5} )
 
 inherit distutils-r1
 



[gentoo-commits] repo/gentoo:master commit in: dev-python/requests-toolbelt/

2016-02-21 Thread Amy Winston
commit: f2e3d6ccfe55b8a30572e3cc876b1bce6bb58321
Author: Amy Winston  gentoo  org>
AuthorDate: Sun Feb 21 14:52:36 2016 +
Commit: Amy Winston  gentoo  org>
CommitDate: Sun Feb 21 15:17:17 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f2e3d6cc

dev-python/requests-toolbelt: Initial commit dependency for khal

Package-Manager: portage-2.2.26

 dev-python/requests-toolbelt/Manifest  |  1 +
 dev-python/requests-toolbelt/metadata.xml  |  7 +++
 .../requests-toolbelt-0.5.1.ebuild | 22 ++
 3 files changed, 30 insertions(+)

diff --git a/dev-python/requests-toolbelt/Manifest 
b/dev-python/requests-toolbelt/Manifest
new file mode 100644
index 000..925112e
--- /dev/null
+++ b/dev-python/requests-toolbelt/Manifest
@@ -0,0 +1 @@
+DIST requests-toolbelt-0.5.1.tar.gz 187981 SHA256 
4f4be5325cf4af12847252406eefca8e9d1cd3cfb23a377aaac5cea32d55d23e SHA512 
fff70b7262efae616fe9fe8e25af9856d42ccecdaca71cfde0dd81c5d7c509aec30f7c99f4b886d844c168937197ed8287e873fffe6073e93e48412b5a902997
 WHIRLPOOL 
6c918a43ab70046545445d217cac0ea9fd18c1938aaa5bfe61645cb95a43563d2fbe51317c8bc9fcb11c8f68c64c8c1af0ef265c72d2994f16b9365cff3f

diff --git a/dev-python/requests-toolbelt/metadata.xml 
b/dev-python/requests-toolbelt/metadata.xml
new file mode 100644
index 000..9733c2c
--- /dev/null
+++ b/dev-python/requests-toolbelt/metadata.xml
@@ -0,0 +1,7 @@
+
+http://www.gentoo.org/dtd/metadata.dtd;>
+
+   
+   amy...@gentoo.org
+   
+

diff --git a/dev-python/requests-toolbelt/requests-toolbelt-0.5.1.ebuild 
b/dev-python/requests-toolbelt/requests-toolbelt-0.5.1.ebuild
new file mode 100644
index 000..3df2c62
--- /dev/null
+++ b/dev-python/requests-toolbelt/requests-toolbelt-0.5.1.ebuild
@@ -0,0 +1,22 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+PYTHON_COMPAT=( python{2_7,3_3,3_4} )
+
+inherit distutils-r1
+
+DESCRIPTION="A utility belt for advanced users of python-requests"
+HOMEPAGE="http://toolbelt.readthedocs.org/;
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND=""
+RDEPEND="<=dev-python/requests-3.0.0"
+
+DOCS=( AUTHORS.rst HISTORY.rst README.rst )