diff options
author | Rick Farina <zerochaos@gentoo.org> | 2014-03-26 02:39:15 +0000 |
---|---|---|
committer | Rick Farina <zerochaos@gentoo.org> | 2014-03-26 02:39:15 +0000 |
commit | 9a6bc924de674360433d6d864df943ca4e29b34c (patch) | |
tree | c838dc59d95138e3a9079e7aa91d3108ded14862 /net-wireless/chirp/chirp-9999.ebuild | |
parent | version bump, cleanup old. (diff) | |
download | gentoo-2-9a6bc924de674360433d6d864df943ca4e29b34c.tar.gz gentoo-2-9a6bc924de674360433d6d864df943ca4e29b34c.tar.bz2 gentoo-2-9a6bc924de674360433d6d864df943ca4e29b34c.zip |
bump and distutils->-r1 conversion
(Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key DD11F94A)
Diffstat (limited to 'net-wireless/chirp/chirp-9999.ebuild')
-rw-r--r-- | net-wireless/chirp/chirp-9999.ebuild | 23 |
1 files changed, 9 insertions, 14 deletions
diff --git a/net-wireless/chirp/chirp-9999.ebuild b/net-wireless/chirp/chirp-9999.ebuild index 6d0a3ff976e4..7dec1cb2c80d 100644 --- a/net-wireless/chirp/chirp-9999.ebuild +++ b/net-wireless/chirp/chirp-9999.ebuild @@ -1,18 +1,16 @@ -# Copyright 1999-2013 Gentoo Foundation +# Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-wireless/chirp/chirp-9999.ebuild,v 1.3 2013/02/09 23:36:43 zerochaos Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-wireless/chirp/chirp-9999.ebuild,v 1.4 2014/03/26 02:39:15 zerochaos Exp $ EAPI=5 -PYTHON_DEPEND="2:2.6" -SUPPORT_PYTHON_ABIS="1" -RESTRICT_PYTHON_ABIS="2.5 3.*" +PYTHON_COMPAT=( python2_7 ) if [[ ${PV} == "9999" ]] ; then SCM=mercurial EHG_REPO_URI="http://d-rats.com/hg/chirp.hg" fi -inherit distutils ${SCM} +inherit distutils-r1 ${SCM} DESCRIPTION="Free open-source tool for programming your amateur radio" HOMEPAGE="http://chirp.danplanet.com" @@ -34,14 +32,11 @@ RDEPEND="${DEPEND} src_prepare() { sed -i -e "/share\/doc\/chirp/d" setup.py || die - distutils_src_prepare + distutils-r1_src_prepare } -src_test() { - testing() { - pushd tests &> /dev/null - PYTHONPATH="../build-${PYTHON_ABI}/lib" "$(PYTHON)" run_tests - popd &> /dev/null - } - python_execute_function testing +python_test() { + pushd tests > /dev/null + "${PYTHON}" run_tests || die + popd > /dev/null } |