diff options
Diffstat (limited to 'dev-python/httmock/httmock-1.2.2.ebuild')
-rw-r--r-- | dev-python/httmock/httmock-1.2.2.ebuild | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/dev-python/httmock/httmock-1.2.2.ebuild b/dev-python/httmock/httmock-1.2.2.ebuild new file mode 100644 index 00000000000..e5c69b5af28 --- /dev/null +++ b/dev-python/httmock/httmock-1.2.2.ebuild @@ -0,0 +1,25 @@ +# 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_3,3_4} pypy ) + +inherit distutils-r1 + +DESCRIPTION="A mocking library for requests" +HOMEPAGE="https://github.com/patrys/httmock" +SRC_URI="https://github.com/patrys/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND="dev-python/requests[${PYTHON_USEDEP}]" +DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" + +python_test() { + esetup.py test +} |