dev-python/responses: Initial version
authorManuel Rüger <mrueg@gentoo.org>
Wed, 26 Aug 2015 09:09:56 +0000 (11:09 +0200)
committerManuel Rüger <mrueg@gentoo.org>
Wed, 26 Aug 2015 09:09:56 +0000 (11:09 +0200)
Package-Manager: portage-2.2.20.1

dev-python/responses/Manifest [new file with mode: 0644]
dev-python/responses/metadata.xml [new file with mode: 0644]
dev-python/responses/responses-0.4.0.ebuild [new file with mode: 0644]

diff --git a/dev-python/responses/Manifest b/dev-python/responses/Manifest
new file mode 100644 (file)
index 0000000..5a3fc74
--- /dev/null
@@ -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 (file)
index 0000000..3be1e82
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+       <herd>python</herd>
+       <maintainer>
+               <email>mrueg@gentoo.org</email>
+               <name>Manuel Rüger</name>
+       </maintainer>
+</pkgmetadata>
diff --git a/dev-python/responses/responses-0.4.0.ebuild b/dev-python/responses/responses-0.4.0.ebuild
new file mode 100644 (file)
index 0000000..2bf61be
--- /dev/null
@@ -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
+}