1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
6 PYTHON_DEPEND="2:2.5 3:3.1"
7 SUPPORT_PYTHON_ABIS="1"
8 RESTRICT_PYTHON_ABIS="2.4"
9 PYTHON_TESTS_RESTRICTED_ABIS="3.*"
15 DESCRIPTION="Helpful python wrapper to the os.path module"
16 HOMEPAGE="http://pypi.python.org/pypi/path.py"
17 SRC_URI="mirror://pypi/p/${MY_PN}/${MY_PN}-${PV}.tar.gz"
21 KEYWORDS="~amd64 ~x86"
24 S="${WORKDIR}/${MY_PN}-${PV}"
27 # Don't install test_path.py
29 -e "s/, 'test_path'//" \
30 setup.py || die "sed failed"
35 "$(PYTHON)" test_path.py
37 python_execute_function my_test