/[gentoo-x86]/dev-python/mamba/mamba-0.8.2.ebuild
Gentoo

Contents of /dev-python/mamba/mamba-0.8.2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Fri Nov 28 10:25:16 2014 UTC (5 years, 7 months ago) by pacho
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +2 -2 lines
Support python 3.4

(Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key A188FBD4)

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/mamba/mamba-0.8.2.ebuild,v 1.1 2014/10/25 04:08:22 alunduil Exp $
4
5 EAPI=5
6 PYTHON_COMPAT=( python2_7 python3_3 python3_4 )
7
8 inherit distutils-r1
9
10 DESCRIPTION="The definitive testing tool for Python. Born under the banner of Behavior Driven Development"
11 HOMEPAGE="http://nestorsalceda.github.io/mamba"
12 SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
13
14 LICENSE="MIT"
15 SLOT="0"
16 KEYWORDS="~amd64"
17 IUSE="test"
18
19 DEPEND="
20 dev-python/setuptools[${PYTHON_USEDEP}]
21 test? (
22 >=dev-python/expects-0.4.2[${PYTHON_USEDEP}]
23 <dev-python/expects-0.5[${PYTHON_USEDEP}]
24 >=dev-python/doublex-expects-0.4[${PYTHON_USEDEP}]
25 <dev-python/doublex-expects-0.5[${PYTHON_USEDEP}]
26 )
27 "
28 RDEPEND="
29 ~dev-python/clint-0.3.1[${PYTHON_USEDEP}]
30 >=dev-python/coverage-3.7[${PYTHON_USEDEP}]
31 ~dev-python/watchdog-0.8.1[${PYTHON_USEDEP}]
32 "
33
34 python_prepare_all() {
35 ebegin 'patching requirements.txt'
36 sed \
37 -e '2s/==/>=/' \
38 -i requirements.txt
39 STATUS=$?
40 eend ${STATUS}
41 [[ ${STATUS} -gt 0 ]] && die
42
43 distutils-r1_python_prepare_all
44 }
45
46 python_test() {
47 local DISTUTILS_NO_PARALLEL_BUILD=TRUE
48
49 rm -f "${HOME}"/.pydistutils.cfg || die "Couldn't remove pydistutils.cfg"
50
51 distutils_install_for_testing
52
53 "${TEST_DIR}"/scripts/mamba || die "Tests failed under ${EPYTHON}"
54 }

  ViewVC Help
Powered by ViewVC 1.1.20