net-wireless/chirp: updates are good
authorZero_Chaos <zerochaos@gentoo.org>
Tue, 21 Feb 2017 22:15:32 +0000 (17:15 -0500)
committerZero_Chaos <zerochaos@gentoo.org>
Tue, 21 Feb 2017 22:15:55 +0000 (17:15 -0500)
Package-Manager: Portage-2.3.3, Repoman-2.3.1

net-wireless/chirp/Manifest
net-wireless/chirp/chirp-20170217.ebuild [new file with mode: 0644]

index 76c60b964ed7641f4e78c266d10ff2773188cc51..1f5188ed3c0004351ce7974f760531a3ad8edb36 100644 (file)
@@ -1,2 +1,3 @@
 DIST chirp-daily-20160513.tar.gz 578031 SHA256 5937262df82e09367f799820e106ee40bd0e0607401ecb2309fea702bf0a08c8 SHA512 8d270630fe88221693a141ff1ef1c42c3b8e23216f6b3a26e3640047cc0716fde86cb14477e805871a90f825482db1f8f04e83471b54560bfd8995ee8d7f1cea WHIRLPOOL 4987ecb386f7954ca08ec3d40cf505902bcbecbb1e5c4f70f8fe03b6e79a37f374720c6a08b676e68843da930173100c74383b8ea0722e36876cf10939feeb84
 DIST chirp-daily-20160717.tar.gz 595641 SHA256 de7e89d554cd88bcf754a4c7ccb9e3fcde25cd90bc06317889dbda05e1f5ad56 SHA512 b202e9c524413cbc1a32ea9d0ed6577d0f9991b5bc253fbd28e265d292ce0cb9d23f25d140d9787280c4a029740957abf60404c863871528bcb6b511909eba6c WHIRLPOOL 33dd77bffc5dcda52297eb80abddf93d4e80566996f0dfeb682cdc87a65451da40493885aef7a8d113dabe63dbd5b0e8ceb361f4c52a35e8b4cdf916e83a4ae9
+DIST chirp-daily-20170217.tar.gz 667978 SHA256 58f850099e42f31e403463603b5774901f4d99c67def66c0ff05e93471cd3e56 SHA512 01472472904c5cc62554448e3a0e757db27208fece24f760cbb6cbf853541204d80478521121eaa2b5ed703cc9c8638d98000fa2921da5a20b7ee5d8b934b745 WHIRLPOOL f658e324e4119f14f6b5254acbd188eb73bd66c657d8b64744b46e2b93caf5b00cc8b8c6a35f82021a7e67e0e24eb3808dc8f25159fc30240c1d2d190ccb94ff
diff --git a/net-wireless/chirp/chirp-20170217.ebuild b/net-wireless/chirp/chirp-20170217.ebuild
new file mode 100644 (file)
index 0000000..67bfccd
--- /dev/null
@@ -0,0 +1,44 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+PYTHON_COMPAT=( python2_7 )
+
+if [[ ${PV} == "99999999" ]] ; then
+       SCM=mercurial
+       EHG_REPO_URI="http://d-rats.com/hg/chirp.hg"
+fi
+
+inherit distutils-r1 ${SCM}
+
+DESCRIPTION="Free open-source tool for programming your amateur radio"
+HOMEPAGE="http://chirp.danplanet.com"
+
+if [[ ${PV} == "99999999" ]] ; then
+       KEYWORDS=""
+else
+       KEYWORDS="~amd64 ~x86"
+       SRC_URI="http://trac.${PN}.danplanet.com/${PN}_daily/daily-${PV}/${PN}-daily-${PV}.tar.gz"
+       S="${WORKDIR}/${PN}-daily-${PV}"
+       RESTRICT="test"
+fi
+LICENSE="GPL-3"
+SLOT="0"
+IUSE=""
+
+DEPEND="dev-python/pyserial
+       dev-libs/libxml2[python]"
+RDEPEND="${DEPEND}
+       dev-python/pygtk"
+
+src_prepare() {
+       sed -i -e "/share\/doc\/chirp/d" setup.py || die
+       distutils-r1_src_prepare
+}
+
+python_test() {
+       pushd tests > /dev/null
+       "${PYTHON}" run_tests || die
+       popd > /dev/null
+}