diff options
author | Austin English <wizardedit@gentoo.org> | 2016-06-01 02:37:09 -0500 |
---|---|---|
committer | Austin English <wizardedit@gentoo.org> | 2016-06-01 02:37:28 -0500 |
commit | 39f799e973a8431a33c451aff002d3ed6f6c3645 (patch) | |
tree | 48fc5ab617a591094ad02900d16dd6cb4234c00d /dev-python/mockredispy | |
parent | www-apps/klaus: add Python 3 support (diff) | |
download | gentoo-39f799e973a8431a33c451aff002d3ed6f6c3645.tar.gz gentoo-39f799e973a8431a33c451aff002d3ed6f6c3645.tar.bz2 gentoo-39f799e973a8431a33c451aff002d3ed6f6c3645.zip |
dev-python/mockredispy: add mockredispy-2.9.3
Package-Manager: portage-2.2.26
Diffstat (limited to 'dev-python/mockredispy')
-rw-r--r-- | dev-python/mockredispy/Manifest | 1 | ||||
-rw-r--r-- | dev-python/mockredispy/metadata.xml | 12 | ||||
-rw-r--r-- | dev-python/mockredispy/mockredispy-2.9.3.ebuild | 29 |
3 files changed, 42 insertions, 0 deletions
diff --git a/dev-python/mockredispy/Manifest b/dev-python/mockredispy/Manifest new file mode 100644 index 000000000000..32fc621c831e --- /dev/null +++ b/dev-python/mockredispy/Manifest @@ -0,0 +1 @@ +DIST mockredispy-2.9.3.tar.gz 40462 SHA256 3bacb3f03f91d62b3b0214479716108211e164357dba32959abbfaf4a28e06f0 SHA512 cedb3641ee5dadc81d9bb39193157ea3cbb5d53f1d56758b47a6c96d2f0713c6831094e2a7b45aceef72c45e1d7705df9783037ce17ee1180bffd799a17ebce9 WHIRLPOOL 15d7116ba175aab5ef784a14f3480cf9bb8c0552d21e5d12d692079ece660b25d342166ae95557cc31bb5bf7bc010c86f5733ef1201aab30e26969078a002c5d diff --git a/dev-python/mockredispy/metadata.xml b/dev-python/mockredispy/metadata.xml new file mode 100644 index 000000000000..85333f5dc732 --- /dev/null +++ b/dev-python/mockredispy/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>wizardedit@gentoo.org</email> + <name>Austin English</name> + </maintainer> + <upstream> + <remote-id type="github">mockredispy</remote-id> + <remote-id type="pypi">mockredispy</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-python/mockredispy/mockredispy-2.9.3.ebuild b/dev-python/mockredispy/mockredispy-2.9.3.ebuild new file mode 100644 index 000000000000..36cddd5e61a0 --- /dev/null +++ b/dev-python/mockredispy/mockredispy-2.9.3.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +PYTHON_COMPAT=(python2_7 python3_{3,4}) +inherit distutils-r1 + +DESCRIPTION="Mock for redis-py" +HOMEPAGE="https://github.com/locationlabs/mockredis" +SRC_URI="https://github.com/locationlabs/${PN%py}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64" +IUSE="test" +RESTRICT="test" # Fail on python 2.7: https://github.com/locationlabs/mockredis/issues/105 + +DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" +RDEPEND="${DEPEND} + dev-python/nose[${PYTHON_USEDEP}] + >=dev-python/redis-py-2.9.0[${PYTHON_USEDEP}]" + +S="${WORKDIR}/${PN%py}-${PV}" + +python_test() { + esetup.py test +} |