diff options
author | Louis Sautier <sbraz@gentoo.org> | 2018-06-19 20:30:49 +0200 |
---|---|---|
committer | Louis Sautier <sbraz@gentoo.org> | 2018-06-19 20:30:49 +0200 |
commit | f721d7dc9a9871eee1dd72f131e4bb66cfdd4790 (patch) | |
tree | 89eb38686d5983fed700a922a175429419b1766c | |
parent | dev-python/responses: update upstream in metadata.xml (diff) | |
download | gentoo-f721d7dc9a9871eee1dd72f131e4bb66cfdd4790.tar.gz gentoo-f721d7dc9a9871eee1dd72f131e4bb66cfdd4790.tar.bz2 gentoo-f721d7dc9a9871eee1dd72f131e4bb66cfdd4790.zip |
dev-python/responses: bump to 0.9.0, EAPI=7, use PyPI tarballs
Package-Manager: Portage-2.3.40, Repoman-2.3.9
-rw-r--r-- | dev-python/responses/Manifest | 1 | ||||
-rw-r--r-- | dev-python/responses/responses-0.9.0.ebuild | 36 |
2 files changed, 37 insertions, 0 deletions
diff --git a/dev-python/responses/Manifest b/dev-python/responses/Manifest index b528a69fe6a7..011415904165 100644 --- a/dev-python/responses/Manifest +++ b/dev-python/responses/Manifest @@ -1 +1,2 @@ DIST responses-0.6.0.tar.gz 14073 BLAKE2B 27d4a4a380a9154ded1030278213c0cd87308a488199c277050fa2a0a1dad87a61086094bc35279ff9c4201d06c59613bd1b0dbd18b4d83b8321341f6f1c4bb0 SHA512 32d41be5850f0040a4f2ad82a057d6ef73f0f83f7d3c250fa223d5614470b0b8b58790667af76ecc6b0b7e8e2a0a069c46c7913e983730c968c603e2716dec0b +DIST responses-0.9.0.tar.gz 19766 BLAKE2B bd98c24d6458f33f7b8ad68edb3d0fc595a7d7b31889ff8270e1add13d537d80d67c3628ea6630674e8d49837f9d3933f680b366b4a7fab10048640a50129c48 SHA512 e5312587845cc9a3a938fa5d052ac1f04950d2eea5d83192c54affe079ee6593f3e249a24a8b43b1985c9fdc9131bfb477b93ca8a75d0386ed33cd56cc37d5ff diff --git a/dev-python/responses/responses-0.9.0.ebuild b/dev-python/responses/responses-0.9.0.ebuild new file mode 100644 index 000000000000..091b251b27a7 --- /dev/null +++ b/dev-python/responses/responses-0.9.0.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +PYTHON_COMPAT=( python{2_7,3_{4,5,6}} ) + +inherit distutils-r1 + +DESCRIPTION="Utility for mocking out the Python Requests library" +HOMEPAGE="https://github.com/getsentry/responses" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +IUSE="test" + +RDEPEND=" + >=dev-python/requests-2.0[${PYTHON_USEDEP}] + dev-python/cookies[${PYTHON_USEDEP}] + dev-python/mock[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}] +" + +DEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] + test? ( + ${RDEPEND} + dev-python/pytest[${PYTHON_USEDEP}] + dev-python/pytest-localserver[${PYTHON_USEDEP}] + ) +" + +python_test() { + py.test || die "tests failed with ${EPYTHON}" +} |