Files
gentoo/dev-python/moto/moto-0.4.30.ebuild
Tobias Klausmann c14bedab3d dev-python/moto-0.4.30-r0: add amd64 keyword
Gentoo-Bug: 625026
2017-07-15 19:18:13 +02:00

32 lines
865 B
Bash

# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
PYTHON_COMPAT=( python2_7 python3_{4,5} )
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-2.8[${PYTHON_USEDEP}]
>=dev-python/boto-2.36.0[${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
}