diff options
Diffstat (limited to 'dev-python/requests')
-rw-r--r-- | dev-python/requests/Manifest | 1 | ||||
-rw-r--r-- | dev-python/requests/requests-2.18.4.ebuild | 52 |
2 files changed, 53 insertions, 0 deletions
diff --git a/dev-python/requests/Manifest b/dev-python/requests/Manifest index 19fcc1a16ada..ec0775052dac 100644 --- a/dev-python/requests/Manifest +++ b/dev-python/requests/Manifest @@ -4,4 +4,5 @@ DIST requests-2.13.0.tar.gz 557508 SHA256 5722cd09762faa01276230270ff16af7acf7c5 DIST requests-2.14.2.tar.gz 521027 SHA256 a274abba399a23e8713ffd2b5706535ae280ebe2b8069ee6a941cb089440d153 SHA512 f6531ada6d854a261cad874044daa9e7f79d55c8f8fcfec1b25862563127318fbf717ed640644ddf0dbe4d7fe1298d478fcd76825a3604e06cefae5990fa9dd4 WHIRLPOOL e242d8182312b437a27bdc1d4a099d7db0c6135b3de29c0285ba60f6a72e1102941603cc551d8f3a4597f479c7d9409eef073c25b2411df93d0903d9f87b316f DIST requests-2.18.1.tar.gz 124229 SHA256 c6f3bdf4a4323ac7b45d01e04a6f6c20e32a052cd04de81e05103abc049ad9b9 SHA512 d7482ddce36ce633bee830bc8d9f9a207e1c20595378f7c60dcef01cab016a16704965f3b52e3faac63dd50fbe7c61d575742e71f51a2b8d41c1922df2dbaa06 WHIRLPOOL c1cf2544fdb4a7eb6536ff97847a15d786a9f1dcb7509e089a9d73e9372e5c6735b35a1c0d6e33580d933f573b3b3c3a1b48af2755563f04893daf66a114c8df DIST requests-2.18.2.tar.gz 125381 SHA256 5b26fcc5e72757a867e4d562333f841eddcef93548908a1bb1a9207260618da9 SHA512 b78660e5370f9acc458159edda385fbcbbb33b0703fa2c83400f3c08fe05253f357175e2ad76c5bff4bd942ab18da5df344473e9b5a924d7457596c0ff9bfbc6 WHIRLPOOL ed0d8ffb2cefeab6f3230fcb68e585650afb0772239c33002ae34050fc805256bb2c2c837dcad55aa4029972f9e60595256dee6f89ec493b399c499fd155c71b +DIST requests-2.18.4.tar.gz 126224 SHA256 9c443e7324ba5b85070c4a818ade28bfabedf16ea10206da1132edaa6dda237e SHA512 5c59bed82ac1094194f04a973b299f7d783264d372abd7a5229295bccc6b2f7a9f082ee4b0dff348e9c22cf68ddbd7cb67f60fd0b7d9eda41c02e40d075e9472 WHIRLPOOL ffdf4466188ef2c3545387a04b164eefdbc47d03bdd7d5114f783cd10935ba42d8f7016be40bf4c6710681d96ea37f16840a18e334b9d1d86cabd4b04ab9d6a3 DIST requests-2.8.1.tar.gz 480803 SHA256 84fe8d5bf4dcdcc49002446c47a146d17ac10facf00d9086659064ac43b6c25b SHA512 bccec89165596df3af3f46eb43b5b28b595752485b00ed73978ef76fa6b8a8961c3db046c3f91ff34fa390f037322f6e13b141ba9b600a836a6d798086bd13fb WHIRLPOOL 445e0e12f5900c3396ae7a76d0010b9c4a4ff2c79c51dfc88f117918e436a4d67ea25de39f252cacaabd737b7b1542374172a2b6f482d7ffe1f7514d1cb4a06b diff --git a/dev-python/requests/requests-2.18.4.ebuild b/dev-python/requests/requests-2.18.4.ebuild new file mode 100644 index 000000000000..50f154c78a6e --- /dev/null +++ b/dev-python/requests/requests-2.18.4.ebuild @@ -0,0 +1,52 @@ +# 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{,3} ) +PYTHON_REQ_USE="threads(+)" + +inherit distutils-r1 + +DESCRIPTION="HTTP library for human beings" +HOMEPAGE="http://python-requests.org/" +SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x64-cygwin ~x86-fbsd ~amd64-linux ~x86-linux ~x64-macos ~x86-macos ~x64-solaris" +IUSE="socks5 +ssl" + +RDEPEND=" + >=dev-python/certifi-2017.4.17[${PYTHON_USEDEP}] + >=dev-python/chardet-3.0.2[${PYTHON_USEDEP}] + >=dev-python/idna-2.5[${PYTHON_USEDEP}] + <dev-python/idna-2.7[${PYTHON_USEDEP}] + >=dev-python/urllib3-1.21.1[${PYTHON_USEDEP}] + socks5? ( >=dev-python/PySocks-1.5.6[${PYTHON_USEDEP}] ) + ssl? ( + >=dev-python/cryptography-1.3.4[${PYTHON_USEDEP}] + >=dev-python/pyopenssl-0.14[$(python_gen_usedep 'python*' pypy)] + ) +" + +DEPEND="${RDEPEND} + dev-python/setuptools[${PYTHON_USEDEP}] +" + +# tests connect to various remote sites +RESTRICT="test" + +#DEPEND+=" +# test? ( +# dev-python/pytest[${PYTHON_USEDEP}] +# dev-python/pytest-httpbin[${PYTHON_USEDEP}] +# dev-python/pytest-mock[${PYTHON_USEDEP}] +# dev-python/pytest-xdist[${PYTHON_USEDEP}] +# >=dev-python/PySocks-1.5.6[${PYTHON_USEDEP}] +# ) +#" + +python_test() { + py.test || die +} |