/[gentoo-x86]/dev-python/mox3/mox3-0.7.0.ebuild
Gentoo

Contents of /dev-python/mox3/mox3-0.7.0.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Fri Aug 1 05:59:05 2014 UTC (5 years, 11 months ago) by prometheanfire
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +4 -4 lines
update hacking deps

(Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 0x2471eb3e40ac5ac3)

1 # Copyright 1999-2014 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-python/mox3/mox3-0.7.0.ebuild,v 1.1 2014/01/03 23:58:10 idella4 Exp $
4
5 EAPI=5
6 # py2.6 capable but unrequired
7 PYTHON_COMPAT=( python2_7 )
8
9 inherit distutils-r1
10
11 # Use at your own risk ;), or because an openstack package cited it as a req'd dep :)
12 DESCRIPTION="The Mock object framework for Python"
13 HOMEPAGE="http://code.google.com/p/pymox/wiki/MoxDocumentation http://www.openstack.org/"
14 SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
15
16 KEYWORDS="~amd64 ~x86"
17 IUSE="test"
18 LICENSE="Apache-2.0"
19 SLOT="0"
20 # Required for test phase
21 DISTUTILS_IN_SOURCE_BUILD=1
22
23 # Though test-req's cites hacking>=0.5.6,<0.7, setting to hacking>=0.7.2-r1,<0.8
24 # since it WORKS and supports py3.2. What more do you want
25 DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
26 >=dev-python/pbr-0.5.21[${PYTHON_USEDEP}]
27 <dev-python/pbr-1.0[${PYTHON_USEDEP}]
28 test? ( ${RDEPEND}
29 ~dev-python/pep8-1.4.5[${PYTHON_USEDEP}]
30 ~dev-python/pyflakes-0.7.2[${PYTHON_USEDEP}]
31 ~dev-python/flake8-2.0[${PYTHON_USEDEP}]
32 >=dev-python/hacking-0.8.0[${PYTHON_USEDEP}]
33 <dev-python/hacking-0.9[${PYTHON_USEDEP}]
34 >=dev-python/coverage-3.6[${PYTHON_USEDEP}]
35 dev-python/subunit[${PYTHON_USEDEP}]
36 >=dev-python/testrepository-0.0.17[${PYTHON_USEDEP}]
37 >=dev-python/testtools-0.9.32[${PYTHON_USEDEP}]
38 )"
39 RDEPEND=">=dev-python/fixtures-0.3.12[${PYTHON_USEDEP}]"
40
41 python_test() {
42 testr init || die
43 testr run || die "testsuite failed under ${EPYTHON}"
44 flake8 "${PN}"/tests || die "flake8 drew error on a run over folder ${PN}/tests"
45 }

  ViewVC Help
Powered by ViewVC 1.1.20