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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (hide annotations) (download)
Sat Oct 18 14:58:21 2014 UTC (5 years, 9 months ago) by alunduil
Branch: MAIN
CVS Tags: HEAD
add version 0.8

(Portage version: 2.2.14_rc1/cvs/Linux x86_64, signed Manifest commit with key 11A8217C!)

1 alunduil 1.1 # Copyright 1999-2014 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3     # $Header: $
4    
5     EAPI=5
6     PYTHON_COMPAT=( python2_7 python3_3 )
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.2.1[${PYTHON_USEDEP}]
23     ~dev-python/doublex-1.8.1[${PYTHON_USEDEP}]
24     >=dev-python/pyhamcrest-1.8.0[${PYTHON_USEDEP}]
25     )
26     "
27     RDEPEND="
28     ~dev-python/clint-0.3.1[${PYTHON_USEDEP}]
29     ~dev-python/coverage-3.7[${PYTHON_USEDEP}]
30     >=dev-python/watchdog-0.6.0[${PYTHON_USEDEP}]
31     "
32    
33     python_prepare_all() {
34     ebegin 'patching requirements.txt'
35     sed \
36     -e '3s/==/>=/' \
37     -i requirements.txt
38     STATUS=$?
39     eend ${STATUS}
40     [[ ${STATUS} -gt 0 ]] && die
41    
42     distutils-r1_python_prepare_all
43     }
44    
45     python_test() {
46     local DISTUTILS_NO_PARALLEL_BUILD=TRUE
47    
48     rm -f "${HOME}"/.pydistutils.cfg || die "Couldn't remove pydistutils.cfg"
49    
50     distutils_install_for_testing
51    
52     "${TEST_DIR}"/scripts/mamba || die "Tests failed under ${EPYTHON}"
53     }

  ViewVC Help
Powered by ViewVC 1.1.20