diff options
Diffstat (limited to 'dev-python/httplib2')
-rw-r--r-- | dev-python/httplib2/Manifest | 7 | ||||
-rw-r--r-- | dev-python/httplib2/files/httplib2-0.12.1-use-system-cacerts.patch | 26 | ||||
-rw-r--r-- | dev-python/httplib2/httplib2-0.10.3-r1.ebuild | 4 | ||||
-rw-r--r-- | dev-python/httplib2/httplib2-0.11.3.ebuild | 2 | ||||
-rw-r--r-- | dev-python/httplib2/httplib2-0.12.1.ebuild | 39 |
5 files changed, 73 insertions, 5 deletions
diff --git a/dev-python/httplib2/Manifest b/dev-python/httplib2/Manifest index 5e79e49a90f5..d3f5e0fb13c3 100644 --- a/dev-python/httplib2/Manifest +++ b/dev-python/httplib2/Manifest @@ -1,7 +1,10 @@ AUX httplib2-0.11.3-use-system-cacerts.patch 2252 BLAKE2B 37cc1122f0f7859f4f26af03d45ed67202ecdecbb19b3a513dca8c723c490c17392c719bcac0937c2c52ba30238ac193b477b2bf8bb4dc84cff0ac1a364c9759 SHA512 a8a34d77dba477ae30bfcdf38544c09006e409ab9a7cd8419d4f3a061199eb53b96df13175e32e87085ee75cd7c1d403c1aa6f3929ddce301b4927bfc9eac543 +AUX httplib2-0.12.1-use-system-cacerts.patch 582 BLAKE2B ee2a407452ab557eec0934a175958ac7f1d1af3ad588b7f288b9e9f0a3d2b08146fdee05943e2681a1462986098256fa818d9561a4541ba0ed3b95984172271f SHA512 ff1b982e9f95f6efa53064b2a8d2748bf5a91a26fdaeb584f044d8e036b91034dbcf4719cb08855de412d6abcc33fe82e18fbd250c14d0ae2fea47b412fcafc3 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 963 BLAKE2B 023a09283c555df784315c75af3da17e0899bd9286c9d8bf532f280fa18fa3d8a9d74eb7e3c82791212026d9c85c8360681f055e54d4ebb15205496d1c4618ca SHA512 61eb164353a8ed14de4ea20dea40200963504b2bfd28fa7630e13dcdf1ee9d42d18ac7c990c8c8458c6d3c75058608a4b5e52d57905894f902da49bc69333572 +DIST httplib2-0.12.1.tar.gz 218582 BLAKE2B 98c41a96b4e78897e803dbac3d6fedb25ad78f48d0b14ea29340f18da66be4622c7f0ae49acb2f4abca9542a174295d91aa21a6313b15501c4c1e590720a40bb SHA512 b083f0f5e22b384fd61eac428c1c60209702cf595762eadf6734afcf3cef6c3df8c7f2bedc5d782a4a6120a1dec51f910298f678c634c6b5e5d31348d9e10d25 +EBUILD httplib2-0.10.3-r1.ebuild 935 BLAKE2B e2257cc6984e94b06cc07a6179501a9aa83b947a05f9a30efd93f8771e733e516c588361e62355ed89e27200c6ccbd505c3edf14d7ef5427875c64ab8b1c6b46 SHA512 3842aca942c11e96386e9d8aad2939816ada9cc6b97089d226044bec978be8b2d6799a7628ba45fda20596745e46d4934aea8b6f270e5e100dccc702de83241c +EBUILD httplib2-0.11.3.ebuild 961 BLAKE2B 63cce5b170da61a1f6992e7e6a3a416cab109771062cda3abf73c69a9fe6ec7d7b41a18efb6354f5472534108976f6e91458ce22a9f54f0a214ddb3a85761717 SHA512 56807467df22c7e8f34378033c74e9b87850a0a1b64a0d9ee1f3454607eae9da2878c21d90cedaf120b76fc9c986a1c98c989ef5d00e9729d76ed53d99f8db48 +EBUILD httplib2-0.12.1.ebuild 960 BLAKE2B 735c5a52871671f58708e9f87be95c628e622f3c2ac7495e4c8a2a7cdd2ecbb70c4c11c0c184ca88fc05bd5bdf2d69df51eb24086e211caa91b98e46342ba4f0 SHA512 433c94511fde80b7c7b676f0f9c25ba27c3defdcfb4225bc431a3b35caba1d3e1c6344b18bab6decf6156c3b16d3689c619c6a7aff747fda4b647d088c46dfdf MISC metadata.xml 437 BLAKE2B a688f70bc4de310ac3b250f2832c0803e25ea04fcc6a2b5569fc18f90b46f01ef0978bbccae980faaf74f385bed83b3da8179434614851da491ec62c0cfe92ef SHA512 fae017eb657512165f1d931910349a683417f98de8d70248d6b898a1e038212b9c2b1baebeae818126badbb57efb3b3ba1d647b25b759376ba5c3a719ed900a9 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 000000000000..e189a5407243 --- /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.10.3-r1.ebuild b/dev-python/httplib2/httplib2-0.10.3-r1.ebuild index 0dac092d04eb..b0d66b2e0c5c 100644 --- a/dev-python/httplib2/httplib2-0.10.3-r1.ebuild +++ b/dev-python/httplib2/httplib2-0.10.3-r1.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2017 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_{5,6} pypy pypy3 ) inherit distutils-r1 diff --git a/dev-python/httplib2/httplib2-0.11.3.ebuild b/dev-python/httplib2/httplib2-0.11.3.ebuild index 5d1a3b0a80bb..7c0a14635e85 100644 --- a/dev-python/httplib2/httplib2-0.11.3.ebuild +++ b/dev-python/httplib2/httplib2-0.11.3.ebuild @@ -3,7 +3,7 @@ EAPI=6 -PYTHON_COMPAT=( python2_7 python3_{4,5,6,7} pypy pypy3 ) +PYTHON_COMPAT=( python2_7 python3_{5,6,7} pypy pypy3 ) inherit distutils-r1 diff --git a/dev-python/httplib2/httplib2-0.12.1.ebuild b/dev-python/httplib2/httplib2-0.12.1.ebuild new file mode 100644 index 000000000000..ea68c21b0a1a --- /dev/null +++ b/dev-python/httplib2/httplib2-0.12.1.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 +} |