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

2023-05-29 Thread Michał Górny
commit: 9cb38a0c92d87040f30639fdf832c2f7164f1d37
Author: Michał Górny  gentoo  org>
AuthorDate: Mon May 29 11:45:39 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Mon May 29 12:00:48 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9cb38a0c

dev-python/httplib2: Enable py3.12

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

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

diff --git a/dev-python/httplib2/httplib2-0.22.0.ebuild 
b/dev-python/httplib2/httplib2-0.22.0.ebuild
index 504e8447a22d..ed1ee5aad216 100644
--- a/dev-python/httplib2/httplib2-0.22.0.ebuild
+++ b/dev-python/httplib2/httplib2-0.22.0.ebuild
@@ -4,7 +4,7 @@
 EAPI=8
 
 DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{9..11} pypy3 )
+PYTHON_COMPAT=( python3_{10..12} pypy3 )
 
 inherit distutils-r1
 



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

2023-04-22 Thread Michał Górny
commit: b0f0d8b8217a337601a9e7f4d2e3b0205490d047
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Apr 22 16:09:19 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Apr 22 16:09:19 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b0f0d8b8

dev-python/httplib2: Remove old

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

 dev-python/httplib2/Manifest   |  1 -
 dev-python/httplib2/httplib2-0.21.0.ebuild | 70 --
 2 files changed, 71 deletions(-)

diff --git a/dev-python/httplib2/Manifest b/dev-python/httplib2/Manifest
index a32c10350a55..f6cbc21cab80 100644
--- a/dev-python/httplib2/Manifest
+++ b/dev-python/httplib2/Manifest
@@ -1,2 +1 @@
-DIST httplib2-0.21.0.gh.tar.gz 373245 BLAKE2B 
d7194773c2b61cbf579da5aea7f52cb3481eed86896be215b942de7f9418a39c4a934868c9e01b6bfb050a32e4b7bc7ff775b28af5ba5db2827131e436bf0b04
 SHA512 
8269014f05f5e4b668c7dea8ae708b27a60b4216d712a93ab58b74f399ab5bc0dcdcd8c1411ccff587c7bdb6bc20917451ad969e5bef2d5c5262327cabe17bbb
 DIST httplib2-0.22.0.gh.tar.gz 373972 BLAKE2B 
6adfbc61d4f898666512da5d02cf082fcaf76bf1816de955510f5c4721a36c38d99fef963d5150b62cca091543ed65bb1ef5f33ce99123e1cd2abe467d4970e3
 SHA512 
77210f85ccaa2d2cf4a6c89f5146ca5eb9a6f26f00e862f6d0716ec73baffdf94714ae1d5eaced4349920b91276a7835e2f028c6d9156e84c241514b198791e5

diff --git a/dev-python/httplib2/httplib2-0.21.0.ebuild 
b/dev-python/httplib2/httplib2-0.21.0.ebuild
deleted file mode 100644
index 504e8447a22d..
--- a/dev-python/httplib2/httplib2-0.21.0.ebuild
+++ /dev/null
@@ -1,70 +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 comprehensive HTTP client library"
-HOMEPAGE="
-   https://pypi.org/project/httplib2/
-   https://github.com/httplib2/httplib2/
-"
-SRC_URI="
-   https://github.com/httplib2/httplib2/archive/v${PV}.tar.gz
-   -> ${P}.gh.tar.gz
-"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 
sparc x86 ~amd64-linux ~x86-linux ~x64-macos"
-
-RDEPEND="
-   app-misc/ca-certificates
-   dev-python/pyparsing[${PYTHON_USEDEP}]
-"
-BDEPEND="
-   test? (
-   dev-libs/openssl
-   dev-python/pytest-timeout[${PYTHON_USEDEP}]
-   dev-python/six[${PYTHON_USEDEP}]
-   )
-"
-
-distutils_enable_tests pytest
-
-PATCHES=( "${FILESDIR}"/${PN}-0.12.1-use-system-cacerts.patch )
-
-src_prepare() {
-   sed -i -e '/--cov/d' setup.cfg || die
-   # cryptography dep is entirely optional, and has a good fallback
-   sed -i -e 's:from cryptography.*:pass:' tests/__init__.py || die
-   distutils-r1_src_prepare
-}
-
-python_test() {
-   local EPYTEST_DESELECT=(
-   # broken by using system certificates
-   tests/test_cacerts_from_env.py::test_certs_file_from_builtin
-   tests/test_cacerts_from_env.py::test_certs_file_from_environment
-   
tests/test_cacerts_from_env.py::test_with_certifi_removed_from_modules
-
-   # broken by new PySocks, probably
-   
tests/test_proxy.py::test_server_not_found_error_is_raised_for_invalid_hostname
-   tests/test_proxy.py::test_socks5_auth
-
-   # broken by recerting (TODO)
-   tests/test_https.py::test_min_tls_version
-   tests/test_https.py::test_max_tls_version
-
-   # new cryptography or openssl-3?
-   tests/test_https.py::test_client_cert_password_verified
-   )
-
-   # tests in python* are replaced by tests/
-   # upstream fails at cleaning up stuff
-   epytest tests
-}



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

2023-04-22 Thread Sam James
commit: 44fb6b1b72fc46daf3338fbc7b80ff09bef849ad
Author: Sam James  gentoo  org>
AuthorDate: Sat Apr 22 10:53:36 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Apr 22 10:53:36 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=44fb6b1b

dev-python/httplib2: Stabilize 0.22.0 ALLARCHES, #904806

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

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

diff --git a/dev-python/httplib2/httplib2-0.22.0.ebuild 
b/dev-python/httplib2/httplib2-0.22.0.ebuild
index 2b1549a355b3..504e8447a22d 100644
--- a/dev-python/httplib2/httplib2-0.22.0.ebuild
+++ b/dev-python/httplib2/httplib2-0.22.0.ebuild
@@ -20,7 +20,7 @@ SRC_URI="
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv 
~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 
sparc x86 ~amd64-linux ~x86-linux ~x64-macos"
 
 RDEPEND="
app-misc/ca-certificates



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

2023-03-22 Thread Michał Górny
commit: f334bcacfdb9d1dc00d41c407b00f687adfe09df
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Mar 22 06:14:29 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Mar 22 06:14:29 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f334bcac

dev-python/httplib2: Bump to 0.22.0

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

 dev-python/httplib2/Manifest   |  1 +
 dev-python/httplib2/httplib2-0.22.0.ebuild | 70 ++
 2 files changed, 71 insertions(+)

diff --git a/dev-python/httplib2/Manifest b/dev-python/httplib2/Manifest
index 5c971426580d..a32c10350a55 100644
--- a/dev-python/httplib2/Manifest
+++ b/dev-python/httplib2/Manifest
@@ -1 +1,2 @@
 DIST httplib2-0.21.0.gh.tar.gz 373245 BLAKE2B 
d7194773c2b61cbf579da5aea7f52cb3481eed86896be215b942de7f9418a39c4a934868c9e01b6bfb050a32e4b7bc7ff775b28af5ba5db2827131e436bf0b04
 SHA512 
8269014f05f5e4b668c7dea8ae708b27a60b4216d712a93ab58b74f399ab5bc0dcdcd8c1411ccff587c7bdb6bc20917451ad969e5bef2d5c5262327cabe17bbb
+DIST httplib2-0.22.0.gh.tar.gz 373972 BLAKE2B 
6adfbc61d4f898666512da5d02cf082fcaf76bf1816de955510f5c4721a36c38d99fef963d5150b62cca091543ed65bb1ef5f33ce99123e1cd2abe467d4970e3
 SHA512 
77210f85ccaa2d2cf4a6c89f5146ca5eb9a6f26f00e862f6d0716ec73baffdf94714ae1d5eaced4349920b91276a7835e2f028c6d9156e84c241514b198791e5

diff --git a/dev-python/httplib2/httplib2-0.22.0.ebuild 
b/dev-python/httplib2/httplib2-0.22.0.ebuild
new file mode 100644
index ..2b1549a355b3
--- /dev/null
+++ b/dev-python/httplib2/httplib2-0.22.0.ebuild
@@ -0,0 +1,70 @@
+# 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 comprehensive HTTP client library"
+HOMEPAGE="
+   https://pypi.org/project/httplib2/
+   https://github.com/httplib2/httplib2/
+"
+SRC_URI="
+   https://github.com/httplib2/httplib2/archive/v${PV}.tar.gz
+   -> ${P}.gh.tar.gz
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv 
~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos"
+
+RDEPEND="
+   app-misc/ca-certificates
+   dev-python/pyparsing[${PYTHON_USEDEP}]
+"
+BDEPEND="
+   test? (
+   dev-libs/openssl
+   dev-python/pytest-timeout[${PYTHON_USEDEP}]
+   dev-python/six[${PYTHON_USEDEP}]
+   )
+"
+
+distutils_enable_tests pytest
+
+PATCHES=( "${FILESDIR}"/${PN}-0.12.1-use-system-cacerts.patch )
+
+src_prepare() {
+   sed -i -e '/--cov/d' setup.cfg || die
+   # cryptography dep is entirely optional, and has a good fallback
+   sed -i -e 's:from cryptography.*:pass:' tests/__init__.py || die
+   distutils-r1_src_prepare
+}
+
+python_test() {
+   local EPYTEST_DESELECT=(
+   # broken by using system certificates
+   tests/test_cacerts_from_env.py::test_certs_file_from_builtin
+   tests/test_cacerts_from_env.py::test_certs_file_from_environment
+   
tests/test_cacerts_from_env.py::test_with_certifi_removed_from_modules
+
+   # broken by new PySocks, probably
+   
tests/test_proxy.py::test_server_not_found_error_is_raised_for_invalid_hostname
+   tests/test_proxy.py::test_socks5_auth
+
+   # broken by recerting (TODO)
+   tests/test_https.py::test_min_tls_version
+   tests/test_https.py::test_max_tls_version
+
+   # new cryptography or openssl-3?
+   tests/test_https.py::test_client_cert_password_verified
+   )
+
+   # tests in python* are replaced by tests/
+   # upstream fails at cleaning up stuff
+   epytest tests
+}



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

2022-11-29 Thread Michał Górny
commit: 8b3978012fe906b912ac1cbd37f3025020e2c8e6
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Nov 29 08:36:27 2022 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Nov 29 08:36:27 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8b397801

dev-python/httplib2: Remove old

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

 dev-python/httplib2/Manifest   |  1 -
 dev-python/httplib2/httplib2-0.20.4.ebuild | 70 --
 2 files changed, 71 deletions(-)

diff --git a/dev-python/httplib2/Manifest b/dev-python/httplib2/Manifest
index 53137697b639..5c971426580d 100644
--- a/dev-python/httplib2/Manifest
+++ b/dev-python/httplib2/Manifest
@@ -1,2 +1 @@
-DIST httplib2-0.20.4.gh.tar.gz 371778 BLAKE2B 
85e2dd0b6213cc5015d4f2f7f923209a61649f948f003eaf3c95c956cb08e6f5bf9dc4e40109c0ddea6a18ab47870a21c7d367ea1eeec2644507568f4e271005
 SHA512 
46396a9bb439e61939e481a2502567a6dc40686471267ea4c357f141ac138193107f90ac465db683e4ab71e5d92249b810657bff0cb74af7a37a9a23c8320741
 DIST httplib2-0.21.0.gh.tar.gz 373245 BLAKE2B 
d7194773c2b61cbf579da5aea7f52cb3481eed86896be215b942de7f9418a39c4a934868c9e01b6bfb050a32e4b7bc7ff775b28af5ba5db2827131e436bf0b04
 SHA512 
8269014f05f5e4b668c7dea8ae708b27a60b4216d712a93ab58b74f399ab5bc0dcdcd8c1411ccff587c7bdb6bc20917451ad969e5bef2d5c5262327cabe17bbb

diff --git a/dev-python/httplib2/httplib2-0.20.4.ebuild 
b/dev-python/httplib2/httplib2-0.20.4.ebuild
deleted file mode 100644
index cc6edaef4a0f..
--- a/dev-python/httplib2/httplib2-0.20.4.ebuild
+++ /dev/null
@@ -1,70 +0,0 @@
-# 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 comprehensive HTTP client library"
-HOMEPAGE="
-   https://pypi.org/project/httplib2/
-   https://github.com/httplib2/httplib2/
-"
-SRC_URI="
-   https://github.com/httplib2/httplib2/archive/v${PV}.tar.gz
-   -> ${P}.gh.tar.gz
-"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 
sparc x86 ~amd64-linux ~x86-linux ~x64-macos"
-
-RDEPEND="
-   app-misc/ca-certificates
-   dev-python/pyparsing[${PYTHON_USEDEP}]
-"
-BDEPEND="
-   test? (
-   dev-libs/openssl
-   dev-python/pytest-timeout[${PYTHON_USEDEP}]
-   dev-python/six[${PYTHON_USEDEP}]
-   )
-"
-
-distutils_enable_tests pytest
-
-PATCHES=( "${FILESDIR}"/${PN}-0.12.1-use-system-cacerts.patch )
-
-src_prepare() {
-   sed -i -e '/--cov/d' setup.cfg || die
-   # cryptography dep is entirely optional, and has a good fallback
-   sed -i -e 's:from cryptography.*:pass:' tests/__init__.py || die
-   distutils-r1_src_prepare
-}
-
-python_test() {
-   local EPYTEST_DESELECT=(
-   # broken by using system certificates
-   tests/test_cacerts_from_env.py::test_certs_file_from_builtin
-   tests/test_cacerts_from_env.py::test_certs_file_from_environment
-   
tests/test_cacerts_from_env.py::test_with_certifi_removed_from_modules
-
-   # broken by new PySocks, probably
-   
tests/test_proxy.py::test_server_not_found_error_is_raised_for_invalid_hostname
-   tests/test_proxy.py::test_socks5_auth
-
-   # broken by recerting (TODO)
-   tests/test_https.py::test_min_tls_version
-   tests/test_https.py::test_max_tls_version
-
-   # new cryptography or openssl-3?
-   tests/test_https.py::test_client_cert_password_verified
-   )
-
-   # tests in python* are replaced by tests/
-   # upstream fails at cleaning up stuff
-   epytest tests
-}



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

2022-11-28 Thread Arthur Zamarin
commit: aea92bf45e55949a1884a4d410cf85f739c7c39c
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Tue Nov 29 07:26:06 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Tue Nov 29 07:26:06 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aea92bf4

dev-python/httplib2: Stabilize 0.21.0 ALLARCHES, #883485

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

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

diff --git a/dev-python/httplib2/httplib2-0.21.0.ebuild 
b/dev-python/httplib2/httplib2-0.21.0.ebuild
index 76ca9a5de17e..cc6edaef4a0f 100644
--- a/dev-python/httplib2/httplib2-0.21.0.ebuild
+++ b/dev-python/httplib2/httplib2-0.21.0.ebuild
@@ -20,7 +20,7 @@ SRC_URI="
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv 
~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 
sparc x86 ~amd64-linux ~x86-linux ~x64-macos"
 
 RDEPEND="
app-misc/ca-certificates



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

2022-10-30 Thread Michał Górny
commit: a8cebf03141f6b42b57a9a523c375cc11e258ffb
Author: Michał Górny  gentoo  org>
AuthorDate: Sun Oct 30 06:17:24 2022 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Oct 30 06:39:02 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a8cebf03

dev-python/httplib2: Bump to 0.21.0

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

 dev-python/httplib2/Manifest   |  1 +
 dev-python/httplib2/httplib2-0.21.0.ebuild | 70 ++
 2 files changed, 71 insertions(+)

diff --git a/dev-python/httplib2/Manifest b/dev-python/httplib2/Manifest
index f8ca93a5252a..53137697b639 100644
--- a/dev-python/httplib2/Manifest
+++ b/dev-python/httplib2/Manifest
@@ -1 +1,2 @@
 DIST httplib2-0.20.4.gh.tar.gz 371778 BLAKE2B 
85e2dd0b6213cc5015d4f2f7f923209a61649f948f003eaf3c95c956cb08e6f5bf9dc4e40109c0ddea6a18ab47870a21c7d367ea1eeec2644507568f4e271005
 SHA512 
46396a9bb439e61939e481a2502567a6dc40686471267ea4c357f141ac138193107f90ac465db683e4ab71e5d92249b810657bff0cb74af7a37a9a23c8320741
+DIST httplib2-0.21.0.gh.tar.gz 373245 BLAKE2B 
d7194773c2b61cbf579da5aea7f52cb3481eed86896be215b942de7f9418a39c4a934868c9e01b6bfb050a32e4b7bc7ff775b28af5ba5db2827131e436bf0b04
 SHA512 
8269014f05f5e4b668c7dea8ae708b27a60b4216d712a93ab58b74f399ab5bc0dcdcd8c1411ccff587c7bdb6bc20917451ad969e5bef2d5c5262327cabe17bbb

diff --git a/dev-python/httplib2/httplib2-0.21.0.ebuild 
b/dev-python/httplib2/httplib2-0.21.0.ebuild
new file mode 100644
index ..76ca9a5de17e
--- /dev/null
+++ b/dev-python/httplib2/httplib2-0.21.0.ebuild
@@ -0,0 +1,70 @@
+# 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 comprehensive HTTP client library"
+HOMEPAGE="
+   https://pypi.org/project/httplib2/
+   https://github.com/httplib2/httplib2/
+"
+SRC_URI="
+   https://github.com/httplib2/httplib2/archive/v${PV}.tar.gz
+   -> ${P}.gh.tar.gz
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv 
~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos"
+
+RDEPEND="
+   app-misc/ca-certificates
+   dev-python/pyparsing[${PYTHON_USEDEP}]
+"
+BDEPEND="
+   test? (
+   dev-libs/openssl
+   dev-python/pytest-timeout[${PYTHON_USEDEP}]
+   dev-python/six[${PYTHON_USEDEP}]
+   )
+"
+
+distutils_enable_tests pytest
+
+PATCHES=( "${FILESDIR}"/${PN}-0.12.1-use-system-cacerts.patch )
+
+src_prepare() {
+   sed -i -e '/--cov/d' setup.cfg || die
+   # cryptography dep is entirely optional, and has a good fallback
+   sed -i -e 's:from cryptography.*:pass:' tests/__init__.py || die
+   distutils-r1_src_prepare
+}
+
+python_test() {
+   local EPYTEST_DESELECT=(
+   # broken by using system certificates
+   tests/test_cacerts_from_env.py::test_certs_file_from_builtin
+   tests/test_cacerts_from_env.py::test_certs_file_from_environment
+   
tests/test_cacerts_from_env.py::test_with_certifi_removed_from_modules
+
+   # broken by new PySocks, probably
+   
tests/test_proxy.py::test_server_not_found_error_is_raised_for_invalid_hostname
+   tests/test_proxy.py::test_socks5_auth
+
+   # broken by recerting (TODO)
+   tests/test_https.py::test_min_tls_version
+   tests/test_https.py::test_max_tls_version
+
+   # new cryptography or openssl-3?
+   tests/test_https.py::test_client_cert_password_verified
+   )
+
+   # tests in python* are replaced by tests/
+   # upstream fails at cleaning up stuff
+   epytest tests
+}



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

2022-08-27 Thread WANG Xuerui
commit: e989a1fd90ddb487826ede8162182176b92b6b38
Author: WANG Xuerui  gentoo  org>
AuthorDate: Sun Aug 28 05:05:41 2022 +
Commit: WANG Xuerui  gentoo  org>
CommitDate: Sun Aug 28 05:05:59 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e989a1fd

dev-python/httplib2: keyword 0.20.4 for ~loong

Signed-off-by: WANG Xuerui  gentoo.org>

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

diff --git a/dev-python/httplib2/httplib2-0.20.4.ebuild 
b/dev-python/httplib2/httplib2-0.20.4.ebuild
index afa4a1e94840..cc6edaef4a0f 100644
--- a/dev-python/httplib2/httplib2-0.20.4.ebuild
+++ b/dev-python/httplib2/httplib2-0.20.4.ebuild
@@ -20,7 +20,7 @@ SRC_URI="
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ppc ppc64 ~riscv ~s390 sparc x86 
~amd64-linux ~x86-linux ~x64-macos"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 
sparc x86 ~amd64-linux ~x86-linux ~x64-macos"
 
 RDEPEND="
app-misc/ca-certificates



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

2022-05-18 Thread Michał Górny
commit: 177835dccf3aa1aa88aa4341606b05faac142f0f
Author: Michał Górny  gentoo  org>
AuthorDate: Wed May 18 10:29:02 2022 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed May 18 10:29:25 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=177835dc

dev-python/httplib2: Avoid optional cryptography dep

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

 dev-python/httplib2/httplib2-0.20.4.ebuild | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/dev-python/httplib2/httplib2-0.20.4.ebuild 
b/dev-python/httplib2/httplib2-0.20.4.ebuild
index bc4dff342200..afa4a1e94840 100644
--- a/dev-python/httplib2/httplib2-0.20.4.ebuild
+++ b/dev-python/httplib2/httplib2-0.20.4.ebuild
@@ -40,6 +40,8 @@ PATCHES=( "${FILESDIR}"/${PN}-0.12.1-use-system-cacerts.patch 
)
 
 src_prepare() {
sed -i -e '/--cov/d' setup.cfg || die
+   # cryptography dep is entirely optional, and has a good fallback
+   sed -i -e 's:from cryptography.*:pass:' tests/__init__.py || die
distutils-r1_src_prepare
 }
 



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

2022-05-18 Thread Michał Górny
commit: 23c93a60add5721f199d390d3bc484e0abd09bcc
Author: Michał Górny  gentoo  org>
AuthorDate: Wed May 18 09:47:37 2022 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed May 18 09:47:37 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=23c93a60

dev-python/httplib2: Add test dep on dev-python/six

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

 dev-python/httplib2/httplib2-0.20.4.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dev-python/httplib2/httplib2-0.20.4.ebuild 
b/dev-python/httplib2/httplib2-0.20.4.ebuild
index 9d81a60ff99c..bc4dff342200 100644
--- a/dev-python/httplib2/httplib2-0.20.4.ebuild
+++ b/dev-python/httplib2/httplib2-0.20.4.ebuild
@@ -30,6 +30,7 @@ BDEPEND="
test? (
dev-libs/openssl
dev-python/pytest-timeout[${PYTHON_USEDEP}]
+   dev-python/six[${PYTHON_USEDEP}]
)
 "
 



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

2022-05-18 Thread Michał Górny
commit: 17080af91b6572c2a313b2d7e38979f253a79bd6
Author: Michał Górny  gentoo  org>
AuthorDate: Wed May 18 06:24:06 2022 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed May 18 06:59:49 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=17080af9

dev-python/httplib2: Enable py3.11

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

 dev-python/httplib2/httplib2-0.20.4.ebuild | 19 ++-
 1 file changed, 14 insertions(+), 5 deletions(-)

diff --git a/dev-python/httplib2/httplib2-0.20.4.ebuild 
b/dev-python/httplib2/httplib2-0.20.4.ebuild
index e88cb3072ace..9d81a60ff99c 100644
--- a/dev-python/httplib2/httplib2-0.20.4.ebuild
+++ b/dev-python/httplib2/httplib2-0.20.4.ebuild
@@ -4,15 +4,19 @@
 EAPI=8
 
 DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{8..10} pypy3 )
+PYTHON_COMPAT=( python3_{8..11} pypy3 )
 
 inherit distutils-r1
 
 DESCRIPTION="A comprehensive HTTP client library"
-HOMEPAGE="https://pypi.org/project/httplib2/;
+HOMEPAGE="
+   https://pypi.org/project/httplib2/
+   https://github.com/httplib2/httplib2/
+"
 SRC_URI="
https://github.com/httplib2/httplib2/archive/v${PV}.tar.gz
-   -> ${P}.gh.tar.gz"
+   -> ${P}.gh.tar.gz
+"
 
 LICENSE="MIT"
 SLOT="0"
@@ -20,12 +24,14 @@ KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ppc ppc64 
~riscv ~s390 sparc x86 ~am
 
 RDEPEND="
app-misc/ca-certificates
-   dev-python/pyparsing[${PYTHON_USEDEP}]"
+   dev-python/pyparsing[${PYTHON_USEDEP}]
+"
 BDEPEND="
test? (
dev-libs/openssl
dev-python/pytest-timeout[${PYTHON_USEDEP}]
-   )"
+   )
+"
 
 distutils_enable_tests pytest
 
@@ -50,6 +56,9 @@ python_test() {
# broken by recerting (TODO)
tests/test_https.py::test_min_tls_version
tests/test_https.py::test_max_tls_version
+
+   # new cryptography or openssl-3?
+   tests/test_https.py::test_client_cert_password_verified
)
 
# tests in python* are replaced by tests/



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

2022-03-15 Thread Michał Górny
commit: 0b48adda7c8036b3c90154c3c176a76c2be567be
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Mar 15 14:05:35 2022 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Mar 15 14:05:35 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0b48adda

dev-python/httplib2: Remove old

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

 dev-python/httplib2/Manifest   |  1 -
 dev-python/httplib2/httplib2-0.20.2.ebuild | 71 --
 2 files changed, 72 deletions(-)

diff --git a/dev-python/httplib2/Manifest b/dev-python/httplib2/Manifest
index e00e914ecd83..f8ca93a5252a 100644
--- a/dev-python/httplib2/Manifest
+++ b/dev-python/httplib2/Manifest
@@ -1,2 +1 @@
-DIST httplib2-0.20.2.gh.tar.gz 407815 BLAKE2B 
ebb3a35b5842eff570c4d804e5dcffa5afde32841eaf1797afd47a58ff7e4d6f945b20c82ad10afe0abff1dd8c5fb405594dca0c6641f8a7a201a71258478c52
 SHA512 
cb1e0e365ec7872d20c1a8e3ddb150433dd01f4ec816ae2044be6aad6c21afd00ce00dfc57f1348dcc857a63e02e8ffbd39c78f35bb4bba2e283a48f07102159
 DIST httplib2-0.20.4.gh.tar.gz 371778 BLAKE2B 
85e2dd0b6213cc5015d4f2f7f923209a61649f948f003eaf3c95c956cb08e6f5bf9dc4e40109c0ddea6a18ab47870a21c7d367ea1eeec2644507568f4e271005
 SHA512 
46396a9bb439e61939e481a2502567a6dc40686471267ea4c357f141ac138193107f90ac465db683e4ab71e5d92249b810657bff0cb74af7a37a9a23c8320741

diff --git a/dev-python/httplib2/httplib2-0.20.2.ebuild 
b/dev-python/httplib2/httplib2-0.20.2.ebuild
deleted file mode 100644
index 4c8a2f6fd6ce..
--- a/dev-python/httplib2/httplib2-0.20.2.ebuild
+++ /dev/null
@@ -1,71 +0,0 @@
-# Copyright 1999-2021 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 comprehensive HTTP client library"
-HOMEPAGE="https://pypi.org/project/httplib2/;
-SRC_URI="
-   https://github.com/httplib2/httplib2/archive/v${PV}.tar.gz
-   -> ${P}.gh.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ppc ppc64 ~riscv ~s390 sparc x86 
~amd64-linux ~x86-linux ~x64-macos"
-
-RDEPEND="
-   app-misc/ca-certificates
-   dev-python/pyparsing[${PYTHON_USEDEP}]"
-BDEPEND="
-   test? (
-   dev-libs/openssl
-   dev-python/pytest-timeout[${PYTHON_USEDEP}]
-   )"
-
-distutils_enable_tests pytest
-
-PATCHES=( "${FILESDIR}"/${PN}-0.12.1-use-system-cacerts.patch )
-
-src_prepare() {
-   sed -i -e '/--cov/d' setup.cfg || die
-   distutils-r1_src_prepare
-}
-
-src_test() {
-   # the bundled certificates use weak MDs
-   pushd tests/tls >/dev/null || die
-   ../../script/generate-tls || die
-   popd >/dev/null || die
-
-   # recerting increases serial numbers
-   sed -e 's:E2AA6A96D1BF1AEC:E2AA6A96D1BF1AEF:' \
-   -e 's:E2AA6A96D1BF1AED:E2AA6A96D1BF1AF0:' \
-   -i tests/test_https.py || die
-
-   distutils-r1_src_test
-}
-
-python_test() {
-   local EPYTEST_DESELECT=(
-   # broken by using system certificates
-   tests/test_cacerts_from_env.py::test_certs_file_from_builtin
-   tests/test_cacerts_from_env.py::test_certs_file_from_environment
-   
tests/test_cacerts_from_env.py::test_with_certifi_removed_from_modules
-
-   # broken by new PySocks, probably
-   
tests/test_proxy.py::test_server_not_found_error_is_raised_for_invalid_hostname
-   tests/test_proxy.py::test_socks5_auth
-
-   # broken by recerting (TODO)
-   tests/test_https.py::test_min_tls_version
-   tests/test_https.py::test_max_tls_version
-   )
-
-   # tests in python* are replaced by tests/
-   # upstream fails at cleaning up stuff
-   epytest tests
-}



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

2022-03-15 Thread Jakov Smolić
commit: 2cf35c79e276786693f82598d0589c8a43d107b2
Author: Jakov Smolić  gentoo  org>
AuthorDate: Tue Mar 15 11:26:22 2022 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Tue Mar 15 11:26:22 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2cf35c79

dev-python/httplib2: Stabilize 0.20.4 ALLARCHES, #835203

Signed-off-by: Jakov Smolić  gentoo.org>

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

diff --git a/dev-python/httplib2/httplib2-0.20.4.ebuild 
b/dev-python/httplib2/httplib2-0.20.4.ebuild
index 0d13f9d9faa7..e88cb3072ace 100644
--- a/dev-python/httplib2/httplib2-0.20.4.ebuild
+++ b/dev-python/httplib2/httplib2-0.20.4.ebuild
@@ -16,7 +16,7 @@ SRC_URI="
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 
~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ppc ppc64 ~riscv ~s390 sparc x86 
~amd64-linux ~x86-linux ~x64-macos"
 
 RDEPEND="
app-misc/ca-certificates



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

2022-02-03 Thread Michał Górny
commit: 6e616dfba31b1b7a5f88e52383b4f47531005b86
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Feb  3 08:06:36 2022 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Feb  3 08:27:50 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6e616dfb

dev-python/httplib2: Bump to 0.20.4

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

 dev-python/httplib2/Manifest   |  1 +
 dev-python/httplib2/httplib2-0.20.4.ebuild | 58 ++
 2 files changed, 59 insertions(+)

diff --git a/dev-python/httplib2/Manifest b/dev-python/httplib2/Manifest
index 8fdc1b335caa..e00e914ecd83 100644
--- a/dev-python/httplib2/Manifest
+++ b/dev-python/httplib2/Manifest
@@ -1 +1,2 @@
 DIST httplib2-0.20.2.gh.tar.gz 407815 BLAKE2B 
ebb3a35b5842eff570c4d804e5dcffa5afde32841eaf1797afd47a58ff7e4d6f945b20c82ad10afe0abff1dd8c5fb405594dca0c6641f8a7a201a71258478c52
 SHA512 
cb1e0e365ec7872d20c1a8e3ddb150433dd01f4ec816ae2044be6aad6c21afd00ce00dfc57f1348dcc857a63e02e8ffbd39c78f35bb4bba2e283a48f07102159
+DIST httplib2-0.20.4.gh.tar.gz 371778 BLAKE2B 
85e2dd0b6213cc5015d4f2f7f923209a61649f948f003eaf3c95c956cb08e6f5bf9dc4e40109c0ddea6a18ab47870a21c7d367ea1eeec2644507568f4e271005
 SHA512 
46396a9bb439e61939e481a2502567a6dc40686471267ea4c357f141ac138193107f90ac465db683e4ab71e5d92249b810657bff0cb74af7a37a9a23c8320741

diff --git a/dev-python/httplib2/httplib2-0.20.4.ebuild 
b/dev-python/httplib2/httplib2-0.20.4.ebuild
new file mode 100644
index ..0d13f9d9faa7
--- /dev/null
+++ b/dev-python/httplib2/httplib2-0.20.4.ebuild
@@ -0,0 +1,58 @@
+# 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 comprehensive HTTP client library"
+HOMEPAGE="https://pypi.org/project/httplib2/;
+SRC_URI="
+   https://github.com/httplib2/httplib2/archive/v${PV}.tar.gz
+   -> ${P}.gh.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 
~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos"
+
+RDEPEND="
+   app-misc/ca-certificates
+   dev-python/pyparsing[${PYTHON_USEDEP}]"
+BDEPEND="
+   test? (
+   dev-libs/openssl
+   dev-python/pytest-timeout[${PYTHON_USEDEP}]
+   )"
+
+distutils_enable_tests pytest
+
+PATCHES=( "${FILESDIR}"/${PN}-0.12.1-use-system-cacerts.patch )
+
+src_prepare() {
+   sed -i -e '/--cov/d' setup.cfg || die
+   distutils-r1_src_prepare
+}
+
+python_test() {
+   local EPYTEST_DESELECT=(
+   # broken by using system certificates
+   tests/test_cacerts_from_env.py::test_certs_file_from_builtin
+   tests/test_cacerts_from_env.py::test_certs_file_from_environment
+   
tests/test_cacerts_from_env.py::test_with_certifi_removed_from_modules
+
+   # broken by new PySocks, probably
+   
tests/test_proxy.py::test_server_not_found_error_is_raised_for_invalid_hostname
+   tests/test_proxy.py::test_socks5_auth
+
+   # broken by recerting (TODO)
+   tests/test_https.py::test_min_tls_version
+   tests/test_https.py::test_max_tls_version
+   )
+
+   # tests in python* are replaced by tests/
+   # upstream fails at cleaning up stuff
+   epytest tests
+}



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

2021-12-19 Thread Michał Górny
commit: c9eab2e9e136b8a593fd6e7a122f58744c5ac773
Author: Michał Górny  gentoo  org>
AuthorDate: Sun Dec 19 21:12:59 2021 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Dec 19 21:12:59 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c9eab2e9

dev-python/httplib2: Remove old

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

 dev-python/httplib2/Manifest  |  1 -
 dev-python/httplib2/httplib2-0.19.1-r1.ebuild | 50 ---
 2 files changed, 51 deletions(-)

diff --git a/dev-python/httplib2/Manifest b/dev-python/httplib2/Manifest
index f8fd61900192..8fdc1b335caa 100644
--- a/dev-python/httplib2/Manifest
+++ b/dev-python/httplib2/Manifest
@@ -1,2 +1 @@
-DIST httplib2-0.19.1.tar.gz 263971 BLAKE2B 
ec254249f5c8df2a0dc3fe4e2e9088f6ca14ba84516be77450beacab41cd295d4e741ac6026471fcf8bb8464ebd732a0a856901e5c09324a0f96ad2338b397e7
 SHA512 
0c87b3c9923e81c83df5257ce60f7248d86a64aea0a02d5a3f34be68c692c6abd896f95214899dc6e81b23677efc7684a3cba4c1a47261176dd26c3988054e55
 DIST httplib2-0.20.2.gh.tar.gz 407815 BLAKE2B 
ebb3a35b5842eff570c4d804e5dcffa5afde32841eaf1797afd47a58ff7e4d6f945b20c82ad10afe0abff1dd8c5fb405594dca0c6641f8a7a201a71258478c52
 SHA512 
cb1e0e365ec7872d20c1a8e3ddb150433dd01f4ec816ae2044be6aad6c21afd00ce00dfc57f1348dcc857a63e02e8ffbd39c78f35bb4bba2e283a48f07102159

diff --git a/dev-python/httplib2/httplib2-0.19.1-r1.ebuild 
b/dev-python/httplib2/httplib2-0.19.1-r1.ebuild
deleted file mode 100644
index 1955242072b7..
--- a/dev-python/httplib2/httplib2-0.19.1-r1.ebuild
+++ /dev/null
@@ -1,50 +0,0 @@
-# Copyright 1999-2021 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 comprehensive HTTP client library"
-HOMEPAGE="https://pypi.org/project/httplib2/;
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ppc ppc64 ~riscv ~s390 sparc x86 
~amd64-linux ~x86-linux ~x64-macos"
-
-RDEPEND="
-   app-misc/ca-certificates
-   

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

2021-12-19 Thread Arthur Zamarin
commit: 6e0c840270d6c0249d4edd254cdc964036fb9e69
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sun Dec 19 21:03:31 2021 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sun Dec 19 21:03:31 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6e0c8402

dev-python/httplib2: Stabilize 0.20.2 ALLARCHES, #829648

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

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

diff --git a/dev-python/httplib2/httplib2-0.20.2.ebuild 
b/dev-python/httplib2/httplib2-0.20.2.ebuild
index 97e80595b6c9..4c8a2f6fd6ce 100644
--- a/dev-python/httplib2/httplib2-0.20.2.ebuild
+++ b/dev-python/httplib2/httplib2-0.20.2.ebuild
@@ -15,7 +15,7 @@ SRC_URI="
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 
~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ppc ppc64 ~riscv ~s390 sparc x86 
~amd64-linux ~x86-linux ~x64-macos"
 
 RDEPEND="
app-misc/ca-certificates



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

2021-11-18 Thread Michał Górny
commit: 071620731d76f5cb096622ab2581bf79eaf618da
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Nov 18 09:11:43 2021 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Nov 18 09:16:46 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=07162073

dev-python/httplib2: Bump to 0.20.2

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

 dev-python/httplib2/Manifest   |  1 +
 dev-python/httplib2/httplib2-0.20.2.ebuild | 71 ++
 2 files changed, 72 insertions(+)

diff --git a/dev-python/httplib2/Manifest b/dev-python/httplib2/Manifest
index 2cee1e7e3ce7..f8fd61900192 100644
--- a/dev-python/httplib2/Manifest
+++ b/dev-python/httplib2/Manifest
@@ -1 +1,2 @@
 DIST httplib2-0.19.1.tar.gz 263971 BLAKE2B 
ec254249f5c8df2a0dc3fe4e2e9088f6ca14ba84516be77450beacab41cd295d4e741ac6026471fcf8bb8464ebd732a0a856901e5c09324a0f96ad2338b397e7
 SHA512 
0c87b3c9923e81c83df5257ce60f7248d86a64aea0a02d5a3f34be68c692c6abd896f95214899dc6e81b23677efc7684a3cba4c1a47261176dd26c3988054e55
+DIST httplib2-0.20.2.gh.tar.gz 407815 BLAKE2B 
ebb3a35b5842eff570c4d804e5dcffa5afde32841eaf1797afd47a58ff7e4d6f945b20c82ad10afe0abff1dd8c5fb405594dca0c6641f8a7a201a71258478c52
 SHA512 
cb1e0e365ec7872d20c1a8e3ddb150433dd01f4ec816ae2044be6aad6c21afd00ce00dfc57f1348dcc857a63e02e8ffbd39c78f35bb4bba2e283a48f07102159

diff --git a/dev-python/httplib2/httplib2-0.20.2.ebuild 
b/dev-python/httplib2/httplib2-0.20.2.ebuild
new file mode 100644
index ..97e80595b6c9
--- /dev/null
+++ b/dev-python/httplib2/httplib2-0.20.2.ebuild
@@ -0,0 +1,71 @@
+# Copyright 1999-2021 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 comprehensive HTTP client library"
+HOMEPAGE="https://pypi.org/project/httplib2/;
+SRC_URI="
+   https://github.com/httplib2/httplib2/archive/v${PV}.tar.gz
+   -> ${P}.gh.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 
~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos"
+
+RDEPEND="
+   app-misc/ca-certificates
+   dev-python/pyparsing[${PYTHON_USEDEP}]"
+BDEPEND="
+   test? (
+   dev-libs/openssl
+   dev-python/pytest-timeout[${PYTHON_USEDEP}]
+   )"
+
+distutils_enable_tests pytest
+
+PATCHES=( "${FILESDIR}"/${PN}-0.12.1-use-system-cacerts.patch )
+
+src_prepare() {
+   sed -i -e '/--cov/d' setup.cfg || die
+   distutils-r1_src_prepare
+}
+
+src_test() {
+   # the bundled certificates use weak MDs
+   pushd tests/tls >/dev/null || die
+   ../../script/generate-tls || die
+   popd >/dev/null || die
+
+   # recerting increases serial numbers
+   sed -e 's:E2AA6A96D1BF1AEC:E2AA6A96D1BF1AEF:' \
+   -e 's:E2AA6A96D1BF1AED:E2AA6A96D1BF1AF0:' \
+   -i tests/test_https.py || die
+
+   distutils-r1_src_test
+}
+
+python_test() {
+   local EPYTEST_DESELECT=(
+   # broken by using system certificates
+   tests/test_cacerts_from_env.py::test_certs_file_from_builtin
+   tests/test_cacerts_from_env.py::test_certs_file_from_environment
+   
tests/test_cacerts_from_env.py::test_with_certifi_removed_from_modules
+
+   # broken by new PySocks, probably
+   
tests/test_proxy.py::test_server_not_found_error_is_raised_for_invalid_hostname
+   tests/test_proxy.py::test_socks5_auth
+
+   # broken by recerting (TODO)
+   tests/test_https.py::test_min_tls_version
+   tests/test_https.py::test_max_tls_version
+   )
+
+   # tests in python* are replaced by tests/
+   # upstream fails at cleaning up stuff
+   epytest tests
+}



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

2021-10-27 Thread Michał Górny
commit: 3bfdaffcef519ca84186b8f79eca360fac45f9bc
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Oct 27 16:25:42 2021 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Oct 27 17:01:50 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3bfdaffc

dev-python/httplib2: Pin to pyparsing < 3

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

 .../httplib2/{httplib2-0.19.1.ebuild => httplib2-0.19.1-r1.ebuild}  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/httplib2/httplib2-0.19.1.ebuild 
b/dev-python/httplib2/httplib2-0.19.1-r1.ebuild
similarity index 96%
rename from dev-python/httplib2/httplib2-0.19.1.ebuild
rename to dev-python/httplib2/httplib2-0.19.1-r1.ebuild
index 04e2897eb13..1955242072b 100644
--- a/dev-python/httplib2/httplib2-0.19.1.ebuild
+++ b/dev-python/httplib2/httplib2-0.19.1-r1.ebuild
@@ -17,7 +17,7 @@ KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ppc ppc64 ~riscv 
~s390 sparc x86 ~am
 
 RDEPEND="
app-misc/ca-certificates
-   dev-python/pyparsing[${PYTHON_USEDEP}]"
+   

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

2021-07-01 Thread Conrad Kostecki
commit: f9823308202a26bb1603ee015993018ee0c55e01
Author: Conrad Kostecki  gentoo  org>
AuthorDate: Thu Jul  1 21:06:00 2021 +
Commit: Conrad Kostecki  gentoo  org>
CommitDate: Thu Jul  1 21:15:43 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f9823308

dev-python/httplib2: add python3.10 support

Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Conrad Kostecki  gentoo.org>

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

diff --git a/dev-python/httplib2/httplib2-0.19.1.ebuild 
b/dev-python/httplib2/httplib2-0.19.1.ebuild
index 443501903b1..04e2897eb13 100644
--- a/dev-python/httplib2/httplib2-0.19.1.ebuild
+++ b/dev-python/httplib2/httplib2-0.19.1.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_{7..9} pypy3 )
+PYTHON_COMPAT=( python3_{8..10} pypy3 )
 
 inherit distutils-r1
 



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

2021-05-30 Thread Marek Szuba
commit: 0220b7aebaf03b21df01a1f7128aceb01fb81fc2
Author: Marek Szuba  gentoo  org>
AuthorDate: Sun May 30 21:45:29 2021 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Sun May 30 23:18:52 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0220b7ae

dev-python/httplib2: keyword for riscv

Builds and installs fine, and with the bpo-43882 fix applied (see
Bug #788643) all tests pass.

Checked on a BeagleV Starlight.

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

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

diff --git a/dev-python/httplib2/httplib2-0.19.1.ebuild 
b/dev-python/httplib2/httplib2-0.19.1.ebuild
index 43b6d5c371b..443501903b1 100644
--- a/dev-python/httplib2/httplib2-0.19.1.ebuild
+++ b/dev-python/httplib2/httplib2-0.19.1.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ppc ppc64 ~s390 sparc x86 
~amd64-linux ~x86-linux ~x64-macos"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ppc ppc64 ~riscv ~s390 sparc x86 
~amd64-linux ~x86-linux ~x64-macos"
 
 RDEPEND="
app-misc/ca-certificates



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

2021-05-06 Thread Michał Górny
commit: b07152e18d95d9c06725c04634c1ee1f0084c2ce
Author: Michał Górny  gentoo  org>
AuthorDate: Thu May  6 23:00:29 2021 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu May  6 23:00:29 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b07152e1

dev-python/httplib2: Remove old

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

 dev-python/httplib2/Manifest  |  1 -
 dev-python/httplib2/httplib2-0.19.0-r1.ebuild | 52 ---
 2 files changed, 53 deletions(-)

diff --git a/dev-python/httplib2/Manifest b/dev-python/httplib2/Manifest
index 07236ee57f0..2cee1e7e3ce 100644
--- a/dev-python/httplib2/Manifest
+++ b/dev-python/httplib2/Manifest
@@ -1,2 +1 @@
-DIST httplib2-0.19.0.tar.gz 263522 BLAKE2B 
b35c8dcf86de17a5d8eac86a9a6b4110fb247925662e24a7645a67dfd0b2e640dc29875b41673c5a91a083f17e9619fd40dd08cf2c9ee7f48c8069bc14a50966
 SHA512 
9193a0e8e9a58a3f0e9b27fdf827932482a47b88af297af6e5f004164ca0b72feeff513b8191bf7c48d6714070a1390ae54eb8a2c6840f54f2580889c7837c7f
 DIST httplib2-0.19.1.tar.gz 263971 BLAKE2B 
ec254249f5c8df2a0dc3fe4e2e9088f6ca14ba84516be77450beacab41cd295d4e741ac6026471fcf8bb8464ebd732a0a856901e5c09324a0f96ad2338b397e7
 SHA512 
0c87b3c9923e81c83df5257ce60f7248d86a64aea0a02d5a3f34be68c692c6abd896f95214899dc6e81b23677efc7684a3cba4c1a47261176dd26c3988054e55

diff --git a/dev-python/httplib2/httplib2-0.19.0-r1.ebuild 
b/dev-python/httplib2/httplib2-0.19.0-r1.ebuild
deleted file mode 100644
index 24d843a2440..000
--- a/dev-python/httplib2/httplib2-0.19.0-r1.ebuild
+++ /dev/null
@@ -1,52 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{7..9} pypy3 )
-
-inherit distutils-r1
-
-DESCRIPTION="A comprehensive HTTP client library"
-HOMEPAGE="https://pypi.org/project/httplib2/;
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ppc ppc64 ~s390 sparc x86 
~amd64-linux ~x86-linux ~x64-macos"
-
-RDEPEND="
-   app-misc/ca-certificates
-   dev-python/pyparsing[${PYTHON_USEDEP}]"
-BDEPEND="
-   test? (
-   dev-python/mock[${PYTHON_USEDEP}]
-   dev-python/pytest-timeout[${PYTHON_USEDEP}]
-   )"
-
-distutils_enable_tests pytest
-
-PATCHES=( "${FILESDIR}"/${PN}-0.12.1-use-system-cacerts.patch )
-
-src_prepare() {
-   sed -i -e '/--cov/d' setup.cfg || die
-   distutils-r1_src_prepare
-}
-
-python_test() {
-   local deselect=(
-   # broken by using system certificates
-   tests/test_cacerts_from_env.py::test_certs_file_from_builtin
-   tests/test_cacerts_from_env.py::test_certs_file_from_environment
-   
tests/test_cacerts_from_env.py::test_with_certifi_removed_from_modules
-
-   # broken by new PySocks, probably
-   
tests/test_proxy.py::test_server_not_found_error_is_raised_for_invalid_hostname
-   tests/test_proxy.py::test_socks5_auth
-   )
-
-   # tests in python* are replaced by tests/
-   # upstream fails at cleaning up stuff
-   pytest -vv ${deselect[@]/#/--deselect } tests ||
-   die "Tests fail with ${EPYTHON}"
-}



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

2021-05-06 Thread Sam James
commit: 52b345165e7f0105a9b3f646b2764235bd50f888
Author: Sam James  gentoo  org>
AuthorDate: Thu May  6 22:21:48 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Thu May  6 22:21:48 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=52b34516

dev-python/httplib2: Stabilize 0.19.1 ALLARCHES, #788499

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

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

diff --git a/dev-python/httplib2/httplib2-0.19.1.ebuild 
b/dev-python/httplib2/httplib2-0.19.1.ebuild
index 39da0f2066a..43b6d5c371b 100644
--- a/dev-python/httplib2/httplib2-0.19.1.ebuild
+++ b/dev-python/httplib2/httplib2-0.19.1.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86 
~amd64-linux ~x86-linux ~x64-macos"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ppc ppc64 ~s390 sparc x86 
~amd64-linux ~x86-linux ~x64-macos"
 
 RDEPEND="
app-misc/ca-certificates



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

2021-03-31 Thread Michał Górny
commit: 2be413922624d6b622539a37b9bb430742162761
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Mar 31 08:02:17 2021 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Mar 31 10:14:32 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2be41392

dev-python/httplib2: Bump to 0.19.1

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

 dev-python/httplib2/Manifest   |  1 +
 dev-python/httplib2/httplib2-0.19.1.ebuild | 50 ++
 2 files changed, 51 insertions(+)

diff --git a/dev-python/httplib2/Manifest b/dev-python/httplib2/Manifest
index aadcd1f8b58..07236ee57f0 100644
--- a/dev-python/httplib2/Manifest
+++ b/dev-python/httplib2/Manifest
@@ -1 +1,2 @@
 DIST httplib2-0.19.0.tar.gz 263522 BLAKE2B 
b35c8dcf86de17a5d8eac86a9a6b4110fb247925662e24a7645a67dfd0b2e640dc29875b41673c5a91a083f17e9619fd40dd08cf2c9ee7f48c8069bc14a50966
 SHA512 
9193a0e8e9a58a3f0e9b27fdf827932482a47b88af297af6e5f004164ca0b72feeff513b8191bf7c48d6714070a1390ae54eb8a2c6840f54f2580889c7837c7f
+DIST httplib2-0.19.1.tar.gz 263971 BLAKE2B 
ec254249f5c8df2a0dc3fe4e2e9088f6ca14ba84516be77450beacab41cd295d4e741ac6026471fcf8bb8464ebd732a0a856901e5c09324a0f96ad2338b397e7
 SHA512 
0c87b3c9923e81c83df5257ce60f7248d86a64aea0a02d5a3f34be68c692c6abd896f95214899dc6e81b23677efc7684a3cba4c1a47261176dd26c3988054e55

diff --git a/dev-python/httplib2/httplib2-0.19.1.ebuild 
b/dev-python/httplib2/httplib2-0.19.1.ebuild
new file mode 100644
index 000..39da0f2066a
--- /dev/null
+++ b/dev-python/httplib2/httplib2-0.19.1.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{7..9} pypy3 )
+
+inherit distutils-r1
+
+DESCRIPTION="A comprehensive HTTP client library"
+HOMEPAGE="https://pypi.org/project/httplib2/;
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86 
~amd64-linux ~x86-linux ~x64-macos"
+
+RDEPEND="
+   app-misc/ca-certificates
+   dev-python/pyparsing[${PYTHON_USEDEP}]"
+BDEPEND="
+   test? (
+   dev-python/pytest-timeout[${PYTHON_USEDEP}]
+   )"
+
+distutils_enable_tests pytest
+
+PATCHES=( "${FILESDIR}"/${PN}-0.12.1-use-system-cacerts.patch )
+
+src_prepare() {
+   sed -i -e '/--cov/d' setup.cfg || die
+   distutils-r1_src_prepare
+}
+
+python_test() {
+   local deselect=(
+   # broken by using system certificates
+   tests/test_cacerts_from_env.py::test_certs_file_from_builtin
+   tests/test_cacerts_from_env.py::test_certs_file_from_environment
+   
tests/test_cacerts_from_env.py::test_with_certifi_removed_from_modules
+
+   # broken by new PySocks, probably
+   
tests/test_proxy.py::test_server_not_found_error_is_raised_for_invalid_hostname
+   tests/test_proxy.py::test_socks5_auth
+   )
+
+   # tests in python* are replaced by tests/
+   # upstream fails at cleaning up stuff
+   epytest ${deselect[@]/#/--deselect } tests
+}



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

2021-02-19 Thread Michał Górny
commit: 6243d0b314e400728f71d4af8f192a262930a700
Author: Michał Górny  gentoo  org>
AuthorDate: Fri Feb 19 10:56:45 2021 +
Commit: Michał Górny  gentoo  org>
CommitDate: Fri Feb 19 10:56:45 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6243d0b3

dev-python/httplib2: Add missing pyparsing dep

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

 .../httplib2/{httplib2-0.19.0.ebuild => httplib2-0.19.0-r1.ebuild}| 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/dev-python/httplib2/httplib2-0.19.0.ebuild 
b/dev-python/httplib2/httplib2-0.19.0-r1.ebuild
similarity index 94%
rename from dev-python/httplib2/httplib2-0.19.0.ebuild
rename to dev-python/httplib2/httplib2-0.19.0-r1.ebuild
index 38f41cc3a92..24d843a2440 100644
--- a/dev-python/httplib2/httplib2-0.19.0.ebuild
+++ b/dev-python/httplib2/httplib2-0.19.0-r1.ebuild
@@ -15,7 +15,9 @@ LICENSE="MIT"
 SLOT="0"
 KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ppc ppc64 ~s390 sparc x86 
~amd64-linux ~x86-linux ~x64-macos"
 
-RDEPEND="app-misc/ca-certificates"
+RDEPEND="
+   app-misc/ca-certificates
+   dev-python/pyparsing[${PYTHON_USEDEP}]"
 BDEPEND="
test? (
dev-python/mock[${PYTHON_USEDEP}]



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

2021-02-10 Thread Michał Górny
commit: ab3f7a6826c9163829367015573938e8eb78be66
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Feb 10 08:26:59 2021 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Feb 10 08:26:59 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ab3f7a68

dev-python/httplib2: Remove old

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

 dev-python/httplib2/Manifest  |  1 -
 dev-python/httplib2/httplib2-0.18.1-r1.ebuild | 49 ---
 2 files changed, 50 deletions(-)

diff --git a/dev-python/httplib2/Manifest b/dev-python/httplib2/Manifest
index 64c843876d8..aadcd1f8b58 100644
--- a/dev-python/httplib2/Manifest
+++ b/dev-python/httplib2/Manifest
@@ -1,2 +1 @@
-DIST httplib2-0.18.1.tar.gz 262930 BLAKE2B 
d8130dfbbee71dae1319a8a65fb2ae96d667bba08cfc586c0a9239d6bf6cb475fbd4548d6b5276b8001a02417eebff4a7565024d43c630b8ed51e467cdd3de71
 SHA512 
a1bb527279bdc92fb75bffebc317ff549bb6efb678580cbe40d187921b7ace66b1a5bc1d98bdf065ec5667fe69632da086b0eb201ff911497324fd817bfe1b7a
 DIST httplib2-0.19.0.tar.gz 263522 BLAKE2B 
b35c8dcf86de17a5d8eac86a9a6b4110fb247925662e24a7645a67dfd0b2e640dc29875b41673c5a91a083f17e9619fd40dd08cf2c9ee7f48c8069bc14a50966
 SHA512 
9193a0e8e9a58a3f0e9b27fdf827932482a47b88af297af6e5f004164ca0b72feeff513b8191bf7c48d6714070a1390ae54eb8a2c6840f54f2580889c7837c7f

diff --git a/dev-python/httplib2/httplib2-0.18.1-r1.ebuild 
b/dev-python/httplib2/httplib2-0.18.1-r1.ebuild
deleted file mode 100644
index 9a1167aa81e..000
--- a/dev-python/httplib2/httplib2-0.18.1-r1.ebuild
+++ /dev/null
@@ -1,49 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{7..9} pypy3 )
-
-inherit distutils-r1
-
-DESCRIPTION="A comprehensive HTTP client library"
-HOMEPAGE="https://pypi.org/project/httplib2/;
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ppc ppc64 ~s390 sparc x86 
~amd64-linux ~x86-linux ~x64-macos"
-
-RDEPEND="app-misc/ca-certificates"
-BDEPEND="
-   test? (
-   dev-python/mock[${PYTHON_USEDEP}]
-   dev-python/pytest-timeout[${PYTHON_USEDEP}]
-   )"
-
-distutils_enable_tests pytest
-
-PATCHES=( "${FILESDIR}"/${PN}-0.12.1-use-system-cacerts.patch )
-
-src_prepare() {
-   sed -i -e '/--cov/d' setup.cfg || die
-
-   # broken by using system certificates
-   sed -e 's:test_certs_file_from_builtin:_&:' \
-   -e 's:test_certs_file_from_environment:_&:' \
-   -e 's:test_with_certifi_removed_from_modules:_&:' \
-   -i tests/test_cacerts_from_env.py || die
-   # broken by new PySocks, probably
-   sed -e 
's:test_server_not_found_error_is_raised_for_invalid_hostname:_&:' \
-   -e 's:test_socks5_auth:_&:' \
-   -i tests/test_proxy.py || die
-
-   distutils-r1_src_prepare
-}
-
-python_test() {
-   # tests in python* are replaced by tests/
-   # upstream fails at cleaning up stuff
-   pytest -vv tests || die "Tests fail with ${EPYTHON}"
-}



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

2021-02-09 Thread Michał Górny
commit: 540f5749900c868d614f9644d5843e599e25d7a7
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Feb  9 23:36:17 2021 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Feb  9 23:38:42 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=540f5749

dev-python/httplib2: Un-skip pypy3 failure after backporting a patch

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

 dev-python/httplib2/httplib2-0.19.0.ebuild | 6 --
 1 file changed, 6 deletions(-)

diff --git a/dev-python/httplib2/httplib2-0.19.0.ebuild 
b/dev-python/httplib2/httplib2-0.19.0.ebuild
index 7af8e1dee72..38f41cc3a92 100644
--- a/dev-python/httplib2/httplib2-0.19.0.ebuild
+++ b/dev-python/httplib2/httplib2-0.19.0.ebuild
@@ -43,12 +43,6 @@ python_test() {
tests/test_proxy.py::test_socks5_auth
)
 
-   [[ ${EPYTHON} == pypy3 ]] && deselect+=(
-   # known pypy3.7 bug
-   # https://foss.heptapod.net/pypy/pypy/-/issues/3396
-   tests/test_https.py::test_sni_set_servername_callback
-   )
-
# tests in python* are replaced by tests/
# upstream fails at cleaning up stuff
pytest -vv ${deselect[@]/#/--deselect } tests ||



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

2021-02-09 Thread Sam James
commit: 1a94dbddcc256cf9a919d94a9083d3f81f9c22d1
Author: Sam James  gentoo  org>
AuthorDate: Tue Feb  9 21:31:30 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Feb  9 21:31:30 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1a94dbdd

dev-python/httplib2: Stabilize 0.19.0 ALLARCHES, #769653

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

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

diff --git a/dev-python/httplib2/httplib2-0.19.0.ebuild 
b/dev-python/httplib2/httplib2-0.19.0.ebuild
index dfc3b496767..7af8e1dee72 100644
--- a/dev-python/httplib2/httplib2-0.19.0.ebuild
+++ b/dev-python/httplib2/httplib2-0.19.0.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86 
~amd64-linux ~x86-linux ~x64-macos"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ppc ppc64 ~s390 sparc x86 
~amd64-linux ~x86-linux ~x64-macos"
 
 RDEPEND="app-misc/ca-certificates"
 BDEPEND="



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

2021-02-09 Thread Michał Górny
commit: 01fa5e8e750b5d0baa16ff7f7bd27fcffc247713
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Feb  9 09:13:19 2021 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Feb  9 09:20:15 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=01fa5e8e

dev-python/httplib2: Bump to 0.19.0

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

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

diff --git a/dev-python/httplib2/Manifest b/dev-python/httplib2/Manifest
index c4f54fc1445..64c843876d8 100644
--- a/dev-python/httplib2/Manifest
+++ b/dev-python/httplib2/Manifest
@@ -1 +1,2 @@
 DIST httplib2-0.18.1.tar.gz 262930 BLAKE2B 
d8130dfbbee71dae1319a8a65fb2ae96d667bba08cfc586c0a9239d6bf6cb475fbd4548d6b5276b8001a02417eebff4a7565024d43c630b8ed51e467cdd3de71
 SHA512 
a1bb527279bdc92fb75bffebc317ff549bb6efb678580cbe40d187921b7ace66b1a5bc1d98bdf065ec5667fe69632da086b0eb201ff911497324fd817bfe1b7a
+DIST httplib2-0.19.0.tar.gz 263522 BLAKE2B 
b35c8dcf86de17a5d8eac86a9a6b4110fb247925662e24a7645a67dfd0b2e640dc29875b41673c5a91a083f17e9619fd40dd08cf2c9ee7f48c8069bc14a50966
 SHA512 
9193a0e8e9a58a3f0e9b27fdf827932482a47b88af297af6e5f004164ca0b72feeff513b8191bf7c48d6714070a1390ae54eb8a2c6840f54f2580889c7837c7f

diff --git a/dev-python/httplib2/httplib2-0.19.0.ebuild 
b/dev-python/httplib2/httplib2-0.19.0.ebuild
new file mode 100644
index 000..dfc3b496767
--- /dev/null
+++ b/dev-python/httplib2/httplib2-0.19.0.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{7..9} pypy3 )
+
+inherit distutils-r1
+
+DESCRIPTION="A comprehensive HTTP client library"
+HOMEPAGE="https://pypi.org/project/httplib2/;
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86 
~amd64-linux ~x86-linux ~x64-macos"
+
+RDEPEND="app-misc/ca-certificates"
+BDEPEND="
+   test? (
+   dev-python/mock[${PYTHON_USEDEP}]
+   dev-python/pytest-timeout[${PYTHON_USEDEP}]
+   )"
+
+distutils_enable_tests pytest
+
+PATCHES=( "${FILESDIR}"/${PN}-0.12.1-use-system-cacerts.patch )
+
+src_prepare() {
+   sed -i -e '/--cov/d' setup.cfg || die
+   distutils-r1_src_prepare
+}
+
+python_test() {
+   local deselect=(
+   # broken by using system certificates
+   tests/test_cacerts_from_env.py::test_certs_file_from_builtin
+   tests/test_cacerts_from_env.py::test_certs_file_from_environment
+   
tests/test_cacerts_from_env.py::test_with_certifi_removed_from_modules
+
+   # broken by new PySocks, probably
+   
tests/test_proxy.py::test_server_not_found_error_is_raised_for_invalid_hostname
+   tests/test_proxy.py::test_socks5_auth
+   )
+
+   [[ ${EPYTHON} == pypy3 ]] && deselect+=(
+   # known pypy3.7 bug
+   # https://foss.heptapod.net/pypy/pypy/-/issues/3396
+   tests/test_https.py::test_sni_set_servername_callback
+   )
+
+   # tests in python* are replaced by tests/
+   # upstream fails at cleaning up stuff
+   pytest -vv ${deselect[@]/#/--deselect } tests ||
+   die "Tests fail with ${EPYTHON}"
+}



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

2021-01-21 Thread Sam James
commit: 13ce88a16f88582b95853e4f5dccba8c8cf1e784
Author: Sam James  gentoo  org>
AuthorDate: Fri Jan 22 01:35:31 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Jan 22 01:41:40 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=13ce88a1

dev-python/httplib2: drop old remote-ids

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

 dev-python/httplib2/metadata.xml | 2 --
 1 file changed, 2 deletions(-)

diff --git a/dev-python/httplib2/metadata.xml b/dev-python/httplib2/metadata.xml
index 48b06c39e9b..9deda392d62 100644
--- a/dev-python/httplib2/metadata.xml
+++ b/dev-python/httplib2/metadata.xml
@@ -7,9 +7,7 @@
   
   
   
-httplib2
 httplib2
 httplib2/httplib2
-jcgregorio/httplib2
   
 



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

2021-01-21 Thread Sam James
commit: b5d5476a0ef9055bcfc25844433b3098e8d0c6db
Author: Sam James  gentoo  org>
AuthorDate: Fri Jan 22 01:36:04 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Jan 22 01:41:41 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b5d5476a

dev-python/httplib2: cleanup HOMEPAGE

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

 dev-python/httplib2/httplib2-0.18.1-r1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-python/httplib2/httplib2-0.18.1-r1.ebuild 
b/dev-python/httplib2/httplib2-0.18.1-r1.ebuild
index 06b35e14ad0..a18fa034a4b 100644
--- a/dev-python/httplib2/httplib2-0.18.1-r1.ebuild
+++ b/dev-python/httplib2/httplib2-0.18.1-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -8,7 +8,7 @@ PYTHON_COMPAT=( python3_{6..9} pypy3 )
 inherit distutils-r1
 
 DESCRIPTION="A comprehensive HTTP client library"
-HOMEPAGE="https://pypi.org/project/httplib2/ 
https://github.com/jcgregorio/httplib2;
+HOMEPAGE="https://pypi.org/project/httplib2/;
 SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"



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

2021-01-21 Thread Sam James
commit: 9c7e7e29817b54fb64591ca3dc6ec483c487a917
Author: Sam James  gentoo  org>
AuthorDate: Fri Jan 22 01:35:07 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Jan 22 01:41:40 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9c7e7e29

dev-python/httplib2: add new github remote-id

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

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

diff --git a/dev-python/httplib2/metadata.xml b/dev-python/httplib2/metadata.xml
index 0dbf79fc1c5..48b06c39e9b 100644
--- a/dev-python/httplib2/metadata.xml
+++ b/dev-python/httplib2/metadata.xml
@@ -9,6 +9,7 @@
   
 httplib2
 httplib2
+httplib2/httplib2
 jcgregorio/httplib2
   
 



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

2020-09-20 Thread Michał Górny
commit: 4e9df43c4ed2d8db14b514f7d6a8ba7352ac87ea
Author: Michał Górny  gentoo  org>
AuthorDate: Sun Sep 20 08:49:52 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Sep 20 09:36:12 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4e9df43c

dev-python/httplib2: Remove python2

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

 .../httplib2/{httplib2-0.18.1.ebuild => httplib2-0.18.1-r1.ebuild}  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/httplib2/httplib2-0.18.1.ebuild 
b/dev-python/httplib2/httplib2-0.18.1-r1.ebuild
similarity index 96%
rename from dev-python/httplib2/httplib2-0.18.1.ebuild
rename to dev-python/httplib2/httplib2-0.18.1-r1.ebuild
index d878ed1a9a7..06b35e14ad0 100644
--- a/dev-python/httplib2/httplib2-0.18.1.ebuild
+++ b/dev-python/httplib2/httplib2-0.18.1-r1.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python2_7 python3_{6..9} pypy3 )
+PYTHON_COMPAT=( python3_{6..9} pypy3 )
 
 inherit distutils-r1
 



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

2020-09-04 Thread Sergei Trofimovich
commit: d35b0df72e46022dc66080b8da0d736fc136e1f8
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Fri Sep  4 08:51:44 2020 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Fri Sep  4 08:57:16 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d35b0df7

dev-python/httplib2: stable 0.18.1 for hppa

Package-Manager: Portage-3.0.5, Repoman-3.0.1
Signed-off-by: Sergei Trofimovich  gentoo.org>

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

diff --git a/dev-python/httplib2/httplib2-0.18.1.ebuild 
b/dev-python/httplib2/httplib2-0.18.1.ebuild
index 7b48fb23c40..d878ed1a9a7 100644
--- a/dev-python/httplib2/httplib2-0.18.1.ebuild
+++ b/dev-python/httplib2/httplib2-0.18.1.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~s390 sparc x86 
~amd64-linux ~x86-linux ~x64-macos"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ppc ppc64 ~s390 sparc x86 
~amd64-linux ~x86-linux ~x64-macos"
 
 RDEPEND="app-misc/ca-certificates"
 BDEPEND="



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

2020-07-15 Thread Sam James
commit: 9387315e799ffab8f7b6cc3e4575b273b2c1ba76
Author: Sam James  gentoo  org>
AuthorDate: Thu Jul 16 04:16:22 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Jul 16 04:16:22 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9387315e

dev-python/httplib2: arm64 stable (bug #732492)

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

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

diff --git a/dev-python/httplib2/httplib2-0.18.1.ebuild 
b/dev-python/httplib2/httplib2-0.18.1.ebuild
index 6e298a0e0b2..7b48fb23c40 100644
--- a/dev-python/httplib2/httplib2-0.18.1.ebuild
+++ b/dev-python/httplib2/httplib2-0.18.1.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ppc ppc64 ~s390 sparc x86 
~amd64-linux ~x86-linux ~x64-macos"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~s390 sparc x86 
~amd64-linux ~x86-linux ~x64-macos"
 
 RDEPEND="app-misc/ca-certificates"
 BDEPEND="



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

2020-06-17 Thread Aaron Bauman
commit: af6175d48cf0285c06e7f4536e9a0b0369910d00
Author: Aaron Bauman  gentoo  org>
AuthorDate: Thu Jun 18 03:15:17 2020 +
Commit: Aaron Bauman  gentoo  org>
CommitDate: Thu Jun 18 03:15:17 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=af6175d4

dev-python/httplib2: drop vulnerable

Bug: https://bugs.gentoo.org/724362
Signed-off-by: Aaron Bauman  gentoo.org>

 dev-python/httplib2/Manifest   |  2 --
 dev-python/httplib2/httplib2-0.13.0.ebuild | 40 --
 dev-python/httplib2/httplib2-0.17.0.ebuild | 40 --
 3 files changed, 82 deletions(-)

diff --git a/dev-python/httplib2/Manifest b/dev-python/httplib2/Manifest
index 6fba9dc0853..c4f54fc1445 100644
--- a/dev-python/httplib2/Manifest
+++ b/dev-python/httplib2/Manifest
@@ -1,3 +1 @@
-DIST httplib2-0.13.0.tar.gz 219494 BLAKE2B 
5bb46582b9962266c9b431be7d323720f780075d6c60527e29c45415a001fc671b4bac95912f023e198250013a3b5a2442c02fa3284abba19bb3828bbc96ddb6
 SHA512 
b447531f18eb7d288cce9b1ab4b59c4302bd8db8eb095a102f9d730cb49644a1dc531ca007bb9c9a7321c9876ec0ce953317561fc94a51b02bcb749d2de1fa83
-DIST httplib2-0.17.0.tar.gz 220694 BLAKE2B 
9e9a3c0e3fa13dfc2b58331ba1b52f77ebb8642126994125595c344e19c2e0a430ca556a213938f5f9da1aea69f1cc30e1c89ccf2c64c2389641973f89aa8f4e
 SHA512 
8724e5784990e7315762e5f8333197d6f6820aa6cc66aebbeb981ccedb57e35fa998e623d7e0cd8fcb18178895bc73b16bdf015c90d2adf208d6d5320f3551bb
 DIST httplib2-0.18.1.tar.gz 262930 BLAKE2B 
d8130dfbbee71dae1319a8a65fb2ae96d667bba08cfc586c0a9239d6bf6cb475fbd4548d6b5276b8001a02417eebff4a7565024d43c630b8ed51e467cdd3de71
 SHA512 
a1bb527279bdc92fb75bffebc317ff549bb6efb678580cbe40d187921b7ace66b1a5bc1d98bdf065ec5667fe69632da086b0eb201ff911497324fd817bfe1b7a

diff --git a/dev-python/httplib2/httplib2-0.13.0.ebuild 
b/dev-python/httplib2/httplib2-0.13.0.ebuild
deleted file mode 100644
index dde741a044d..000
--- a/dev-python/httplib2/httplib2-0.13.0.ebuild
+++ /dev/null
@@ -1,40 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python2_7 python3_{6,7,8} pypy3 )
-
-inherit distutils-r1
-
-DESCRIPTION="A comprehensive HTTP client library"
-HOMEPAGE="https://pypi.org/project/httplib2/ 
https://github.com/jcgregorio/httplib2;
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm ~arm64 ~ia64 ppc ppc64 sparc x86 ~amd64-linux 
~x86-linux ~x64-macos"
-IUSE=""
-
-DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
-RDEPEND="app-misc/ca-certificates"
-
-# tests connect to random remote sites
-RESTRICT="test"
-
-PATCHES=( "${FILESDIR}"/${PN}-0.12.1-use-system-cacerts.patch )
-
-python_prepare_all() {
-   chmod o+r */*egg*/* || die
-   distutils-r1_python_prepare_all
-}
-
-python_test() {
-   if [[ ${EPYTHON} =~ ^(python2.7|pypy)$ ]] ; then
-   cd python2 || die
-   else
-   cd python3 || die
-   fi
-
-   "${PYTHON}" httplib2test.py || die
-}

diff --git a/dev-python/httplib2/httplib2-0.17.0.ebuild 
b/dev-python/httplib2/httplib2-0.17.0.ebuild
deleted file mode 100644
index d11a844dc7d..000
--- a/dev-python/httplib2/httplib2-0.17.0.ebuild
+++ /dev/null
@@ -1,40 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python2_7 python3_{6,7,8} pypy3 )
-
-inherit distutils-r1
-
-DESCRIPTION="A comprehensive HTTP client library"
-HOMEPAGE="https://pypi.org/project/httplib2/ 
https://github.com/jcgregorio/httplib2;
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86 
~amd64-linux ~x86-linux ~x64-macos"
-IUSE=""
-
-DEPEND=""
-RDEPEND="app-misc/ca-certificates"
-
-# tests connect to random remote sites
-RESTRICT="test"
-
-PATCHES=( "${FILESDIR}"/${PN}-0.12.1-use-system-cacerts.patch )
-
-python_prepare_all() {
-   chmod o+r */*egg*/* || die
-   distutils-r1_python_prepare_all
-}
-
-python_test() {
-   if [[ ${EPYTHON} =~ ^(python2.7|pypy)$ ]] ; then
-   cd python2 || die
-   else
-   cd python3 || die
-   fi
-
-   "${PYTHON}" httplib2test.py || die
-}



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

2020-06-12 Thread Agostino Sarubbo
commit: c5cfa073673c3dbbcbc7e3e5133ab3c446019f20
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Fri Jun 12 07:55:00 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Fri Jun 12 07:55:00 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c5cfa073

dev-python/httplib2: x86 stable wrt bug #724362

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

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

diff --git a/dev-python/httplib2/httplib2-0.18.1.ebuild 
b/dev-python/httplib2/httplib2-0.18.1.ebuild
index 1c319e03bac..6e298a0e0b2 100644
--- a/dev-python/httplib2/httplib2-0.18.1.ebuild
+++ b/dev-python/httplib2/httplib2-0.18.1.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ppc ppc64 ~s390 sparc ~x86 
~amd64-linux ~x86-linux ~x64-macos"
+KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ppc ppc64 ~s390 sparc x86 
~amd64-linux ~x86-linux ~x64-macos"
 
 RDEPEND="app-misc/ca-certificates"
 BDEPEND="



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

2020-06-12 Thread Agostino Sarubbo
commit: 04c024a77c987c69b27fd4103425a4589cad34f1
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Fri Jun 12 07:54:11 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Fri Jun 12 07:54:11 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=04c024a7

dev-python/httplib2: ppc64 stable wrt bug #724362

Package-Manager: Portage-2.3.99, Repoman-2.3.22
RepoMan-Options: --include-arches="ppc64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

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

diff --git a/dev-python/httplib2/httplib2-0.18.1.ebuild 
b/dev-python/httplib2/httplib2-0.18.1.ebuild
index 165f819daf7..1c319e03bac 100644
--- a/dev-python/httplib2/httplib2-0.18.1.ebuild
+++ b/dev-python/httplib2/httplib2-0.18.1.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ppc ~ppc64 ~s390 sparc ~x86 
~amd64-linux ~x86-linux ~x64-macos"
+KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ppc ppc64 ~s390 sparc ~x86 
~amd64-linux ~x86-linux ~x64-macos"
 
 RDEPEND="app-misc/ca-certificates"
 BDEPEND="



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

2020-06-12 Thread Agostino Sarubbo
commit: f25d0d5b6b46c20c3c4cd4bf3380b900915754f3
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Fri Jun 12 07:53:21 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Fri Jun 12 07:53:21 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f25d0d5b

dev-python/httplib2: ppc stable wrt bug #724362

Package-Manager: Portage-2.3.99, Repoman-2.3.22
RepoMan-Options: --include-arches="ppc"
Signed-off-by: Agostino Sarubbo  gentoo.org>

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

diff --git a/dev-python/httplib2/httplib2-0.18.1.ebuild 
b/dev-python/httplib2/httplib2-0.18.1.ebuild
index 0fe95703486..165f819daf7 100644
--- a/dev-python/httplib2/httplib2-0.18.1.ebuild
+++ b/dev-python/httplib2/httplib2-0.18.1.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 sparc ~x86 
~amd64-linux ~x86-linux ~x64-macos"
+KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ppc ~ppc64 ~s390 sparc ~x86 
~amd64-linux ~x86-linux ~x64-macos"
 
 RDEPEND="app-misc/ca-certificates"
 BDEPEND="



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

2020-06-12 Thread Agostino Sarubbo
commit: 50cc0b2d018176180f43e86dc3a45c97f5c0f61e
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Fri Jun 12 07:52:25 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Fri Jun 12 07:52:25 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=50cc0b2d

dev-python/httplib2: arm stable wrt bug #724362

Package-Manager: Portage-2.3.99, Repoman-2.3.22
RepoMan-Options: --include-arches="arm"
Signed-off-by: Agostino Sarubbo  gentoo.org>

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

diff --git a/dev-python/httplib2/httplib2-0.18.1.ebuild 
b/dev-python/httplib2/httplib2-0.18.1.ebuild
index e49310e9b40..0fe95703486 100644
--- a/dev-python/httplib2/httplib2-0.18.1.ebuild
+++ b/dev-python/httplib2/httplib2-0.18.1.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 sparc ~x86 
~amd64-linux ~x86-linux ~x64-macos"
+KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 sparc ~x86 
~amd64-linux ~x86-linux ~x64-macos"
 
 RDEPEND="app-misc/ca-certificates"
 BDEPEND="



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

2020-06-12 Thread Agostino Sarubbo
commit: 74dd381824ea568ec63b75d518f5c84fb524977f
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Fri Jun 12 07:49:43 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Fri Jun 12 07:49:43 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=74dd3818

dev-python/httplib2: amd64 stable wrt bug #724362

Package-Manager: Portage-2.3.99, Repoman-2.3.22
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

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

diff --git a/dev-python/httplib2/httplib2-0.18.1.ebuild 
b/dev-python/httplib2/httplib2-0.18.1.ebuild
index a19c260e91a..e49310e9b40 100644
--- a/dev-python/httplib2/httplib2-0.18.1.ebuild
+++ b/dev-python/httplib2/httplib2-0.18.1.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 sparc ~x86 
~amd64-linux ~x86-linux ~x64-macos"
+KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 sparc ~x86 
~amd64-linux ~x86-linux ~x64-macos"
 
 RDEPEND="app-misc/ca-certificates"
 BDEPEND="



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

2020-06-11 Thread Sergei Trofimovich
commit: cb504d1cd4f4ec0475df9c8cb4936964c1a28f6b
Author: Rolf Eike Beer  sf-mail  de>
AuthorDate: Thu Jun 11 13:58:59 2020 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Thu Jun 11 18:00:57 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cb504d1c

dev-python/httplib2: stable 0.18.1 for sparc, bug #724362

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

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

diff --git a/dev-python/httplib2/httplib2-0.18.1.ebuild 
b/dev-python/httplib2/httplib2-0.18.1.ebuild
index b0c37b6e2c7..a19c260e91a 100644
--- a/dev-python/httplib2/httplib2-0.18.1.ebuild
+++ b/dev-python/httplib2/httplib2-0.18.1.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86 
~amd64-linux ~x86-linux ~x64-macos"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 sparc ~x86 
~amd64-linux ~x86-linux ~x64-macos"
 
 RDEPEND="app-misc/ca-certificates"
 BDEPEND="



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

2020-06-04 Thread Sergei Trofimovich
commit: dea0d389c061447a0eb944e25f8952a039b4d014
Author: Rolf Eike Beer  sf-mail  de>
AuthorDate: Thu Jun  4 11:57:05 2020 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Thu Jun  4 14:10:36 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dea0d389

dev-python/httplib2: keyworded 0.18.1 for hppa, bug #726508

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/httplib2/httplib2-0.18.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/httplib2/httplib2-0.18.1.ebuild 
b/dev-python/httplib2/httplib2-0.18.1.ebuild
index 28cf38786a4..b0c37b6e2c7 100644
--- a/dev-python/httplib2/httplib2-0.18.1.ebuild
+++ b/dev-python/httplib2/httplib2-0.18.1.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86 
~amd64-linux ~x86-linux ~x64-macos"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86 
~amd64-linux ~x86-linux ~x64-macos"
 
 RDEPEND="app-misc/ca-certificates"
 BDEPEND="



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

2020-06-04 Thread Michał Górny
commit: 4ab6f0718186e031bc91f4f596eb3e41de075092
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Jun  4 10:32:19 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Jun  4 10:32:46 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4ab6f071

dev-python/httplib2: Add missing mock dep

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

 dev-python/httplib2/httplib2-0.18.1.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dev-python/httplib2/httplib2-0.18.1.ebuild 
b/dev-python/httplib2/httplib2-0.18.1.ebuild
index 18e47f64e16..28cf38786a4 100644
--- a/dev-python/httplib2/httplib2-0.18.1.ebuild
+++ b/dev-python/httplib2/httplib2-0.18.1.ebuild
@@ -18,6 +18,7 @@ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~s390 
~sparc ~x86 ~amd64-l
 RDEPEND="app-misc/ca-certificates"
 BDEPEND="
test? (
+   dev-python/mock[${PYTHON_USEDEP}]
dev-python/pytest-timeout[${PYTHON_USEDEP}]
)"
 



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

2020-06-03 Thread Michał Górny
commit: aa009535a428f9ae99e7363ba7a9c8fc6a415ec8
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Jun  3 20:23:15 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Jun  3 20:23:46 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aa009535

dev-python/httplib2: Add missing test deps

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

 dev-python/httplib2/httplib2-0.18.1.ebuild | 8 ++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/dev-python/httplib2/httplib2-0.18.1.ebuild 
b/dev-python/httplib2/httplib2-0.18.1.ebuild
index a88d198375f..18e47f64e16 100644
--- a/dev-python/httplib2/httplib2-0.18.1.ebuild
+++ b/dev-python/httplib2/httplib2-0.18.1.ebuild
@@ -14,10 +14,14 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 LICENSE="MIT"
 SLOT="0"
 KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86 
~amd64-linux ~x86-linux ~x64-macos"
-IUSE=""
 
-DEPEND=""
 RDEPEND="app-misc/ca-certificates"
+BDEPEND="
+   test? (
+   dev-python/pytest-timeout[${PYTHON_USEDEP}]
+   )"
+
+distutils_enable_tests pytest
 
 PATCHES=( "${FILESDIR}"/${PN}-0.12.1-use-system-cacerts.patch )
 



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

2020-05-27 Thread Michał Górny
commit: fcfedc988f76b623dfa9cf4a2e19029988d5ccd2
Author: Michał Górny  gentoo  org>
AuthorDate: Wed May 27 07:44:38 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed May 27 07:45:30 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fcfedc98

dev-python/httplib2: Bump to 0.18.1, fix tests, py39

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

 dev-python/httplib2/Manifest   |  1 +
 dev-python/httplib2/httplib2-0.18.1.ebuild | 44 ++
 2 files changed, 45 insertions(+)

diff --git a/dev-python/httplib2/Manifest b/dev-python/httplib2/Manifest
index 1ff320cbd08..6fba9dc0853 100644
--- a/dev-python/httplib2/Manifest
+++ b/dev-python/httplib2/Manifest
@@ -1,2 +1,3 @@
 DIST httplib2-0.13.0.tar.gz 219494 BLAKE2B 
5bb46582b9962266c9b431be7d323720f780075d6c60527e29c45415a001fc671b4bac95912f023e198250013a3b5a2442c02fa3284abba19bb3828bbc96ddb6
 SHA512 
b447531f18eb7d288cce9b1ab4b59c4302bd8db8eb095a102f9d730cb49644a1dc531ca007bb9c9a7321c9876ec0ce953317561fc94a51b02bcb749d2de1fa83
 DIST httplib2-0.17.0.tar.gz 220694 BLAKE2B 
9e9a3c0e3fa13dfc2b58331ba1b52f77ebb8642126994125595c344e19c2e0a430ca556a213938f5f9da1aea69f1cc30e1c89ccf2c64c2389641973f89aa8f4e
 SHA512 
8724e5784990e7315762e5f8333197d6f6820aa6cc66aebbeb981ccedb57e35fa998e623d7e0cd8fcb18178895bc73b16bdf015c90d2adf208d6d5320f3551bb
+DIST httplib2-0.18.1.tar.gz 262930 BLAKE2B 
d8130dfbbee71dae1319a8a65fb2ae96d667bba08cfc586c0a9239d6bf6cb475fbd4548d6b5276b8001a02417eebff4a7565024d43c630b8ed51e467cdd3de71
 SHA512 
a1bb527279bdc92fb75bffebc317ff549bb6efb678580cbe40d187921b7ace66b1a5bc1d98bdf065ec5667fe69632da086b0eb201ff911497324fd817bfe1b7a

diff --git a/dev-python/httplib2/httplib2-0.18.1.ebuild 
b/dev-python/httplib2/httplib2-0.18.1.ebuild
new file mode 100644
index 000..a88d198375f
--- /dev/null
+++ b/dev-python/httplib2/httplib2-0.18.1.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python2_7 python3_{6..9} pypy3 )
+
+inherit distutils-r1
+
+DESCRIPTION="A comprehensive HTTP client library"
+HOMEPAGE="https://pypi.org/project/httplib2/ 
https://github.com/jcgregorio/httplib2;
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86 
~amd64-linux ~x86-linux ~x64-macos"
+IUSE=""
+
+DEPEND=""
+RDEPEND="app-misc/ca-certificates"
+
+PATCHES=( "${FILESDIR}"/${PN}-0.12.1-use-system-cacerts.patch )
+
+src_prepare() {
+   sed -i -e '/--cov/d' setup.cfg || die
+
+   # broken by using system certificates
+   sed -e 's:test_certs_file_from_builtin:_&:' \
+   -e 's:test_certs_file_from_environment:_&:' \
+   -e 's:test_with_certifi_removed_from_modules:_&:' \
+   -i tests/test_cacerts_from_env.py || die
+   # broken by new PySocks, probably
+   sed -e 
's:test_server_not_found_error_is_raised_for_invalid_hostname:_&:' \
+   -e 's:test_socks5_auth:_&:' \
+   -i tests/test_proxy.py || die
+
+   distutils-r1_src_prepare
+}
+
+python_test() {
+   # tests in python* are replaced by tests/
+   # upstream fails at cleaning up stuff
+   pytest -vv tests || die "Tests fail with ${EPYTHON}"
+}



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

2020-04-08 Thread Agostino Sarubbo
commit: d18602a15ed97b85c7e1c2627f956bac5afc1161
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Wed Apr  8 14:01:33 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Wed Apr  8 14:01:33 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d18602a1

dev-python/httplib2: add ~s390 keyword

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

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

diff --git a/dev-python/httplib2/httplib2-0.17.0.ebuild 
b/dev-python/httplib2/httplib2-0.17.0.ebuild
index 0b9341cc798..d11a844dc7d 100644
--- a/dev-python/httplib2/httplib2-0.17.0.ebuild
+++ b/dev-python/httplib2/httplib2-0.17.0.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux 
~x86-linux ~x64-macos"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86 
~amd64-linux ~x86-linux ~x64-macos"
 IUSE=""
 
 DEPEND=""



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

2020-03-27 Thread Michał Górny
commit: d49a1e9f2a6d1196f73c37c419d354d15187d4ee
Author: Michał Górny  gentoo  org>
AuthorDate: Fri Mar 27 11:38:22 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Fri Mar 27 11:38:22 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d49a1e9f

dev-python/httplib2: Mark ALLARCHES

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

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

diff --git a/dev-python/httplib2/metadata.xml b/dev-python/httplib2/metadata.xml
index a3e1442dc0b..0dbf79fc1c5 100644
--- a/dev-python/httplib2/metadata.xml
+++ b/dev-python/httplib2/metadata.xml
@@ -5,6 +5,7 @@
 pyt...@gentoo.org
 Python
   
+  
   
 httplib2
 httplib2



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

2020-03-27 Thread Michał Górny
commit: c8c592bed3b413f7008e9ba3a55dad247e7571e6
Author: Michał Górny  gentoo  org>
AuthorDate: Fri Mar 27 11:39:36 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Fri Mar 27 11:39:36 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c8c592be

dev-python/httplib2: Remove redundant versions

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

 dev-python/httplib2/Manifest   |  3 --
 .../files/httplib2-0.11.3-use-system-cacerts.patch | 59 --
 .../files/httplib2-use-system-cacerts.patch| 59 --
 dev-python/httplib2/httplib2-0.10.3-r1.ebuild  | 40 ---
 dev-python/httplib2/httplib2-0.11.3.ebuild | 40 ---
 dev-python/httplib2/httplib2-0.12.1.ebuild | 39 --
 6 files changed, 240 deletions(-)

diff --git a/dev-python/httplib2/Manifest b/dev-python/httplib2/Manifest
index fae55daefd0..1ff320cbd08 100644
--- a/dev-python/httplib2/Manifest
+++ b/dev-python/httplib2/Manifest
@@ -1,5 +1,2 @@
-DIST httplib2-0.10.3.tar.gz 204500 BLAKE2B 
f71d679b42865bd8e56f708e71d475bfc6988267b07cf7af298ae7ba2c132a67fa04f54f36dfa0d222f86f421ade40724638fdc5840f340da0e8e1a717bb6cdd
 SHA512 
d024986ffd577858017d7a8cfcae98a6cd04b8c89634ea302df4c1443eb2381cecca6ffbb631c9d4260335a3462df6d5604ec485aa591a05cb0231a3f6745aaa
-DIST httplib2-0.11.3.tar.gz 215815 BLAKE2B 
912d7cf56b941cc5ecaac23e16e20c17a31dc81b1ecb755cd3be36f0aaaf62302a760ca82104abb9052ee5c7d0c91baf04425303d124165085a06a20a66e5ba1
 SHA512 
e74be0ba945aaf5836ef14f4b8262e2be4b7f2a1df52b60f8ae7109d9727e117a69a8b7e4f524fb91997781af031a8a7c2112a7ab2b5d9f5c94b04a56aa04659
-DIST httplib2-0.12.1.tar.gz 218582 BLAKE2B 
98c41a96b4e78897e803dbac3d6fedb25ad78f48d0b14ea29340f18da66be4622c7f0ae49acb2f4abca9542a174295d91aa21a6313b15501c4c1e590720a40bb
 SHA512 
b083f0f5e22b384fd61eac428c1c60209702cf595762eadf6734afcf3cef6c3df8c7f2bedc5d782a4a6120a1dec51f910298f678c634c6b5e5d31348d9e10d25
 DIST httplib2-0.13.0.tar.gz 219494 BLAKE2B 
5bb46582b9962266c9b431be7d323720f780075d6c60527e29c45415a001fc671b4bac95912f023e198250013a3b5a2442c02fa3284abba19bb3828bbc96ddb6
 SHA512 
b447531f18eb7d288cce9b1ab4b59c4302bd8db8eb095a102f9d730cb49644a1dc531ca007bb9c9a7321c9876ec0ce953317561fc94a51b02bcb749d2de1fa83
 DIST httplib2-0.17.0.tar.gz 220694 BLAKE2B 
9e9a3c0e3fa13dfc2b58331ba1b52f77ebb8642126994125595c344e19c2e0a430ca556a213938f5f9da1aea69f1cc30e1c89ccf2c64c2389641973f89aa8f4e
 SHA512 
8724e5784990e7315762e5f8333197d6f6820aa6cc66aebbeb981ccedb57e35fa998e623d7e0cd8fcb18178895bc73b16bdf015c90d2adf208d6d5320f3551bb

diff --git a/dev-python/httplib2/files/httplib2-0.11.3-use-system-cacerts.patch 
b/dev-python/httplib2/files/httplib2-0.11.3-use-system-cacerts.patch
deleted file mode 100644
index 8aace02c54d..000
--- a/dev-python/httplib2/files/httplib2-0.11.3-use-system-cacerts.patch
+++ /dev/null
@@ -1,59 +0,0 @@
-From 437b5bba5dac2e43815a900dbc6ee093c675bb4c Mon Sep 17 00:00:00 2001
-From: Marc Deslauriers 
-Date: Thu, 8 Oct 2015 12:15:44 -0700
-Subject: Use system ca certificates, not the bundled ones
-
-Forwarded: not-needed
-Bug-Ubuntu: https://launchpad.net/bugs/882027
-
-Patch-Name: use_system_cacerts.patch

- python2/httplib2/__init__.py | 5 ++---
- python3/httplib2/__init__.py | 5 ++---
- setup.py | 1 -
- 3 files changed, 4 insertions(+), 7 deletions(-)
-
-diff --git a/python2/httplib2/__init__.py b/python2/httplib2/__init__.py
-index 6fa3cc6..e996d01 100644
 a/python2/httplib2/__init__.py
-+++ b/python2/httplib2/__init__.py
-@@ -190,9 +190,8 @@ try:
- import ca_certs_locater
- CA_CERTS = ca_certs_locater.get()
- except ImportError:
--# Default CA certificates file bundled with httplib2.
--CA_CERTS = os.path.join(
--os.path.dirname(os.path.abspath(__file__ )), "cacerts.txt")
-+# Use system CA certificates
-+CA_CERTS = "/etc/ssl/certs/ca-certificates.crt"
- 
- # Which headers are hop-by-hop headers by default
- HOP_BY_HOP = ['connection', 'keep-alive', 'proxy-authenticate', 
'proxy-authorization', 'te', 'trailers', 'transfer-encoding', 'upgrade']
-diff --git a/python3/httplib2/__init__.py b/python3/httplib2/__init__.py
-index 3ce019e..8383cc4 100644
 a/python3/httplib2/__init__.py
-+++ b/python3/httplib2/__init__.py
-@@ -123,9 +123,8 @@ DEFAULT_MAX_REDIRECTS = 5
- # Which headers are hop-by-hop headers by default
- HOP_BY_HOP = ['connection', 'keep-alive', 'proxy-authenticate', 
'proxy-authorization', 'te', 'trailers', 'transfer-encoding', 'upgrade']
- 
--# Default CA certificates file bundled with httplib2.
--CA_CERTS = os.path.join(
--os.path.dirname(os.path.abspath(__file__ )), "cacerts.txt")
-+# Use system CA certificates
-+CA_CERTS = "/etc/ssl/certs/ca-certificates.crt"
- 
- def _get_end2end_headers(response):
- hopbyhop = list(HOP_BY_HOP)
-diff --git a/setup.py b/setup.py
-index fb00ed2..2c31f44 100755
 a/setup.py
-+++ b/setup.py
-@@ -58,7 +58,6 @@
- """,

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

2020-03-27 Thread Michał Górny
commit: 88c59df881b5f0a85f01d19774d669f1dc4072d8
Author: Michał Górny  gentoo  org>
AuthorDate: Fri Mar 27 11:38:54 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Fri Mar 27 11:38:54 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=88c59df8

dev-python/httplib2: Stabilize 0.13.0 ALLARCHES

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

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

diff --git a/dev-python/httplib2/httplib2-0.13.0.ebuild 
b/dev-python/httplib2/httplib2-0.13.0.ebuild
index dde741a044d..2006647d4b6 100644
--- a/dev-python/httplib2/httplib2-0.13.0.ebuild
+++ b/dev-python/httplib2/httplib2-0.13.0.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm ~arm64 ~ia64 ppc ppc64 sparc x86 ~amd64-linux 
~x86-linux ~x64-macos"
+KEYWORDS="~alpha amd64 arm ~arm64 ia64 ppc ppc64 sparc x86 ~amd64-linux 
~x86-linux ~x64-macos"
 IUSE=""
 
 DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"



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

2020-03-24 Thread Sebastian Pipping
commit: 91cea5a034726d57d5ab35045837a2996f81233f
Author: Sebastian Pipping  gentoo  org>
AuthorDate: Wed Mar 25 00:30:26 2020 +
Commit: Sebastian Pipping  gentoo  org>
CommitDate: Wed Mar 25 00:32:09 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=91cea5a0

dev-python/httplib2: 0.17.0 + QA

Signed-off-by: Sebastian Pipping  gentoo.org>
Package-Manager: Portage-2.3.92, Repoman-2.3.20

 dev-python/httplib2/Manifest   |  1 +
 dev-python/httplib2/httplib2-0.17.0.ebuild | 40 ++
 2 files changed, 41 insertions(+)

diff --git a/dev-python/httplib2/Manifest b/dev-python/httplib2/Manifest
index d23d4a10a18..fae55daefd0 100644
--- a/dev-python/httplib2/Manifest
+++ b/dev-python/httplib2/Manifest
@@ -2,3 +2,4 @@ DIST httplib2-0.10.3.tar.gz 204500 BLAKE2B 
f71d679b42865bd8e56f708e71d475bfc6988
 DIST httplib2-0.11.3.tar.gz 215815 BLAKE2B 
912d7cf56b941cc5ecaac23e16e20c17a31dc81b1ecb755cd3be36f0aaaf62302a760ca82104abb9052ee5c7d0c91baf04425303d124165085a06a20a66e5ba1
 SHA512 
e74be0ba945aaf5836ef14f4b8262e2be4b7f2a1df52b60f8ae7109d9727e117a69a8b7e4f524fb91997781af031a8a7c2112a7ab2b5d9f5c94b04a56aa04659
 DIST httplib2-0.12.1.tar.gz 218582 BLAKE2B 
98c41a96b4e78897e803dbac3d6fedb25ad78f48d0b14ea29340f18da66be4622c7f0ae49acb2f4abca9542a174295d91aa21a6313b15501c4c1e590720a40bb
 SHA512 
b083f0f5e22b384fd61eac428c1c60209702cf595762eadf6734afcf3cef6c3df8c7f2bedc5d782a4a6120a1dec51f910298f678c634c6b5e5d31348d9e10d25
 DIST httplib2-0.13.0.tar.gz 219494 BLAKE2B 
5bb46582b9962266c9b431be7d323720f780075d6c60527e29c45415a001fc671b4bac95912f023e198250013a3b5a2442c02fa3284abba19bb3828bbc96ddb6
 SHA512 
b447531f18eb7d288cce9b1ab4b59c4302bd8db8eb095a102f9d730cb49644a1dc531ca007bb9c9a7321c9876ec0ce953317561fc94a51b02bcb749d2de1fa83
+DIST httplib2-0.17.0.tar.gz 220694 BLAKE2B 
9e9a3c0e3fa13dfc2b58331ba1b52f77ebb8642126994125595c344e19c2e0a430ca556a213938f5f9da1aea69f1cc30e1c89ccf2c64c2389641973f89aa8f4e
 SHA512 
8724e5784990e7315762e5f8333197d6f6820aa6cc66aebbeb981ccedb57e35fa998e623d7e0cd8fcb18178895bc73b16bdf015c90d2adf208d6d5320f3551bb

diff --git a/dev-python/httplib2/httplib2-0.17.0.ebuild 
b/dev-python/httplib2/httplib2-0.17.0.ebuild
new file mode 100644
index 000..0b9341cc798
--- /dev/null
+++ b/dev-python/httplib2/httplib2-0.17.0.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python2_7 python3_{6,7,8} pypy3 )
+
+inherit distutils-r1
+
+DESCRIPTION="A comprehensive HTTP client library"
+HOMEPAGE="https://pypi.org/project/httplib2/ 
https://github.com/jcgregorio/httplib2;
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux 
~x86-linux ~x64-macos"
+IUSE=""
+
+DEPEND=""
+RDEPEND="app-misc/ca-certificates"
+
+# tests connect to random remote sites
+RESTRICT="test"
+
+PATCHES=( "${FILESDIR}"/${PN}-0.12.1-use-system-cacerts.patch )
+
+python_prepare_all() {
+   chmod o+r */*egg*/* || die
+   distutils-r1_python_prepare_all
+}
+
+python_test() {
+   if [[ ${EPYTHON} =~ ^(python2.7|pypy)$ ]] ; then
+   cd python2 || die
+   else
+   cd python3 || die
+   fi
+
+   "${PYTHON}" httplib2test.py || die
+}



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

2019-12-02 Thread Aaron Bauman
commit: 8879f07e8b32f0f1810ee1de45805c3870f6a7b6
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Sun Dec  1 20:54:17 2019 +
Commit: Aaron Bauman  gentoo  org>
CommitDate: Tue Dec  3 04:17:52 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8879f07e

dev-python/httplib2: python3_8

Package-Manager: Portage-2.3.80, Repoman-2.3.18
Signed-off-by: Andreas Sturmlechner  gentoo.org>
Signed-off-by: Aaron Bauman  gentoo.org>

 dev-python/httplib2/httplib2-0.13.0.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/dev-python/httplib2/httplib2-0.13.0.ebuild 
b/dev-python/httplib2/httplib2-0.13.0.ebuild
index ea68c21b0a1..677fe073c48 100644
--- a/dev-python/httplib2/httplib2-0.13.0.ebuild
+++ b/dev-python/httplib2/httplib2-0.13.0.ebuild
@@ -2,7 +2,8 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
-PYTHON_COMPAT=( python2_7 python3_{5,6,7} pypy pypy3 )
+
+PYTHON_COMPAT=( python2_7 python3_{5,6,7,8} pypy pypy3 )
 
 inherit distutils-r1
 



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

2019-08-05 Thread Patrice Clement
commit: b88f50e3f0a22e4cf4110c257e6469f85b5c1c14
Author: Patrice Clement  gentoo  org>
AuthorDate: Tue Jun 11 20:51:40 2019 +
Commit: Patrice Clement  gentoo  org>
CommitDate: Mon Aug  5 09:12:14 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b88f50e3

dev-python/httplib2: version bump.

Signed-off-by: Patrice Clement  gentoo.org>
Package-Manager: Portage-2.3.62, Repoman-2.3.11

 dev-python/httplib2/Manifest   |  1 +
 dev-python/httplib2/httplib2-0.13.0.ebuild | 39 ++
 2 files changed, 40 insertions(+)

diff --git a/dev-python/httplib2/Manifest b/dev-python/httplib2/Manifest
index 77519fa0ebc..d23d4a10a18 100644
--- a/dev-python/httplib2/Manifest
+++ b/dev-python/httplib2/Manifest
@@ -1,3 +1,4 @@
 DIST httplib2-0.10.3.tar.gz 204500 BLAKE2B 
f71d679b42865bd8e56f708e71d475bfc6988267b07cf7af298ae7ba2c132a67fa04f54f36dfa0d222f86f421ade40724638fdc5840f340da0e8e1a717bb6cdd
 SHA512 
d024986ffd577858017d7a8cfcae98a6cd04b8c89634ea302df4c1443eb2381cecca6ffbb631c9d4260335a3462df6d5604ec485aa591a05cb0231a3f6745aaa
 DIST httplib2-0.11.3.tar.gz 215815 BLAKE2B 
912d7cf56b941cc5ecaac23e16e20c17a31dc81b1ecb755cd3be36f0aaaf62302a760ca82104abb9052ee5c7d0c91baf04425303d124165085a06a20a66e5ba1
 SHA512 
e74be0ba945aaf5836ef14f4b8262e2be4b7f2a1df52b60f8ae7109d9727e117a69a8b7e4f524fb91997781af031a8a7c2112a7ab2b5d9f5c94b04a56aa04659
 DIST httplib2-0.12.1.tar.gz 218582 BLAKE2B 
98c41a96b4e78897e803dbac3d6fedb25ad78f48d0b14ea29340f18da66be4622c7f0ae49acb2f4abca9542a174295d91aa21a6313b15501c4c1e590720a40bb
 SHA512 
b083f0f5e22b384fd61eac428c1c60209702cf595762eadf6734afcf3cef6c3df8c7f2bedc5d782a4a6120a1dec51f910298f678c634c6b5e5d31348d9e10d25
+DIST httplib2-0.13.0.tar.gz 219494 BLAKE2B 
5bb46582b9962266c9b431be7d323720f780075d6c60527e29c45415a001fc671b4bac95912f023e198250013a3b5a2442c02fa3284abba19bb3828bbc96ddb6
 SHA512 
b447531f18eb7d288cce9b1ab4b59c4302bd8db8eb095a102f9d730cb49644a1dc531ca007bb9c9a7321c9876ec0ce953317561fc94a51b02bcb749d2de1fa83

diff --git a/dev-python/httplib2/httplib2-0.13.0.ebuild 
b/dev-python/httplib2/httplib2-0.13.0.ebuild
new file mode 100644
index 000..ea68c21b0a1
--- /dev/null
+++ b/dev-python/httplib2/httplib2-0.13.0.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+PYTHON_COMPAT=( python2_7 python3_{5,6,7} pypy pypy3 )
+
+inherit distutils-r1
+
+DESCRIPTION="A comprehensive HTTP client library"
+HOMEPAGE="https://pypi.org/project/httplib2/ 
https://github.com/jcgregorio/httplib2;
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux 
~x86-linux ~x64-macos"
+IUSE=""
+
+DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
+RDEPEND="app-misc/ca-certificates"
+
+# tests connect to random remote sites
+RESTRICT="test"
+
+PATCHES=( "${FILESDIR}"/${PN}-0.12.1-use-system-cacerts.patch )
+
+python_prepare_all() {
+   chmod o+r */*egg*/* || die
+   distutils-r1_python_prepare_all
+}
+
+python_test() {
+   if [[ ${EPYTHON} =~ ^(python2.7|pypy)$ ]] ; then
+   cd python2 || die
+   else
+   cd python3 || die
+   fi
+
+   "${PYTHON}" httplib2test.py || die
+}



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

2019-04-10 Thread Thomas Deutschmann
commit: 3efe9915bb282a8d50352f09dba88923b0407e52
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Wed Apr 10 17:24:02 2019 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Wed Apr 10 17:24:23 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3efe9915

dev-python/httplib2: respin use-system-cacerts.patch

Closes: https://bugs.gentoo.org/683010
Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Thomas Deutschmann  gentoo.org>

 .../files/httplib2-0.12.1-use-system-cacerts.patch | 26 ++
 dev-python/httplib2/httplib2-0.12.1.ebuild |  2 +-
 2 files changed, 27 insertions(+), 1 deletion(-)

diff --git a/dev-python/httplib2/files/httplib2-0.12.1-use-system-cacerts.patch 
b/dev-python/httplib2/files/httplib2-0.12.1-use-system-cacerts.patch
new file mode 100644
index 000..e189a540724
--- /dev/null
+++ b/dev-python/httplib2/files/httplib2-0.12.1-use-system-cacerts.patch
@@ -0,0 +1,26 @@
+--- a/python2/httplib2/certs.py
 b/python2/httplib2/certs.py
+@@ -19,9 +19,7 @@ except ImportError:
+ pass
+ 
+ 
+-BUILTIN_CA_CERTS = os.path.join(
+-os.path.dirname(os.path.abspath(__file__)), "cacerts.txt"
+-)
++BUILTIN_CA_CERTS = "/etc/ssl/certs/ca-certificates.crt"
+ 
+ 
+ def where():
+--- a/python3/httplib2/certs.py
 b/python3/httplib2/certs.py
+@@ -19,9 +19,7 @@ except ImportError:
+ pass
+ 
+ 
+-BUILTIN_CA_CERTS = os.path.join(
+-os.path.dirname(os.path.abspath(__file__)), "cacerts.txt"
+-)
++BUILTIN_CA_CERTS = "/etc/ssl/certs/ca-certificates.crt"
+ 
+ 
+ def where():

diff --git a/dev-python/httplib2/httplib2-0.12.1.ebuild 
b/dev-python/httplib2/httplib2-0.12.1.ebuild
index 0d4ac24b523..e80ad4f83e4 100644
--- a/dev-python/httplib2/httplib2-0.12.1.ebuild
+++ b/dev-python/httplib2/httplib2-0.12.1.ebuild
@@ -21,7 +21,7 @@ RDEPEND="app-misc/ca-certificates"
 # tests connect to random remote sites
 RESTRICT="test"
 
-PATCHES=( "${FILESDIR}"/${PN}-0.11.3-use-system-cacerts.patch )
+PATCHES=( "${FILESDIR}"/${PN}-0.12.1-use-system-cacerts.patch )
 
 python_prepare_all() {
chmod o+r */*egg*/* || die



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

2019-01-28 Thread Matthew Thode
commit: d49ebd5c79eccbc1e34d23c36243f475f8e5a531
Author: Matthew Thode  gentoo  org>
AuthorDate: Mon Jan 28 20:11:46 2019 +
Commit: Matthew Thode  gentoo  org>
CommitDate: Mon Jan 28 20:27:47 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d49ebd5c

dev-python/httplib2: add py37 support

Bug: https://bugs.gentoo.org/676510
Package-Manager: Portage-2.3.51, Repoman-2.3.12
Signed-off-by: Matthew Thode  gentoo.org>

 dev-python/httplib2/httplib2-0.11.3.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-python/httplib2/httplib2-0.11.3.ebuild 
b/dev-python/httplib2/httplib2-0.11.3.ebuild
index d320d3aad25..5d1a3b0a80b 100644
--- a/dev-python/httplib2/httplib2-0.11.3.ebuild
+++ b/dev-python/httplib2/httplib2-0.11.3.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
 
-PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy pypy3 )
+PYTHON_COMPAT=( python2_7 python3_{4,5,6,7} pypy pypy3 )
 
 inherit distutils-r1
 



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

2018-06-15 Thread Zac Medico
commit: abc8e159a0d31342cfc59bd270b5b2d1f6270855
Author: Zac Medico  gentoo  org>
AuthorDate: Fri Jun 15 20:56:48 2018 +
Commit: Zac Medico  gentoo  org>
CommitDate: Fri Jun 15 21:25:22 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=abc8e159

dev-python/httplib2: version bump to 0.11.3

Package-Manager: Portage-2.3.40, Repoman-2.3.9

 dev-python/httplib2/Manifest   |  1 +
 .../files/httplib2-0.11.3-use-system-cacerts.patch | 59 ++
 dev-python/httplib2/httplib2-0.11.3.ebuild | 40 +++
 3 files changed, 100 insertions(+)

diff --git a/dev-python/httplib2/Manifest b/dev-python/httplib2/Manifest
index 3e45a6dcbfd..aa88a10bd5e 100644
--- a/dev-python/httplib2/Manifest
+++ b/dev-python/httplib2/Manifest
@@ -1 +1,2 @@
 DIST httplib2-0.10.3.tar.gz 204500 BLAKE2B 
f71d679b42865bd8e56f708e71d475bfc6988267b07cf7af298ae7ba2c132a67fa04f54f36dfa0d222f86f421ade40724638fdc5840f340da0e8e1a717bb6cdd
 SHA512 
d024986ffd577858017d7a8cfcae98a6cd04b8c89634ea302df4c1443eb2381cecca6ffbb631c9d4260335a3462df6d5604ec485aa591a05cb0231a3f6745aaa
+DIST httplib2-0.11.3.tar.gz 215815 BLAKE2B 
912d7cf56b941cc5ecaac23e16e20c17a31dc81b1ecb755cd3be36f0aaaf62302a760ca82104abb9052ee5c7d0c91baf04425303d124165085a06a20a66e5ba1
 SHA512 
e74be0ba945aaf5836ef14f4b8262e2be4b7f2a1df52b60f8ae7109d9727e117a69a8b7e4f524fb91997781af031a8a7c2112a7ab2b5d9f5c94b04a56aa04659

diff --git a/dev-python/httplib2/files/httplib2-0.11.3-use-system-cacerts.patch 
b/dev-python/httplib2/files/httplib2-0.11.3-use-system-cacerts.patch
new file mode 100644
index 000..8aace02c54d
--- /dev/null
+++ b/dev-python/httplib2/files/httplib2-0.11.3-use-system-cacerts.patch
@@ -0,0 +1,59 @@
+From 437b5bba5dac2e43815a900dbc6ee093c675bb4c Mon Sep 17 00:00:00 2001
+From: Marc Deslauriers 
+Date: Thu, 8 Oct 2015 12:15:44 -0700
+Subject: Use system ca certificates, not the bundled ones
+
+Forwarded: not-needed
+Bug-Ubuntu: https://launchpad.net/bugs/882027
+
+Patch-Name: use_system_cacerts.patch
+---
+ python2/httplib2/__init__.py | 5 ++---
+ python3/httplib2/__init__.py | 5 ++---
+ setup.py | 1 -
+ 3 files changed, 4 insertions(+), 7 deletions(-)
+
+diff --git a/python2/httplib2/__init__.py b/python2/httplib2/__init__.py
+index 6fa3cc6..e996d01 100644
+--- a/python2/httplib2/__init__.py
 b/python2/httplib2/__init__.py
+@@ -190,9 +190,8 @@ try:
+ import ca_certs_locater
+ CA_CERTS = ca_certs_locater.get()
+ except ImportError:
+-# Default CA certificates file bundled with httplib2.
+-CA_CERTS = os.path.join(
+-os.path.dirname(os.path.abspath(__file__ )), "cacerts.txt")
++# Use system CA certificates
++CA_CERTS = "/etc/ssl/certs/ca-certificates.crt"
+ 
+ # Which headers are hop-by-hop headers by default
+ HOP_BY_HOP = ['connection', 'keep-alive', 'proxy-authenticate', 
'proxy-authorization', 'te', 'trailers', 'transfer-encoding', 'upgrade']
+diff --git a/python3/httplib2/__init__.py b/python3/httplib2/__init__.py
+index 3ce019e..8383cc4 100644
+--- a/python3/httplib2/__init__.py
 b/python3/httplib2/__init__.py
+@@ -123,9 +123,8 @@ DEFAULT_MAX_REDIRECTS = 5
+ # Which headers are hop-by-hop headers by default
+ HOP_BY_HOP = ['connection', 'keep-alive', 'proxy-authenticate', 
'proxy-authorization', 'te', 'trailers', 'transfer-encoding', 'upgrade']
+ 
+-# Default CA certificates file bundled with httplib2.
+-CA_CERTS = os.path.join(
+-os.path.dirname(os.path.abspath(__file__ )), "cacerts.txt")
++# Use system CA certificates
++CA_CERTS = "/etc/ssl/certs/ca-certificates.crt"
+ 
+ def _get_end2end_headers(response):
+ hopbyhop = list(HOP_BY_HOP)
+diff --git a/setup.py b/setup.py
+index fb00ed2..2c31f44 100755
+--- a/setup.py
 b/setup.py
+@@ -58,7 +58,6 @@
+ """,
+ package_dir=pkgdir,
+ packages=['httplib2'],
+-package_data={'httplib2': ['*.txt']},
+ classifiers=(
+ 'Development Status :: 4 - Beta',
+ 'Environment :: Web Environment',

diff --git a/dev-python/httplib2/httplib2-0.11.3.ebuild 
b/dev-python/httplib2/httplib2-0.11.3.ebuild
new file mode 100644
index 000..d320d3aad25
--- /dev/null
+++ b/dev-python/httplib2/httplib2-0.11.3.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy pypy3 )
+
+inherit distutils-r1
+
+DESCRIPTION="A comprehensive HTTP client library"
+HOMEPAGE="https://pypi.org/project/httplib2/ 
https://github.com/jcgregorio/httplib2;
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux 
~x86-linux ~x64-macos"
+IUSE=""
+
+DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
+RDEPEND="app-misc/ca-certificates"
+
+# tests connect to random remote sites
+RESTRICT="test"
+
+PATCHES=( 

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

2018-01-04 Thread Michał Górny
commit: d6794c2701249dd6b435aee6b36c066db5bec305
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Jan  4 20:05:35 2018 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Jan  4 20:34:55 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d6794c27

dev-python/httplib2: Clean old up

 dev-python/httplib2/Manifest   |  1 -
 .../files/python-httplib2-0.9-cve-2013-2037.patch  | 21 ---
 dev-python/httplib2/httplib2-0.10.3.ebuild | 37 ---
 dev-python/httplib2/httplib2-0.9.2-r2.ebuild   | 41 --
 4 files changed, 100 deletions(-)

diff --git a/dev-python/httplib2/Manifest b/dev-python/httplib2/Manifest
index 3f7bddd40c3..3e45a6dcbfd 100644
--- a/dev-python/httplib2/Manifest
+++ b/dev-python/httplib2/Manifest
@@ -1,2 +1 @@
 DIST httplib2-0.10.3.tar.gz 204500 BLAKE2B 
f71d679b42865bd8e56f708e71d475bfc6988267b07cf7af298ae7ba2c132a67fa04f54f36dfa0d222f86f421ade40724638fdc5840f340da0e8e1a717bb6cdd
 SHA512 
d024986ffd577858017d7a8cfcae98a6cd04b8c89634ea302df4c1443eb2381cecca6ffbb631c9d4260335a3462df6d5604ec485aa591a05cb0231a3f6745aaa
-DIST httplib2-0.9.2.tar.gz 205165 BLAKE2B 
8bcd1b5786ef2bac51d31766f2477e05cb942feb5edc829ef8d13cd256169da3fb812880fe422e61c3c14d268833e38686452916b5cfc7e0ed1cff17bad6dcfb
 SHA512 
cf1684f2d072588bc676c02491667480bdd2be0b3494703129d9cfa339d1233e14c0b4895b174d4c2ec5e2f5ae265d165b4e001b180f39f81db2178f91a032f8

diff --git a/dev-python/httplib2/files/python-httplib2-0.9-cve-2013-2037.patch 
b/dev-python/httplib2/files/python-httplib2-0.9-cve-2013-2037.patch
deleted file mode 100644
index 6a09337b199..000
--- a/dev-python/httplib2/files/python-httplib2-0.9-cve-2013-2037.patch
+++ /dev/null
@@ -1,21 +0,0 @@
-diff -Nur httplib2-0.9.orig/python2/httplib2/__init__.py 
httplib2-0.9/python2/httplib2/__init__.py
 httplib2-0.9.orig/python2/httplib2/__init__.py 2015-04-03 
13:10:43.401035131 -0600
-+++ httplib2-0.9/python2/httplib2/__init__.py  2015-04-03 13:10:08.470685647 
-0600
-@@ -1042,7 +1042,7 @@
- raise CertificateHostnameMismatch(
- 'Server presented certificate that does not match 
'
- 'host %s: %s' % (hostname, cert), hostname, cert)
--except ssl_SSLError, e:
-+except (ssl_SSLError, CertificateHostnameMismatch), e:
- if sock:
- sock.close()
- if self.sock:
-@@ -1052,7 +1052,7 @@
- # to get at more detailed error information, in particular
- # whether the error is due to certificate validation or
- # something else (such as SSL protocol mismatch).
--if e.errno == ssl.SSL_ERROR_SSL:
-+if hasattr(e, 'errno') and e.errno == ssl.SSL_ERROR_SSL:
- raise SSLHandshakeError(e)
- else:
- raise

diff --git a/dev-python/httplib2/httplib2-0.10.3.ebuild 
b/dev-python/httplib2/httplib2-0.10.3.ebuild
deleted file mode 100644
index a12c08521b0..000
--- a/dev-python/httplib2/httplib2-0.10.3.ebuild
+++ /dev/null
@@ -1,37 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy pypy3 )
-
-inherit distutils-r1
-
-DESCRIPTION="A comprehensive HTTP client library"
-HOMEPAGE="https://pypi.python.org/pypi/httplib2 
https://github.com/jcgregorio/httplib2;
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux 
~x86-linux ~x64-macos"
-IUSE=""
-
-DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
-
-# tests connect to random remote sites
-RESTRICT="test"
-
-python_prepare_all() {
-   chmod o+r */*egg*/* || die
-   distutils-r1_python_prepare_all
-}
-
-python_test() {
-   if [[ ${EPYTHON} == python2.7 ]] ; then
-   cd python2 || die
-   else
-   cd python3 || die
-   fi
-
-   "${PYTHON}" httplib2test.py || die
-}

diff --git a/dev-python/httplib2/httplib2-0.9.2-r2.ebuild 
b/dev-python/httplib2/httplib2-0.9.2-r2.ebuild
deleted file mode 100644
index 063a7624efe..000
--- a/dev-python/httplib2/httplib2-0.9.2-r2.ebuild
+++ /dev/null
@@ -1,41 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy pypy3 )
-
-inherit distutils-r1
-
-DESCRIPTION="A comprehensive HTTP client library"
-HOMEPAGE="https://pypi.python.org/pypi/httplib2 
https://github.com/jcgregorio/httplib2;
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="alpha amd64 arm ~arm64 ia64 ppc ppc64 sparc x86 ~amd64-linux 
~x86-linux ~x64-macos"
-IUSE=""
-
-DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
-
-# 

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

2017-11-24 Thread Sergei Trofimovich
commit: 59263817d41110c24df439a4dbdea2c4cfb2be04
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Fri Nov 24 22:19:40 2017 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Fri Nov 24 22:19:40 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=59263817

dev-python/httplib2: stable 0.10.3-r1 for sparc, bug #624450 (thanks to Rolf 
Eike Beer)

Package-Manager: Portage-2.3.16, Repoman-2.3.6
RepoMan-Options: --include-arches="sparc"

 dev-python/httplib2/httplib2-0.10.3-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/httplib2/httplib2-0.10.3-r1.ebuild 
b/dev-python/httplib2/httplib2-0.10.3-r1.ebuild
index 18d12684515..194c3a440d6 100644
--- a/dev-python/httplib2/httplib2-0.10.3-r1.ebuild
+++ b/dev-python/httplib2/httplib2-0.10.3-r1.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="alpha amd64 arm ~arm64 ia64 ppc ppc64 ~sparc x86 ~amd64-linux 
~x86-linux ~x64-macos"
+KEYWORDS="alpha amd64 arm ~arm64 ia64 ppc ppc64 sparc x86 ~amd64-linux 
~x86-linux ~x64-macos"
 IUSE=""
 
 DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"



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

2017-10-16 Thread Sergei Trofimovich
commit: 05a04348d30051d6ae0ec8b89cd20a3c0185922c
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Mon Oct 16 08:28:07 2017 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Mon Oct 16 08:28:14 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=05a04348

dev-python/httplib2: stable 0.10.3-r1 for ppc, bug #624450

Package-Manager: Portage-2.3.11, Repoman-2.3.3
RepoMan-Options: --include-arches="ppc"

 dev-python/httplib2/httplib2-0.10.3-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/httplib2/httplib2-0.10.3-r1.ebuild 
b/dev-python/httplib2/httplib2-0.10.3-r1.ebuild
index f233e30fd09..18d12684515 100644
--- a/dev-python/httplib2/httplib2-0.10.3-r1.ebuild
+++ b/dev-python/httplib2/httplib2-0.10.3-r1.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="alpha amd64 arm ~arm64 ia64 ~ppc ppc64 ~sparc x86 ~amd64-linux 
~x86-linux ~x64-macos"
+KEYWORDS="alpha amd64 arm ~arm64 ia64 ppc ppc64 ~sparc x86 ~amd64-linux 
~x86-linux ~x64-macos"
 IUSE=""
 
 DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"



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

2017-10-15 Thread Sergei Trofimovich
commit: cff5f35760d2349ddebec449e8aade2c4cb6344d
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Sun Oct 15 18:56:38 2017 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sun Oct 15 19:07:53 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cff5f357

dev-python/httplib2: stable 0.10.3-r1 for ppc64, bug #624450

Package-Manager: Portage-2.3.11, Repoman-2.3.3
RepoMan-Options: --include-arches="ppc64"

 dev-python/httplib2/httplib2-0.10.3-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/httplib2/httplib2-0.10.3-r1.ebuild 
b/dev-python/httplib2/httplib2-0.10.3-r1.ebuild
index 58351dcaf40..f233e30fd09 100644
--- a/dev-python/httplib2/httplib2-0.10.3-r1.ebuild
+++ b/dev-python/httplib2/httplib2-0.10.3-r1.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="alpha amd64 arm ~arm64 ia64 ~ppc ~ppc64 ~sparc x86 ~amd64-linux 
~x86-linux ~x64-macos"
+KEYWORDS="alpha amd64 arm ~arm64 ia64 ~ppc ppc64 ~sparc x86 ~amd64-linux 
~x86-linux ~x64-macos"
 IUSE=""
 
 DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"



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

2017-08-02 Thread Thomas Deutschmann
commit: 30327104858c53ed1739ca84e580623e0c181090
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Wed Aug  2 16:12:06 2017 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Wed Aug  2 16:13:45 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=30327104

dev-python/httplib2: x86 stable (bug #624450)

Package-Manager: Portage-2.3.5, Repoman-2.3.2

 dev-python/httplib2/httplib2-0.10.3-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/httplib2/httplib2-0.10.3-r1.ebuild 
b/dev-python/httplib2/httplib2-0.10.3-r1.ebuild
index aa3b5e9363a..e8f0bf209b1 100644
--- a/dev-python/httplib2/httplib2-0.10.3-r1.ebuild
+++ b/dev-python/httplib2/httplib2-0.10.3-r1.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~arm64 ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux 
~x86-linux ~x64-macos"
+KEYWORDS="~alpha amd64 ~arm ~arm64 ia64 ~ppc ~ppc64 ~sparc x86 ~amd64-linux 
~x86-linux ~x64-macos"
 IUSE=""
 
 DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"



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

2017-08-02 Thread Thomas Deutschmann
commit: 1c0798a40d1760cccec5d45895695967f5250483
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Wed Aug  2 16:12:54 2017 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Wed Aug  2 16:13:46 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1c0798a4

dev-python/httplib2: arm stable (bug #624450)

Package-Manager: Portage-2.3.5, Repoman-2.3.2

 dev-python/httplib2/httplib2-0.10.3-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/httplib2/httplib2-0.10.3-r1.ebuild 
b/dev-python/httplib2/httplib2-0.10.3-r1.ebuild
index e8f0bf209b1..dc804efde22 100644
--- a/dev-python/httplib2/httplib2-0.10.3-r1.ebuild
+++ b/dev-python/httplib2/httplib2-0.10.3-r1.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~arm64 ia64 ~ppc ~ppc64 ~sparc x86 ~amd64-linux 
~x86-linux ~x64-macos"
+KEYWORDS="~alpha amd64 arm ~arm64 ia64 ~ppc ~ppc64 ~sparc x86 ~amd64-linux 
~x86-linux ~x64-macos"
 IUSE=""
 
 DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"



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

2017-07-15 Thread Sergei Trofimovich
commit: e661fa0267ad93b55d79e8a8155839ad47a4350a
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Sat Jul 15 18:25:21 2017 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sat Jul 15 18:25:34 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e661fa02

dev-python/httplib2: ia64 stable, bug #624450

Package-Manager: Portage-2.3.6, Repoman-2.3.2
RepoMan-Options: --include-arches="ia64"

 dev-python/httplib2/httplib2-0.10.3-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/httplib2/httplib2-0.10.3-r1.ebuild 
b/dev-python/httplib2/httplib2-0.10.3-r1.ebuild
index 3e94ecb4d82..aa3b5e9363a 100644
--- a/dev-python/httplib2/httplib2-0.10.3-r1.ebuild
+++ b/dev-python/httplib2/httplib2-0.10.3-r1.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux 
~x86-linux ~x64-macos"
+KEYWORDS="~alpha amd64 ~arm ~arm64 ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux 
~x86-linux ~x64-macos"
 IUSE=""
 
 DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"



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

2017-07-15 Thread Tobias Klausmann
commit: 7623432e6f38f270daf22ec2d5ecff2d2714eb8e
Author: Tobias Klausmann  gentoo  org>
AuthorDate: Sat Jul 15 17:36:28 2017 +
Commit: Tobias Klausmann  gentoo  org>
CommitDate: Sat Jul 15 17:36:28 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7623432e

dev-python/httplib2-0.10.3-r1: add amd64 keyword

Gentoo-Bug: 624450

 dev-python/httplib2/httplib2-0.10.3-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/httplib2/httplib2-0.10.3-r1.ebuild 
b/dev-python/httplib2/httplib2-0.10.3-r1.ebuild
index ed28cff1b4b..3e94ecb4d82 100644
--- a/dev-python/httplib2/httplib2-0.10.3-r1.ebuild
+++ b/dev-python/httplib2/httplib2-0.10.3-r1.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux 
~x86-linux ~x64-macos"
+KEYWORDS="~alpha amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux 
~x86-linux ~x64-macos"
 IUSE=""
 
 DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"



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

2017-07-13 Thread Thomas Deutschmann
commit: 4ebc6fc6c47249c50409be161e37d5584ee51c87
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Thu Jul 13 11:03:19 2017 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Thu Jul 13 11:03:59 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4ebc6fc6

dev-python/httplib2: Use system certificate store (bug #624476)

Closes: https://github.com/gentoo/gentoo/pull/5092
Package-Manager: Portage-2.3.5, Repoman-2.3.2

 .../files/httplib2-use-system-cacerts.patch| 59 ++
 dev-python/httplib2/httplib2-0.10.3-r1.ebuild  | 40 +++
 2 files changed, 99 insertions(+)

diff --git a/dev-python/httplib2/files/httplib2-use-system-cacerts.patch 
b/dev-python/httplib2/files/httplib2-use-system-cacerts.patch
new file mode 100644
index 000..cff65bb75ea
--- /dev/null
+++ b/dev-python/httplib2/files/httplib2-use-system-cacerts.patch
@@ -0,0 +1,59 @@
+From 437b5bba5dac2e43815a900dbc6ee093c675bb4c Mon Sep 17 00:00:00 2001
+From: Marc Deslauriers 
+Date: Thu, 8 Oct 2015 12:15:44 -0700
+Subject: Use system ca certificates, not the bundled ones
+
+Forwarded: not-needed
+Bug-Ubuntu: https://launchpad.net/bugs/882027
+
+Patch-Name: use_system_cacerts.patch
+---
+ python2/httplib2/__init__.py | 5 ++---
+ python3/httplib2/__init__.py | 5 ++---
+ setup.py | 1 -
+ 3 files changed, 4 insertions(+), 7 deletions(-)
+
+diff --git a/python2/httplib2/__init__.py b/python2/httplib2/__init__.py
+index 6fa3cc6..e996d01 100644
+--- a/python2/httplib2/__init__.py
 b/python2/httplib2/__init__.py
+@@ -190,9 +190,8 @@ try:
+ import ca_certs_locater
+ CA_CERTS = ca_certs_locater.get()
+ except ImportError:
+-# Default CA certificates file bundled with httplib2.
+-CA_CERTS = os.path.join(
+-os.path.dirname(os.path.abspath(__file__ )), "cacerts.txt")
++# Use system CA certificates
++CA_CERTS = "/etc/ssl/certs/ca-certificates.crt"
+ 
+ # Which headers are hop-by-hop headers by default
+ HOP_BY_HOP = ['connection', 'keep-alive', 'proxy-authenticate', 
'proxy-authorization', 'te', 'trailers', 'transfer-encoding', 'upgrade']
+diff --git a/python3/httplib2/__init__.py b/python3/httplib2/__init__.py
+index 3ce019e..8383cc4 100644
+--- a/python3/httplib2/__init__.py
 b/python3/httplib2/__init__.py
+@@ -123,9 +123,8 @@ DEFAULT_MAX_REDIRECTS = 5
+ # Which headers are hop-by-hop headers by default
+ HOP_BY_HOP = ['connection', 'keep-alive', 'proxy-authenticate', 
'proxy-authorization', 'te', 'trailers', 'transfer-encoding', 'upgrade']
+ 
+-# Default CA certificates file bundled with httplib2.
+-CA_CERTS = os.path.join(
+-os.path.dirname(os.path.abspath(__file__ )), "cacerts.txt")
++# Use system CA certificates
++CA_CERTS = "/etc/ssl/certs/ca-certificates.crt"
+ 
+ def _get_end2end_headers(response):
+ hopbyhop = list(HOP_BY_HOP)
+diff --git a/setup.py b/setup.py
+index fb00ed2..2c31f44 100755
+--- a/setup.py
 b/setup.py
+@@ -61,7 +61,6 @@ A comprehensive HTTP client library, ``httplib2`` supports 
many features left ou
+ """,
+ package_dir=pkgdir,
+ packages=['httplib2'],
+-package_data={'httplib2': ['*.txt']},
+ classifiers=[
+ 'Development Status :: 4 - Beta',
+ 'Environment :: Web Environment',

diff --git a/dev-python/httplib2/httplib2-0.10.3-r1.ebuild 
b/dev-python/httplib2/httplib2-0.10.3-r1.ebuild
new file mode 100644
index 000..ed28cff1b4b
--- /dev/null
+++ b/dev-python/httplib2/httplib2-0.10.3-r1.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy pypy3 )
+
+inherit distutils-r1
+
+DESCRIPTION="A comprehensive HTTP client library"
+HOMEPAGE="https://pypi.python.org/pypi/httplib2 
https://github.com/jcgregorio/httplib2;
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux 
~x86-linux ~x64-macos"
+IUSE=""
+
+DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
+RDEPEND="app-misc/ca-certificates"
+
+# tests connect to random remote sites
+RESTRICT="test"
+
+PATCHES=( "${FILESDIR}"/${PN}-use-system-cacerts.patch )
+
+python_prepare_all() {
+   chmod o+r */*egg*/* || die
+   distutils-r1_python_prepare_all
+}
+
+python_test() {
+   if [[ ${EPYTHON} == python2.7 ]] ; then
+   cd python2 || die
+   else
+   cd python3 || die
+   fi
+
+   "${PYTHON}" httplib2test.py || die
+}



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

2017-03-12 Thread Zac Medico
commit: 2dd6ea4c5d3cc1666930e85568f266fad99c92e4
Author: Zac Medico  gentoo  org>
AuthorDate: Sun Mar 12 12:24:35 2017 +
Commit: Zac Medico  gentoo  org>
CommitDate: Sun Mar 12 12:24:35 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2dd6ea4c

dev-python/httplib2: Add python3_6 to PYTHON_COMPAT

Package-Manager: Portage-2.3.4, Repoman-2.3.2

 dev-python/httplib2/httplib2-0.10.3.ebuild   | 2 +-
 dev-python/httplib2/httplib2-0.9.2-r2.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-python/httplib2/httplib2-0.10.3.ebuild 
b/dev-python/httplib2/httplib2-0.10.3.ebuild
index d318a5c3438..a12c08521b0 100644
--- a/dev-python/httplib2/httplib2-0.10.3.ebuild
+++ b/dev-python/httplib2/httplib2-0.10.3.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=6
 
-PYTHON_COMPAT=( python{2_7,3_4,3_5} pypy pypy3 )
+PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy pypy3 )
 
 inherit distutils-r1
 

diff --git a/dev-python/httplib2/httplib2-0.9.2-r2.ebuild 
b/dev-python/httplib2/httplib2-0.9.2-r2.ebuild
index b2ceb82be93..063a7624efe 100644
--- a/dev-python/httplib2/httplib2-0.9.2-r2.ebuild
+++ b/dev-python/httplib2/httplib2-0.9.2-r2.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=6
 
-PYTHON_COMPAT=( python{2_7,3_4,3_5} pypy pypy3 )
+PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy pypy3 )
 
 inherit distutils-r1
 



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

2017-02-10 Thread Lars Wendler
commit: 82a7eb160321773695c855821680fbdcacabd46d
Author: Lars Wendler  gentoo  org>
AuthorDate: Fri Feb 10 10:57:32 2017 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Fri Feb 10 10:58:57 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=82a7eb16

dev-python/httplib2: Bump to version 0.10.3

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 dev-python/httplib2/Manifest   |  1 +
 dev-python/httplib2/httplib2-0.10.3.ebuild | 38 ++
 2 files changed, 39 insertions(+)

diff --git a/dev-python/httplib2/Manifest b/dev-python/httplib2/Manifest
index b6fb9194ac..647697d6c4 100644
--- a/dev-python/httplib2/Manifest
+++ b/dev-python/httplib2/Manifest
@@ -1 +1,2 @@
+DIST httplib2-0.10.3.tar.gz 204500 SHA256 
e404d3b7bd86c1bc931906098e7c1305d6a3a6dcef141b8bb1059903abb3ceeb SHA512 
d024986ffd577858017d7a8cfcae98a6cd04b8c89634ea302df4c1443eb2381cecca6ffbb631c9d4260335a3462df6d5604ec485aa591a05cb0231a3f6745aaa
 WHIRLPOOL 
da205bc1bb5ed6d253c857381300eb0eefe9e409abf87799f5706809eb2d06ac76322f03cf6480f1105c5d0c5820c8842268c0bd2af3496828c201c6d01a4689
 DIST httplib2-0.9.2.tar.gz 205165 SHA256 
c3aba1c9539711551f4d83e857b316b5134a1c4ddce98a875b7027be7dd6d988 SHA512 
cf1684f2d072588bc676c02491667480bdd2be0b3494703129d9cfa339d1233e14c0b4895b174d4c2ec5e2f5ae265d165b4e001b180f39f81db2178f91a032f8
 WHIRLPOOL 
d795a016202821870e890531011e7c1c51dbc52f78f79ccf078e85fb3c1155dcf996b2e629b450ba79e34ccdda41e3df3d80293e102c39a76a57d174e51a884e

diff --git a/dev-python/httplib2/httplib2-0.10.3.ebuild 
b/dev-python/httplib2/httplib2-0.10.3.ebuild
new file mode 100644
index 00..b84b76f7b4
--- /dev/null
+++ b/dev-python/httplib2/httplib2-0.10.3.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+PYTHON_COMPAT=( python{2_7,3_4,3_5} pypy pypy3 )
+
+inherit distutils-r1
+
+DESCRIPTION="A comprehensive HTTP client library"
+HOMEPAGE="https://pypi.python.org/pypi/httplib2 
https://github.com/jcgregorio/httplib2;
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux 
~x86-linux ~x64-macos"
+IUSE=""
+
+DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
+
+# tests connect to random remote sites
+RESTRICT="test"
+
+python_prepare_all() {
+   chmod o+r */*egg*/* || die
+   distutils-r1_python_prepare_all
+}
+
+python_test() {
+   if [[ ${EPYTHON} == python2.7 ]] ; then
+   cd python2 || die
+   else
+   cd python3 || die
+   fi
+
+   "${PYTHON}" httplib2test.py || die
+}



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

2017-01-25 Thread Mike Gilbert
commit: e5a2b1033da878bbeac7981180d21d5e17bb6445
Author: Aaron Bauman  gentoo  org>
AuthorDate: Tue Jan 24 07:51:00 2017 +
Commit: Mike Gilbert  gentoo  org>
CommitDate: Wed Jan 25 15:45:06 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e5a2b103

dev-python/httplib2: drop vulnerable wrt bug #468252

 dev-python/httplib2/Manifest  |  1 -
 dev-python/httplib2/httplib2-0.9.1.ebuild | 33 ---
 2 files changed, 34 deletions(-)

diff --git a/dev-python/httplib2/Manifest b/dev-python/httplib2/Manifest
index 1b44c51..b6fb919 100644
--- a/dev-python/httplib2/Manifest
+++ b/dev-python/httplib2/Manifest
@@ -1,2 +1 @@
-DIST httplib2-0.9.1.tar.gz 205074 SHA256 
bc6339919a5235b9d1aaee011ca5464184098f0c47c9098001f91c97176583f5 SHA512 
2005d55c94971163b42366a33578f068b3e1316d59b4d834dc2d2ebcfa050d1492a27d0eefaceea48ed0cc41d8d6d3eb1b401658546a317ff82f0901a441f716
 WHIRLPOOL 
0d680d8a5745313c64cf0704d1e0aafd14e71a923ef3290caa118b867dc2722f087c6cc2977f104a025a2409d86a4561aac5f39718d80c083d58cd953d32b69d
 DIST httplib2-0.9.2.tar.gz 205165 SHA256 
c3aba1c9539711551f4d83e857b316b5134a1c4ddce98a875b7027be7dd6d988 SHA512 
cf1684f2d072588bc676c02491667480bdd2be0b3494703129d9cfa339d1233e14c0b4895b174d4c2ec5e2f5ae265d165b4e001b180f39f81db2178f91a032f8
 WHIRLPOOL 
d795a016202821870e890531011e7c1c51dbc52f78f79ccf078e85fb3c1155dcf996b2e629b450ba79e34ccdda41e3df3d80293e102c39a76a57d174e51a884e

diff --git a/dev-python/httplib2/httplib2-0.9.1.ebuild 
b/dev-python/httplib2/httplib2-0.9.1.ebuild
deleted file mode 100644
index 9da41ed..
--- a/dev-python/httplib2/httplib2-0.9.1.ebuild
+++ /dev/null
@@ -1,33 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI="5"
-
-PYTHON_COMPAT=( python2_7 python3_4 pypy pypy3 )
-
-inherit distutils-r1
-
-DESCRIPTION="A comprehensive HTTP client library"
-HOMEPAGE="https://pypi.python.org/pypi/httplib2 
https://github.com/jcgregorio/httplib2;
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="alpha amd64 arm ~arm64 ia64 ppc ppc64 sparc x86 ~amd64-linux 
~x86-linux ~x64-macos"
-IUSE=""
-
-DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
-
-# tests connect to random remote sites
-RESTRICT="test"
-
-python_test() {
-   if [[ ${EPYTHON} == python2.7 ]] ; then
-   cd python2 || die
-   else
-   cd python3 || die
-   fi
-
-   "${PYTHON}" httplib2test.py || die
-}



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

2016-11-29 Thread Markus Meier
commit: 88858744106f02c029fc7fce963e147b4e2db997
Author: Markus Meier  gentoo  org>
AuthorDate: Tue Nov 29 17:19:42 2016 +
Commit: Markus Meier  gentoo  org>
CommitDate: Tue Nov 29 17:19:42 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=88858744

dev-python/httplib2: arm stable, bug #468252

Package-Manager: portage-2.3.2
RepoMan-Options: --include-arches="arm"

 dev-python/httplib2/httplib2-0.9.2-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/httplib2/httplib2-0.9.2-r2.ebuild 
b/dev-python/httplib2/httplib2-0.9.2-r2.ebuild
index ab3ff62..84d36ab 100644
--- a/dev-python/httplib2/httplib2-0.9.2-r2.ebuild
+++ b/dev-python/httplib2/httplib2-0.9.2-r2.ebuild
@@ -14,7 +14,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="alpha amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc x86 ~amd64-linux 
~x86-linux ~x64-macos"
+KEYWORDS="alpha amd64 arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc x86 ~amd64-linux 
~x86-linux ~x64-macos"
 IUSE=""
 
 DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"



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

2016-11-24 Thread Dirkjan Ochtman
commit: 16644b7a3878be47b02cadc8dfdfb4621101009c
Author: Dirkjan Ochtman  gentoo  org>
AuthorDate: Thu Nov 24 11:40:48 2016 +
Commit: Dirkjan Ochtman  gentoo  org>
CommitDate: Thu Nov 24 11:40:48 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=16644b7a

dev-python/httplib2: remove old version (Google Code)

Package-Manager: portage-2.3.0

 dev-python/httplib2/Manifest|  1 -
 dev-python/httplib2/httplib2-0.8.ebuild | 33 -
 2 files changed, 34 deletions(-)

diff --git a/dev-python/httplib2/Manifest b/dev-python/httplib2/Manifest
index 45bed21..1b44c51 100644
--- a/dev-python/httplib2/Manifest
+++ b/dev-python/httplib2/Manifest
@@ -1,3 +1,2 @@
-DIST httplib2-0.8.tar.gz 148284 SHA256 
af689bc3cb10a95721eb0d0cf806202a699e7799dacd3497f63b48b2ba429c3f SHA512 
3b95b2f64f7b24a638792562e2d8645f9087ab716a105c8771e002507fde3cca9eb7e5de27140a7aed075e70ebd83fbfbda798714a94153b6233b2b704db1176
 WHIRLPOOL 
3aa30e5e4cdb08cb6e8544d2fb82eb02492ce04a5752255ae281389fcc382aceecdb060a3cda0a926eba4bbe15563d379851c97cbcabbb17106696f4a90d4987
 DIST httplib2-0.9.1.tar.gz 205074 SHA256 
bc6339919a5235b9d1aaee011ca5464184098f0c47c9098001f91c97176583f5 SHA512 
2005d55c94971163b42366a33578f068b3e1316d59b4d834dc2d2ebcfa050d1492a27d0eefaceea48ed0cc41d8d6d3eb1b401658546a317ff82f0901a441f716
 WHIRLPOOL 
0d680d8a5745313c64cf0704d1e0aafd14e71a923ef3290caa118b867dc2722f087c6cc2977f104a025a2409d86a4561aac5f39718d80c083d58cd953d32b69d
 DIST httplib2-0.9.2.tar.gz 205165 SHA256 
c3aba1c9539711551f4d83e857b316b5134a1c4ddce98a875b7027be7dd6d988 SHA512 
cf1684f2d072588bc676c02491667480bdd2be0b3494703129d9cfa339d1233e14c0b4895b174d4c2ec5e2f5ae265d165b4e001b180f39f81db2178f91a032f8
 WHIRLPOOL 
d795a016202821870e890531011e7c1c51dbc52f78f79ccf078e85fb3c1155dcf996b2e629b450ba79e34ccdda41e3df3d80293e102c39a76a57d174e51a884e

diff --git a/dev-python/httplib2/httplib2-0.8.ebuild 
b/dev-python/httplib2/httplib2-0.8.ebuild
deleted file mode 100644
index f6d7d2b..
--- a/dev-python/httplib2/httplib2-0.8.ebuild
+++ /dev/null
@@ -1,33 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI="5"
-
-PYTHON_COMPAT=( python{2_7,3_4} pypy pypy3 )
-
-inherit distutils-r1
-
-DESCRIPTION="A comprehensive HTTP client library"
-HOMEPAGE="https://code.google.com/p/httplib2/ 
https://pypi.python.org/pypi/httplib2;
-SRC_URI="https://httplib2.googlecode.com/files/${P}.tar.gz;
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="alpha amd64 arm ia64 ppc ppc64 sparc x86 ~amd64-linux ~x86-linux 
~x64-macos"
-IUSE=""
-
-DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
-
-# tests connect to random remote sites
-RESTRICT="test"
-
-python_test() {
-   if [[ ${EPYTHON} == python2.7 ]] ; then
-   cd python2 || die
-   else
-   cd python3 || die
-   fi
-
-   "${PYTHON}" httplib2test.py || die
-}



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

2016-11-23 Thread Tobias Klausmann
commit: c92e13fdce96babcc92584944fc5b9135614fa8f
Author: Tobias Klausmann  gentoo  org>
AuthorDate: Wed Nov 23 09:19:57 2016 +
Commit: Tobias Klausmann  gentoo  org>
CommitDate: Wed Nov 23 09:20:12 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c92e13fd

dev-python/httplib2-0.9.2-r2: stable on alpha

Gentoo-Bug: 468252

 dev-python/httplib2/httplib2-0.9.2-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/httplib2/httplib2-0.9.2-r2.ebuild 
b/dev-python/httplib2/httplib2-0.9.2-r2.ebuild
index 4aecef1..ab3ff62 100644
--- a/dev-python/httplib2/httplib2-0.9.2-r2.ebuild
+++ b/dev-python/httplib2/httplib2-0.9.2-r2.ebuild
@@ -14,7 +14,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc x86 ~amd64-linux 
~x86-linux ~x64-macos"
+KEYWORDS="alpha amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc x86 ~amd64-linux 
~x86-linux ~x64-macos"
 IUSE=""
 
 DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"



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

2016-11-20 Thread Agostino Sarubbo
commit: 9a3ee8cba138192d3f85df978091bd7b1edef447
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Sun Nov 20 13:08:12 2016 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Sun Nov 20 13:08:12 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9a3ee8cb

dev-python/httplib2: x86 stable wrt bug #468252

Package-Manager: portage-2.3.0
RepoMan-Options: --include-arches="x86"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 dev-python/httplib2/httplib2-0.9.2-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/httplib2/httplib2-0.9.2-r2.ebuild 
b/dev-python/httplib2/httplib2-0.9.2-r2.ebuild
index e9086a7..4aecef1 100644
--- a/dev-python/httplib2/httplib2-0.9.2-r2.ebuild
+++ b/dev-python/httplib2/httplib2-0.9.2-r2.ebuild
@@ -14,7 +14,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux 
~x86-linux ~x64-macos"
+KEYWORDS="~alpha amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc x86 ~amd64-linux 
~x86-linux ~x64-macos"
 IUSE=""
 
 DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"



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

2016-11-20 Thread Agostino Sarubbo
commit: 85787e687c6886ba68b9302446f803c15f149f06
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Sun Nov 20 13:04:20 2016 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Sun Nov 20 13:04:20 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=85787e68

dev-python/httplib2: amd64 stable wrt bug #468252

Package-Manager: portage-2.3.0
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 dev-python/httplib2/httplib2-0.9.2-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/httplib2/httplib2-0.9.2-r2.ebuild 
b/dev-python/httplib2/httplib2-0.9.2-r2.ebuild
index 7382948..e9086a7 100644
--- a/dev-python/httplib2/httplib2-0.9.2-r2.ebuild
+++ b/dev-python/httplib2/httplib2-0.9.2-r2.ebuild
@@ -14,7 +14,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux 
~x86-linux ~x64-macos"
+KEYWORDS="~alpha amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux 
~x86-linux ~x64-macos"
 IUSE=""
 
 DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"



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

2016-11-19 Thread Mike Gilbert
commit: ae0c052e47bbfbbf35afaddcd2e828513c5f5acd
Author: Mike Gilbert  gentoo  org>
AuthorDate: Sat Nov 19 18:42:36 2016 +
Commit: Mike Gilbert  gentoo  org>
CommitDate: Sat Nov 19 18:42:36 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ae0c052e

dev-python/httplib2: apply patch for CVE-2013-2037

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

Package-Manager: portage-2.3.2_p8

 .../files/python-httplib2-0.9-cve-2013-2037.patch   | 21 +
 ...ib2-0.9.2-r1.ebuild => httplib2-0.9.2-r2.ebuild} | 12 
 2 files changed, 29 insertions(+), 4 deletions(-)

diff --git a/dev-python/httplib2/files/python-httplib2-0.9-cve-2013-2037.patch 
b/dev-python/httplib2/files/python-httplib2-0.9-cve-2013-2037.patch
new file mode 100644
index ..6a09337
--- /dev/null
+++ b/dev-python/httplib2/files/python-httplib2-0.9-cve-2013-2037.patch
@@ -0,0 +1,21 @@
+diff -Nur httplib2-0.9.orig/python2/httplib2/__init__.py 
httplib2-0.9/python2/httplib2/__init__.py
+--- httplib2-0.9.orig/python2/httplib2/__init__.py 2015-04-03 
13:10:43.401035131 -0600
 httplib2-0.9/python2/httplib2/__init__.py  2015-04-03 13:10:08.470685647 
-0600
+@@ -1042,7 +1042,7 @@
+ raise CertificateHostnameMismatch(
+ 'Server presented certificate that does not match 
'
+ 'host %s: %s' % (hostname, cert), hostname, cert)
+-except ssl_SSLError, e:
++except (ssl_SSLError, CertificateHostnameMismatch), e:
+ if sock:
+ sock.close()
+ if self.sock:
+@@ -1052,7 +1052,7 @@
+ # to get at more detailed error information, in particular
+ # whether the error is due to certificate validation or
+ # something else (such as SSL protocol mismatch).
+-if e.errno == ssl.SSL_ERROR_SSL:
++if hasattr(e, 'errno') and e.errno == ssl.SSL_ERROR_SSL:
+ raise SSLHandshakeError(e)
+ else:
+ raise

diff --git a/dev-python/httplib2/httplib2-0.9.2-r1.ebuild 
b/dev-python/httplib2/httplib2-0.9.2-r2.ebuild
similarity index 71%
rename from dev-python/httplib2/httplib2-0.9.2-r1.ebuild
rename to dev-python/httplib2/httplib2-0.9.2-r2.ebuild
index 9fe30a1b..7382948 100644
--- a/dev-python/httplib2/httplib2-0.9.2-r1.ebuild
+++ b/dev-python/httplib2/httplib2-0.9.2-r2.ebuild
@@ -1,10 +1,10 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
-EAPI=5
+EAPI=6
 
-PYTHON_COMPAT=( python2_7 python3_{4,5} pypy pypy3 )
+PYTHON_COMPAT=( python{2_7,3_4,3_5} pypy pypy3 )
 
 inherit distutils-r1
 
@@ -14,7 +14,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux 
~x86-linux ~x64-macos"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux 
~x86-linux ~x64-macos"
 IUSE=""
 
 DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
@@ -22,6 +22,10 @@ DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
 # tests connect to random remote sites
 RESTRICT="test"
 
+PATCHES=(
+   "${FILESDIR}/python-httplib2-0.9-cve-2013-2037.patch"
+)
+
 python_prepare_all() {
chmod o+r */*egg*/* || die
distutils-r1_python_prepare_all



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

2016-02-27 Thread Matt Thode
commit: 25df748e4b66c196ad1abbb8caf3cd6da264e3b0
Author: Matthew Thode  gentoo  org>
AuthorDate: Sun Feb 28 07:19:52 2016 +
Commit: Matt Thode  gentoo  org>
CommitDate: Sun Feb 28 07:19:52 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=25df748e

dev-python/httplib2: keywording arm64

merged on X-C1

Package-Manager: portage-2.2.26

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

diff --git a/dev-python/httplib2/httplib2-0.9.1.ebuild 
b/dev-python/httplib2/httplib2-0.9.1.ebuild
index b00504e..0435ec3 100644
--- a/dev-python/httplib2/httplib2-0.9.1.ebuild
+++ b/dev-python/httplib2/httplib2-0.9.1.ebuild
@@ -14,7 +14,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="alpha amd64 arm ia64 ppc ppc64 sparc x86 ~amd64-linux ~x86-linux 
~x64-macos"
+KEYWORDS="alpha amd64 arm ~arm64 ia64 ppc ppc64 sparc x86 ~amd64-linux 
~x86-linux ~x64-macos"
 IUSE=""
 
 DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"



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

2016-02-16 Thread Mike Frysinger
commit: c7b2796688c0b6a8da86a42920705e573b28f3be
Author: Mike Frysinger  gentoo  org>
AuthorDate: Tue Feb 16 20:34:45 2016 +
Commit: Mike Frysinger  gentoo  org>
CommitDate: Tue Feb 16 20:41:46 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c7b27966

dev-python/httplib2: mark 0.9.1 alpha/arm/ia64/ppc/ppc64/sparc stable #570990

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

diff --git a/dev-python/httplib2/httplib2-0.9.1.ebuild 
b/dev-python/httplib2/httplib2-0.9.1.ebuild
index 05c7c26..b00504e 100644
--- a/dev-python/httplib2/httplib2-0.9.1.ebuild
+++ b/dev-python/httplib2/httplib2-0.9.1.ebuild
@@ -14,7 +14,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc x86 ~amd64-linux 
~x86-linux ~x64-macos"
+KEYWORDS="alpha amd64 arm ia64 ppc ppc64 sparc x86 ~amd64-linux ~x86-linux 
~x64-macos"
 IUSE=""
 
 DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"



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

2016-01-20 Thread Andreas Schuerch
commit: 35420df8474a85a88352f02192b2f4565aee84fc
Author: Andreas Schuerch  gentoo  org>
AuthorDate: Wed Jan 20 15:22:01 2016 +
Commit: Andreas Schuerch  gentoo  org>
CommitDate: Wed Jan 20 15:22:01 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=35420df8

dev-python/httplib2: 0.9.1 stable on x86, see bug 570990

Package-Manager: portage-2.2.26

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

diff --git a/dev-python/httplib2/httplib2-0.9.1.ebuild 
b/dev-python/httplib2/httplib2-0.9.1.ebuild
index 2388d06..05c7c26 100644
--- a/dev-python/httplib2/httplib2-0.9.1.ebuild
+++ b/dev-python/httplib2/httplib2-0.9.1.ebuild
@@ -14,7 +14,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux 
~x86-linux ~x64-macos"
+KEYWORDS="~alpha amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc x86 ~amd64-linux 
~x86-linux ~x64-macos"
 IUSE=""
 
 DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"



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

2016-01-14 Thread Agostino Sarubbo
commit: 56c0351dcba885722fdf523cf208b00042c57b6a
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Thu Jan 14 11:55:39 2016 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Thu Jan 14 11:55:39 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=56c0351d

dev-python/httplib2: amd64 stable wrt bug #570990

Package-Manager: portage-2.2.26
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

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

diff --git a/dev-python/httplib2/httplib2-0.9.1.ebuild 
b/dev-python/httplib2/httplib2-0.9.1.ebuild
index 78cdde8..2388d06 100644
--- a/dev-python/httplib2/httplib2-0.9.1.ebuild
+++ b/dev-python/httplib2/httplib2-0.9.1.ebuild
@@ -14,7 +14,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux 
~x86-linux ~x64-macos"
+KEYWORDS="~alpha amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux 
~x86-linux ~x64-macos"
 IUSE=""
 
 DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"



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

2015-11-24 Thread Justin Lecher
commit: f89790122561c79fb31b765a95f3732c65d51e3d
Author: Justin Lecher  gentoo  org>
AuthorDate: Tue Nov 24 08:54:29 2015 +
Commit: Justin Lecher  gentoo  org>
CommitDate: Tue Nov 24 12:10:17 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f8979012

dev-python/httplib2: Add python3.5 support

Package-Manager: portage-2.2.25
Signed-off-by: Justin Lecher  gentoo.org>

 dev-python/httplib2/httplib2-0.9.2-r1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-python/httplib2/httplib2-0.9.2-r1.ebuild 
b/dev-python/httplib2/httplib2-0.9.2-r1.ebuild
index 20df284..5bb4d8e 100644
--- a/dev-python/httplib2/httplib2-0.9.2-r1.ebuild
+++ b/dev-python/httplib2/httplib2-0.9.2-r1.ebuild
@@ -2,9 +2,9 @@
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
-EAPI="5"
+EAPI=5
 
-PYTHON_COMPAT=( python2_7 python3_{3,4} pypy pypy3 )
+PYTHON_COMPAT=( python2_7 python3_{3,4,5} pypy pypy3 )
 
 inherit distutils-r1
 



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

2015-09-29 Thread Justin Lecher
commit: fbe6ff561b7a137fd273981ae77947d19b23fa75
Author: Justin Lecher  gentoo  org>
AuthorDate: Tue Sep 29 08:19:36 2015 +
Commit: Justin Lecher  gentoo  org>
CommitDate: Tue Sep 29 08:34:45 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fbe6ff56

dev-python/httplib2: Set readable bit for egg

Package-Manager: portage-2.2.22
Signed-off-by: Justin Lecher  gentoo.org>

 .../httplib2/{httplib2-0.9.2.ebuild => httplib2-0.9.2-r1.ebuild} | 5 +
 1 file changed, 5 insertions(+)

diff --git a/dev-python/httplib2/httplib2-0.9.2.ebuild 
b/dev-python/httplib2/httplib2-0.9.2-r1.ebuild
similarity index 89%
rename from dev-python/httplib2/httplib2-0.9.2.ebuild
rename to dev-python/httplib2/httplib2-0.9.2-r1.ebuild
index 78cdde8..20df284 100644
--- a/dev-python/httplib2/httplib2-0.9.2.ebuild
+++ b/dev-python/httplib2/httplib2-0.9.2-r1.ebuild
@@ -22,6 +22,11 @@ DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
 # tests connect to random remote sites
 RESTRICT="test"
 
+python_prepare_all() {
+   chmod o+r */*egg*/* || die
+   distutils-r1_python_prepare_all
+}
+
 python_test() {
if [[ ${EPYTHON} == python2.7 ]] ; then
cd python2 || die



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

2015-09-29 Thread Justin Lecher
commit: 47c16b77686a0bc6e8e9f4bcfbcf2cf9dc08b29f
Author: Justin Lecher  gentoo  org>
AuthorDate: Tue Sep 29 07:28:09 2015 +
Commit: Justin Lecher  gentoo  org>
CommitDate: Tue Sep 29 07:28:19 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=47c16b77

dev-python/httplib2: Version Bump

Package-Manager: portage-2.2.22
Signed-off-by: Justin Lecher  gentoo.org>

 dev-python/httplib2/Manifest  |  1 +
 dev-python/httplib2/httplib2-0.9.2.ebuild | 33 +++
 2 files changed, 34 insertions(+)

diff --git a/dev-python/httplib2/Manifest b/dev-python/httplib2/Manifest
index 64988dd..45bed21 100644
--- a/dev-python/httplib2/Manifest
+++ b/dev-python/httplib2/Manifest
@@ -1,2 +1,3 @@
 DIST httplib2-0.8.tar.gz 148284 SHA256 
af689bc3cb10a95721eb0d0cf806202a699e7799dacd3497f63b48b2ba429c3f SHA512 
3b95b2f64f7b24a638792562e2d8645f9087ab716a105c8771e002507fde3cca9eb7e5de27140a7aed075e70ebd83fbfbda798714a94153b6233b2b704db1176
 WHIRLPOOL 
3aa30e5e4cdb08cb6e8544d2fb82eb02492ce04a5752255ae281389fcc382aceecdb060a3cda0a926eba4bbe15563d379851c97cbcabbb17106696f4a90d4987
 DIST httplib2-0.9.1.tar.gz 205074 SHA256 
bc6339919a5235b9d1aaee011ca5464184098f0c47c9098001f91c97176583f5 SHA512 
2005d55c94971163b42366a33578f068b3e1316d59b4d834dc2d2ebcfa050d1492a27d0eefaceea48ed0cc41d8d6d3eb1b401658546a317ff82f0901a441f716
 WHIRLPOOL 
0d680d8a5745313c64cf0704d1e0aafd14e71a923ef3290caa118b867dc2722f087c6cc2977f104a025a2409d86a4561aac5f39718d80c083d58cd953d32b69d
+DIST httplib2-0.9.2.tar.gz 205165 SHA256 
c3aba1c9539711551f4d83e857b316b5134a1c4ddce98a875b7027be7dd6d988 SHA512 
cf1684f2d072588bc676c02491667480bdd2be0b3494703129d9cfa339d1233e14c0b4895b174d4c2ec5e2f5ae265d165b4e001b180f39f81db2178f91a032f8
 WHIRLPOOL 
d795a016202821870e890531011e7c1c51dbc52f78f79ccf078e85fb3c1155dcf996b2e629b450ba79e34ccdda41e3df3d80293e102c39a76a57d174e51a884e

diff --git a/dev-python/httplib2/httplib2-0.9.2.ebuild 
b/dev-python/httplib2/httplib2-0.9.2.ebuild
new file mode 100644
index 000..78cdde8
--- /dev/null
+++ b/dev-python/httplib2/httplib2-0.9.2.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+PYTHON_COMPAT=( python2_7 python3_{3,4} pypy pypy3 )
+
+inherit distutils-r1
+
+DESCRIPTION="A comprehensive HTTP client library"
+HOMEPAGE="https://pypi.python.org/pypi/httplib2 
https://github.com/jcgregorio/httplib2;
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux 
~x86-linux ~x64-macos"
+IUSE=""
+
+DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
+
+# tests connect to random remote sites
+RESTRICT="test"
+
+python_test() {
+   if [[ ${EPYTHON} == python2.7 ]] ; then
+   cd python2 || die
+   else
+   cd python3 || die
+   fi
+
+   "${PYTHON}" httplib2test.py || die
+}