From 1798c4aeca70ac8d0a243684d6a798fbc65735f8 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 14 Jul 2018 20:57:42 +0100 Subject: gentoo resync : 14.07.2018 --- dev-python/httplib2/Manifest | 7 --- .../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/metadata.xml | 13 ----- 6 files changed, 218 deletions(-) delete mode 100644 dev-python/httplib2/Manifest delete mode 100644 dev-python/httplib2/files/httplib2-0.11.3-use-system-cacerts.patch delete mode 100644 dev-python/httplib2/files/httplib2-use-system-cacerts.patch delete mode 100644 dev-python/httplib2/httplib2-0.10.3-r1.ebuild delete mode 100644 dev-python/httplib2/httplib2-0.11.3.ebuild delete mode 100644 dev-python/httplib2/metadata.xml (limited to 'dev-python/httplib2') diff --git a/dev-python/httplib2/Manifest b/dev-python/httplib2/Manifest deleted file mode 100644 index a2cea03a894c..000000000000 --- a/dev-python/httplib2/Manifest +++ /dev/null @@ -1,7 +0,0 @@ -AUX httplib2-0.11.3-use-system-cacerts.patch 2252 BLAKE2B 37cc1122f0f7859f4f26af03d45ed67202ecdecbb19b3a513dca8c723c490c17392c719bcac0937c2c52ba30238ac193b477b2bf8bb4dc84cff0ac1a364c9759 SHA512 a8a34d77dba477ae30bfcdf38544c09006e409ab9a7cd8419d4f3a061199eb53b96df13175e32e87085ee75cd7c1d403c1aa6f3929ddce301b4927bfc9eac543 -AUX httplib2-use-system-cacerts.patch 2357 BLAKE2B 0a169ed30f7cc6736fae31a25d21d7efe2ae587808c7d9ce23ad0f8b507f51751054cd7079bfca55f9b3496b4806180f28da9acf0dd812ff16f14d9bb03749e7 SHA512 08022280948e530890664f8af9fa5d3776b14526bbe2c55151b3631473b100b96c3c353ffd8df5a4d03d553ce24f962dec53307f7e23c257404920247940ff8f -DIST httplib2-0.10.3.tar.gz 204500 BLAKE2B f71d679b42865bd8e56f708e71d475bfc6988267b07cf7af298ae7ba2c132a67fa04f54f36dfa0d222f86f421ade40724638fdc5840f340da0e8e1a717bb6cdd SHA512 d024986ffd577858017d7a8cfcae98a6cd04b8c89634ea302df4c1443eb2381cecca6ffbb631c9d4260335a3462df6d5604ec485aa591a05cb0231a3f6745aaa -DIST httplib2-0.11.3.tar.gz 215815 BLAKE2B 912d7cf56b941cc5ecaac23e16e20c17a31dc81b1ecb755cd3be36f0aaaf62302a760ca82104abb9052ee5c7d0c91baf04425303d124165085a06a20a66e5ba1 SHA512 e74be0ba945aaf5836ef14f4b8262e2be4b7f2a1df52b60f8ae7109d9727e117a69a8b7e4f524fb91997781af031a8a7c2112a7ab2b5d9f5c94b04a56aa04659 -EBUILD httplib2-0.10.3-r1.ebuild 940 BLAKE2B 0298eb3562438abd69645aa560e61d1c7c8afe32ec7cee359c1808e25fb2bf9bf4627eb4f292171a8068dfd47871b1cd05879c7f6e41b68b351f08e08f028e33 SHA512 1f3821451c34e16d71da69d857e0c3ac49a1f792843beb56db7ca85bdf7af7609626d511258b65d5bedbf4f1d6ba14ead2f413e35b124f06dc3994fb3cca117f -EBUILD httplib2-0.11.3.ebuild 964 BLAKE2B bb0b4ef07c9421787815bd8dbd01876a61f4ef70ed4c4125495d40218bb3b2da0915bbeec574674d27e2d7ca2c79494a5b00e0813ba526566f6f6b8f1f2c4857 SHA512 90e3267f5bac5d963d8c0105b5b90e6702c99ac24ef0dc81d3678f6fe940ec07a1b8b5c2d3a60a4d86b8b2eed858c06b0b3153bb3c17d1573846c0215505f8db -MISC metadata.xml 437 BLAKE2B a688f70bc4de310ac3b250f2832c0803e25ea04fcc6a2b5569fc18f90b46f01ef0978bbccae980faaf74f385bed83b3da8179434614851da491ec62c0cfe92ef SHA512 fae017eb657512165f1d931910349a683417f98de8d70248d6b898a1e038212b9c2b1baebeae818126badbb57efb3b3ba1d647b25b759376ba5c3a719ed900a9 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 8aace02c54d4..000000000000 --- 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 @@ - """, - package_dir=pkgdir, - packages=['httplib2'], -- package_data={'httplib2': ['*.txt']}, - classifiers=( - 'Development Status :: 4 - Beta', - 'Environment :: Web Environment', diff --git a/dev-python/httplib2/files/httplib2-use-system-cacerts.patch b/dev-python/httplib2/files/httplib2-use-system-cacerts.patch deleted file mode 100644 index cff65bb75ea5..000000000000 --- a/dev-python/httplib2/files/httplib2-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 -@@ -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 deleted file mode 100644 index 0dac092d04eb..000000000000 --- a/dev-python/httplib2/httplib2-0.10.3-r1.ebuild +++ /dev/null @@ -1,40 +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.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}-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 -} diff --git a/dev-python/httplib2/httplib2-0.11.3.ebuild b/dev-python/httplib2/httplib2-0.11.3.ebuild deleted file mode 100644 index d320d3aad252..000000000000 --- a/dev-python/httplib2/httplib2-0.11.3.ebuild +++ /dev/null @@ -1,40 +0,0 @@ -# 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=( "${FILESDIR}"/${PN}-0.11.3-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/metadata.xml b/dev-python/httplib2/metadata.xml deleted file mode 100644 index a3e1442dc0b5..000000000000 --- a/dev-python/httplib2/metadata.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - python@gentoo.org - Python - - - httplib2 - httplib2 - jcgregorio/httplib2 - - -- cgit v1.2.3