diff options
author | Brian Dolbec <dolsen@gentoo.org> | 2017-09-14 19:40:35 -0700 |
---|---|---|
committer | Brian Dolbec <dolsen@gentoo.org> | 2017-09-15 10:41:13 -0700 |
commit | b22c4f3ac487d5d5302c24a9331ee75d306563e1 (patch) | |
tree | 667f5b2626b410cd61f8f6e0febd9b21b4e980b4 /dev-python/moto/moto-1.0.1-r1.ebuild | |
parent | dev-util/buildbot-wsgi-dashboards: New buildbot plugin module (diff) | |
download | gentoo-b22c4f3ac487d5d5302c24a9331ee75d306563e1.tar.gz gentoo-b22c4f3ac487d5d5302c24a9331ee75d306563e1.tar.bz2 gentoo-b22c4f3ac487d5d5302c24a9331ee75d306563e1.zip |
dev-python/moto: Revision bump, fix python yaml dep to correct package
Correct dep to dev-python/pretty-yaml instead of dev-python/pyyaml.
Package-Manager: Portage-2.3.6, Repoman-2.3.3
Diffstat (limited to 'dev-python/moto/moto-1.0.1-r1.ebuild')
-rw-r--r-- | dev-python/moto/moto-1.0.1-r1.ebuild | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/dev-python/moto/moto-1.0.1-r1.ebuild b/dev-python/moto/moto-1.0.1-r1.ebuild new file mode 100644 index 000000000000..8f93f7b6fa3a --- /dev/null +++ b/dev-python/moto/moto-1.0.1-r1.ebuild @@ -0,0 +1,47 @@ +# 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,6} ) + +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 ~amd64-linux ~x86-linux" + +IUSE="test" + +RDEPEND=" + dev-python/cookies[${PYTHON_USEDEP}] + dev-python/dicttoxml[${PYTHON_USEDEP}] + >=dev-python/jinja-2.8[${PYTHON_USEDEP}] + >=dev-python/boto-2.36.0[${PYTHON_USEDEP}] + >=dev-python/boto3-1.2.1[${PYTHON_USEDEP}] + dev-python/flask[${PYTHON_USEDEP}] + dev-python/pretty-yaml[${PYTHON_USEDEP}] + dev-python/python-dateutil[${PYTHON_USEDEP}] + dev-python/pytz[${PYTHON_USEDEP}] + dev-python/python-dateutil[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + dev-python/xmltodict[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}] + dev-python/werkzeug[${PYTHON_USEDEP}] +" +DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] + test? ( ${RDEPEND} + dev-python/freezegun[${PYTHON_USEDEP}] + dev-python/mock[${PYTHON_USEDEP}] + dev-python/nose[${PYTHON_USEDEP}] + dev-python/responses[${PYTHON_USEDEP}] + dev-python/sure[${PYTHON_USEDEP}] + ) +" + +python_test() { + nosetests -v || die +} |