dev-python/mockredispy: add mockredispy-2.9.3

Package-Manager: portage-2.2.26
This commit is contained in:
Austin English
2016-06-01 02:37:09 -05:00
parent e2476d86c5
commit 39f799e973
3 changed files with 42 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST mockredispy-2.9.3.tar.gz 40462 SHA256 3bacb3f03f91d62b3b0214479716108211e164357dba32959abbfaf4a28e06f0 SHA512 cedb3641ee5dadc81d9bb39193157ea3cbb5d53f1d56758b47a6c96d2f0713c6831094e2a7b45aceef72c45e1d7705df9783037ce17ee1180bffd799a17ebce9 WHIRLPOOL 15d7116ba175aab5ef784a14f3480cf9bb8c0552d21e5d12d692079ece660b25d342166ae95557cc31bb5bf7bc010c86f5733ef1201aab30e26969078a002c5d

View File

@@ -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>

View File

@@ -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
}