From ea724cd6d1fdc8827563330f6ca0929d4f6f2ee1 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Manuel=20R=C3=BCger?= Date: Wed, 26 Aug 2015 11:09:56 +0200 Subject: [PATCH] dev-python/responses: Initial version Package-Manager: portage-2.2.20.1 --- dev-python/responses/Manifest | 1 + dev-python/responses/metadata.xml | 9 +++++++ dev-python/responses/responses-0.4.0.ebuild | 30 +++++++++++++++++++++ 3 files changed, 40 insertions(+) create mode 100644 dev-python/responses/Manifest create mode 100644 dev-python/responses/metadata.xml create mode 100644 dev-python/responses/responses-0.4.0.ebuild diff --git a/dev-python/responses/Manifest b/dev-python/responses/Manifest new file mode 100644 index 000000000000..5a3fc747a385 --- /dev/null +++ b/dev-python/responses/Manifest @@ -0,0 +1 @@ +DIST responses-0.4.0.tar.gz 11032 SHA256 de01ff1d9fc3a00b7e440152994d320fc8c8dcee48de287a9c31725d50bfef68 SHA512 341e3a571971e940ce164f320d25df8e6fc8b5377670da89c20b6b8a72394aba8a298c00ce466fd84440b4019e15c463c5919b94661d327251f467b2590e27f7 WHIRLPOOL 5c8db7970b0992405a40704862498f4cbe051bcc4458474766215b172dd9d0f878eef7a7c6ff9188ae02e23b83e145afb12407e5ced82bb393e3300c9148833f diff --git a/dev-python/responses/metadata.xml b/dev-python/responses/metadata.xml new file mode 100644 index 000000000000..3be1e82eb364 --- /dev/null +++ b/dev-python/responses/metadata.xml @@ -0,0 +1,9 @@ + + + + python + + mrueg@gentoo.org + Manuel Rüger + + diff --git a/dev-python/responses/responses-0.4.0.ebuild b/dev-python/responses/responses-0.4.0.ebuild new file mode 100644 index 000000000000..2bf61beca4ae --- /dev/null +++ b/dev-python/responses/responses-0.4.0.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +PYTHON_COMPAT=(python{2_7,3_4}) + +inherit distutils-r1 + +DESCRIPTION="A utility for mocking out the Python Requests library" +HOMEPAGE="https://github.com/getsentry/responses" +SRC_URI="https://github.com/getsentry/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64" +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="test? ( ${RDEPEND} + dev-python/pytest[${PYTHON_USEDEP}] ) + dev-python/setuptools[${PYTHON_USEDEP}]" + +python_test() { + py.test || die +} -- 2.26.2