diff options
author | Justin Lecher <jlec@gentoo.org> | 2016-02-17 09:48:36 +0100 |
---|---|---|
committer | Justin Lecher <jlec@gentoo.org> | 2016-02-17 09:57:11 +0100 |
commit | 92dbfa55746fc69b6b1be2c990a1ec316027996e (patch) | |
tree | f81aeb5fa803977453d07d4dcba58103cf43b07f /dev-python/requests-mock | |
parent | dev-python/docker-py: Version Bump (diff) | |
download | gentoo-92dbfa55746fc69b6b1be2c990a1ec316027996e.tar.gz gentoo-92dbfa55746fc69b6b1be2c990a1ec316027996e.tar.bz2 gentoo-92dbfa55746fc69b6b1be2c990a1ec316027996e.zip |
dev-python/requests-mock: Version Bump
Package-Manager: portage-2.2.27
Signed-off-by: Justin Lecher <jlec@gentoo.org>
Diffstat (limited to 'dev-python/requests-mock')
-rw-r--r-- | dev-python/requests-mock/Manifest | 1 | ||||
-rw-r--r-- | dev-python/requests-mock/requests-mock-0.7.0.ebuild | 40 |
2 files changed, 41 insertions, 0 deletions
diff --git a/dev-python/requests-mock/Manifest b/dev-python/requests-mock/Manifest index 38adcd5e1589..518ed05c90ec 100644 --- a/dev-python/requests-mock/Manifest +++ b/dev-python/requests-mock/Manifest @@ -1,2 +1,3 @@ DIST requests-mock-0.5.1.tar.gz 29729 SHA256 b1b1b864e633418c77f33d333b0fd88cb6123bfb816706b236f7b1db99795056 SHA512 79a270501cfee425af81b5d0ab7fcbebe08eca0ff8f9f57dab769bec7918f44ab7ca4a4b683ae195a5c8c6020d4730cf0c1482f6ff21cbbbea700491cc455903 WHIRLPOOL 87d2591e70dedd8a5bfae485dc0df411e5ed9ad1442f7e5f2d62d134c8e536e09b30f3b8c0f92def4b5c5f5df56fdd21eef9d4fde659ca5605bd17181f593021 DIST requests-mock-0.6.0.tar.gz 31645 SHA256 a1f10ee53fef6aac6ca54cfb8fdb1b7ca6da59d68ea1a8c21ac513211842ad3e SHA512 5c23c1fdd3746f2b3b49508b7f05abb365e0608a32b6ead5d0ef18203bf75ab642626229e96b2e8826216d0f090f1bbd41bdfa78dd56f305a996a57f1e16179e WHIRLPOOL 65af690e429a09bc4358f1b0c387e3fff3faaf962cacd247c11c01ba84f79b3fe06b0dd801e9dab829550a5a340e562aa3ceb6a61e4307c14b5a16fdba8a1a7a +DIST requests-mock-0.7.0.tar.gz 34722 SHA256 ee2816992d4505596ec3c98c7b4ab57475539ac037d08dd3a81370b1e3cdd568 SHA512 c2046d9291b3c852b986423dd3407c2486476417934aa2c21365fa94d821ebef7e01e90c61c6ab35d186654d3468e4a72505bb157cfb01f287b6d5c0041dc7f8 WHIRLPOOL ff4494eb30d5028aeaf7db1811130ddd3f89c5a0a57c55836fb35aa1ba598c5cb44f95879daa8be3b0aac8f57eb2649349243d5532cbd0ef31adb24c88321f27 diff --git a/dev-python/requests-mock/requests-mock-0.7.0.ebuild b/dev-python/requests-mock/requests-mock-0.7.0.ebuild new file mode 100644 index 000000000000..7c3512b4736b --- /dev/null +++ b/dev-python/requests-mock/requests-mock-0.7.0.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +PYTHON_COMPAT=( python{2_7,3_{3,4,5}} ) + +inherit distutils-r1 + +DESCRIPTION="Mock out responses from the requests package" +HOMEPAGE="https://github.com/jamielennox/requests-mock" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" + +DEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] + >=dev-python/pbr-0.8[${PYTHON_USEDEP}] + test? ( + dev-python/fixtures[${PYTHON_USEDEP}] + dev-python/mock[${PYTHON_USEDEP}] + >=dev-python/testrepository-0.0.18[${PYTHON_USEDEP}] + dev-python/testtools[${PYTHON_USEDEP}] + ) +" +RDEPEND=" + >=dev-python/requests-1.1[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}] +" + +python_test() { + rm -rf .testrepository || die "couldn't remove '.testrepository' under ${EPYTHON}" + + testr init || die "testr init failed under ${EPYTHON}" + testr run || die "testr run failed under ${EPYTHON}" +} |