/[gentoo-x86]/net-wireless/chirp/chirp-0.4.1.ebuild
Gentoo

Contents of /net-wireless/chirp/chirp-0.4.1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Wed Oct 8 23:45:00 2014 UTC (5 years, 3 months ago) by zerochaos
Branch: MAIN
CVS Tags: HEAD
version bump, unify live and versioned ebuild

(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key DD11F94A)

1 # Copyright 1999-2014 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-wireless/chirp/chirp-9999.ebuild,v 1.4 2014/03/26 02:39:15 zerochaos Exp $
4
5 EAPI=5
6 PYTHON_COMPAT=( python2_7 )
7
8 if [[ ${PV} == "9999" ]] ; then
9 SCM=mercurial
10 EHG_REPO_URI="http://d-rats.com/hg/chirp.hg"
11 fi
12
13 inherit distutils-r1 ${SCM}
14
15 DESCRIPTION="Free open-source tool for programming your amateur radio"
16 HOMEPAGE="http://chirp.danplanet.com"
17
18 if [[ ${PV} == "9999" ]] ; then
19 KEYWORDS=""
20 else
21 KEYWORDS="~amd64 ~x86"
22 SRC_URI="http://chirp.danplanet.com/download/${PV}/${P}.tar.gz"
23 RESTRICT="test"
24 fi
25 LICENSE="GPL-3"
26 SLOT="0"
27 IUSE=""
28
29 DEPEND="dev-python/pyserial
30 dev-libs/libxml2[python]"
31 RDEPEND="${DEPEND}
32 dev-python/pygtk"
33
34 src_prepare() {
35 sed -i -e "/share\/doc\/chirp/d" setup.py || die
36 distutils-r1_src_prepare
37 }
38
39 python_test() {
40 pushd tests > /dev/null
41 "${PYTHON}" run_tests || die
42 popd > /dev/null
43 }

  ViewVC Help
Powered by ViewVC 1.1.20