gentoo/dev-python/moto/moto-0.4.25-r1.ebuild
Brian Dolbec 1e4bee97a8
dev-python/moto: Revision bump existing fixing httpretty dep
Version & EAPI bump for 0.4.30 release.

Package-Manager: Portage-2.3.3_p7, Repoman-2.3.1
2017-01-05 16:48:15 -08:00

34 lines
899 B
Bash

# Copyright 1999-2017 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="Mock library for boto"
HOMEPAGE="https://github.com/spulec/moto"
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~x86"
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
RDEPEND="dev-python/jinja[${PYTHON_USEDEP}]
>=dev-python/boto-2.20.0[${PYTHON_USEDEP}]
dev-python/dicttoxml[${PYTHON_USEDEP}]
dev-python/flask[${PYTHON_USEDEP}]
>=dev-python/httpretty-0.8.10[${PYTHON_USEDEP}]
dev-python/requests[${PYTHON_USEDEP}]
dev-python/xmltodict[${PYTHON_USEDEP}]
dev-python/six[${PYTHON_USEDEP}]
dev-python/werkzeug[${PYTHON_USEDEP}]"
python_prepare_all() {
distutils-r1_python_prepare_all
sed -e "s/httpretty==0.8.10/httpretty>=0.8.10/" -i setup.py
}