diff options
Diffstat (limited to 'dev-python/requests-toolbelt')
-rw-r--r-- | dev-python/requests-toolbelt/Manifest | 2 | ||||
-rw-r--r-- | dev-python/requests-toolbelt/requests-toolbelt-0.9.1.ebuild | 40 |
2 files changed, 42 insertions, 0 deletions
diff --git a/dev-python/requests-toolbelt/Manifest b/dev-python/requests-toolbelt/Manifest index 64f9055f8e40..57a29344feb8 100644 --- a/dev-python/requests-toolbelt/Manifest +++ b/dev-python/requests-toolbelt/Manifest @@ -3,8 +3,10 @@ DIST requests-toolbelt-0.5.1.tar.gz 187981 BLAKE2B 1e3cfafd8e0b8625dc92ff40bf88d DIST requests-toolbelt-0.7.0.tar.gz 194062 BLAKE2B ea7120e58ea23dbe1d17bc2f8c346ec00bd00d62a4c8fdefa1490b9b3ed62a0dcf45ce60b071fcbc7e510d943ec4f10a7031525bd24f5fb02749125cbccc9f0b SHA512 77f11d12643d7cacf0c5dab5c5490359fc6f11c038d56d6ae27939394c5788622edb230d38d2202192eec6a7b1229feeb5669cd6a33c78f6891699d017e8205e DIST requests-toolbelt-0.7.1.tar.gz 194670 BLAKE2B 3f8b5950d3a87f519f40e2d21bce13ba2d3ed205b5d7f4fa0872339df391e5477f262b104697b264a75783d686eb44231ff2943bfe56f13695d63869227c48c5 SHA512 2559db13054c4d9b7c459603809a16d8d9a9c1a348369e1bc68e557bae10c41291286112e3b4a71e83b42203d40fa5cbc8441028693eeb986162d212a65f68ac DIST requests-toolbelt-0.8.0.tar.gz 196129 BLAKE2B 435059ff2879c44a274641c49adae9986c761fcabe567826454d3f055db7e3e5c95905f1d178dcb37e2173bf856a9fb168a856c1301026e8c5d0de6cafb4be51 SHA512 71a4ed8961b742cb1b5b0deec7f9052a2a177d2ed6e4f13ebe22b56b7f1b6b1bad2736f1640c8b41398b082eddc1c1205f0c446602d979d5bf370fb0e10ecc88 +DIST requests-toolbelt-0.9.1.tar.gz 207286 BLAKE2B 6123677a9abafebddf7dffde2150b2426b5132ebe0c330ff891322ecc3d69232a5b15a0c66e3e1fb4832dc04f5a636a939613fba041e499e9fbca9814f548c7e SHA512 12229928df5df71cb57bc65ef453dc0e4a2bbe190c1579811b2c2823673bd81aeba856b00000fa20b253d0f0fa4fff55ea1e750794ca3785f71c376b1df7fd93 EBUILD requests-toolbelt-0.5.1.ebuild 489 BLAKE2B 4cff955e05c70096f61c16b8ef0317fa5fe630a8cd040cef4ca04f3b4a59d171722f1b70960d01ecaa72823462d33a71e9fe8d39abbfb824300e561e8296733f SHA512 ad842f351e7d2ca8b8e0f442aa816e9fde6d8e3b5c198568cb8295ad34d55bd8dd8cedc2134f8e71c5480d100f6153809de37b3e7c8ea85849509c9a3f819d8d EBUILD requests-toolbelt-0.7.0.ebuild 489 BLAKE2B a7e893356fb041f13bfb37c72b2e2bc8f79dbd4787a1d7bd95312f6edab39c82c627cc1e5f074b56ed750f6d8ec891258a9c498ea1b4fb7eb45dd51ca7c81c09 SHA512 bbe8529cf6abe455edcf1fb8b4556411aa7a4cdde54f71d89c4906a1c9c4ce385c437c55a35660bf47ef54344351c80ac7db0d4147ca37b12d5d05b4de50cc30 EBUILD requests-toolbelt-0.7.1.ebuild 759 BLAKE2B 385251bcac0036c48fccc83456ece8aa12e34322aec749488fca694b4e28f25647d0f8112c36aca08d9a74bb6c5055581b5d575909f5c461ea4f4998cb562879 SHA512 b7680df8a24d8f5e994d890c0cf962f274e0e8b2bdda857af673669c0d2af69d860f2cf11658bd0d434ffe54b0703ce9a75b0e1fedf16226a7b066936c81ac5e EBUILD requests-toolbelt-0.8.0.ebuild 1042 BLAKE2B 7f94fcd22dea93322e3faa641fb54e0e4856191894912b8387806dacaa12386f338a257aba012c5a084fdd3a5738fd28f732c795346b4f0a5e7409d170ef4f14 SHA512 618f44f24bad2cffe25c3ded828593d9ede70edae37d83f60e38ea5c1ab48ea75610e23d0825e2532c497559d9a02534f2687f80886995f024908b858affa1b7 +EBUILD requests-toolbelt-0.9.1.ebuild 1048 BLAKE2B 7a0b3298b0fdf56da4432a7359f72e5686ed8a9242c29bce5661f224ade3126f5ef54a160a13a314f4d6a35d5b6dd6e1292f27c4068cd2af579318fa3347cbb0 SHA512 0abcae87d4e0086c549510aceb91178efa02de20a3739d663dc48d479c8c96bc64adc0a96aa3f7b06af69bbf31ac7ab84e937b0e7d0ee7c865d6e118e0b3e840 MISC metadata.xml 297 BLAKE2B 0dbab9c3d9697a1ac5ab03c7111a1862d977546c23cf42967669a6e3a19eff6e81b2a0701cfc2e11904c220026a5bc7b19934cca17339ab7f9037891ab5b2c8f SHA512 46897583f3474724b466e1d1a6b5e0d4c4d557730ce38c809ac2224d2b1dec3e844c0b66b7b6d9f5e60f82cd51a791c1a3ddf545d9898d70038ea2af183a8691 diff --git a/dev-python/requests-toolbelt/requests-toolbelt-0.9.1.ebuild b/dev-python/requests-toolbelt/requests-toolbelt-0.9.1.ebuild new file mode 100644 index 000000000000..d7c16d63b6c0 --- /dev/null +++ b/dev-python/requests-toolbelt/requests-toolbelt-0.9.1.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +PYTHON_COMPAT=( python{2_7,3_5,3_6,3_7} ) + +inherit distutils-r1 + +DESCRIPTION="A utility belt for advanced users of python-requests" +HOMEPAGE="https://toolbelt.readthedocs.org/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" +IUSE="test" + +RDEPEND="<dev-python/requests-3.0.0[${PYTHON_USEDEP}]" +DEPEND="${RDEPEND} + dev-python/setuptools[${PYTHON_USEDEP}] + test? ( + dev-python/betamax[${PYTHON_USEDEP}] + dev-python/mock[${PYTHON_USEDEP}] + dev-python/pytest[${PYTHON_USEDEP}] + )" + +DOCS=( AUTHORS.rst HISTORY.rst README.rst ) +PATCHES=( + "${FILESDIR}/requests-toolbelt-0.8.0-test-tracebacks.patch" +) + +# Known python2.7 test failures do to upstream +# not testing with newer requests versions +# bug: https://bugs.gentoo.org/635824 +# https://github.com/requests/toolbelt/issues/213 +RESTRICT=test + +python_test() { + py.test -v || die "Tests failed with ${EPYTHON}" +} |