summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZero_Chaos <zerochaos@gentoo.org>2018-04-06 11:22:58 -0400
committerZero_Chaos <zerochaos@gentoo.org>2018-04-06 11:23:16 -0400
commitca1617b1245fa0ca6c3da2d2f4ee5337dad6262a (patch)
treec57b792c2c1903094571a90b30294ed97324bc14 /net-wireless/chirp
parentdev-libs/libgpiod: initial commit (diff)
downloadgentoo-ca1617b1245fa0ca6c3da2d2f4ee5337dad6262a.tar.gz
gentoo-ca1617b1245fa0ca6c3da2d2f4ee5337dad6262a.tar.bz2
gentoo-ca1617b1245fa0ca6c3da2d2f4ee5337dad6262a.zip
net-wireless/chirp: bump
Package-Manager: Portage-2.3.28, Repoman-2.3.9
Diffstat (limited to 'net-wireless/chirp')
-rw-r--r--net-wireless/chirp/Manifest1
-rw-r--r--net-wireless/chirp/chirp-20180331.ebuild45
2 files changed, 46 insertions, 0 deletions
diff --git a/net-wireless/chirp/Manifest b/net-wireless/chirp/Manifest
index 77e709cafac..2d3b3e11dff 100644
--- a/net-wireless/chirp/Manifest
+++ b/net-wireless/chirp/Manifest
@@ -1 +1,2 @@
DIST chirp-daily-20170714.tar.gz 701208 BLAKE2B 2b73f605c86f9a7650f3dee05d2735d26583221206a824f1a0f0642a41ecbbc6e94e1b2b069c40cbb7a5d73d1219c719c896f75cc647f668eeded627af3bc279 SHA512 4ebc09142077fe2e17f4d01ce83babd07a55eb44db4f62358c1eaa341ffc983f7bacffa734caf1ec6973037571878bdb6d7b65fe6905681a1aa62ac0dee2a09c
+DIST chirp-daily-20180331.tar.gz 754495 BLAKE2B 81db154e784b0d01809e79b3eee6c518becb3760f85b606ab7bae174d77fdc5fee9fa81684cb1784e80f27abb909a1825519ea6e72fb2d69e9e4aa788deb3c53 SHA512 2ddcf8bcf5ff47639c06e5dce212e747fe7bc0bf3347da226a0d26c27748cbcc99726d6926c695d742d101376581e708a601129bac75687c5e92bc8a55863f3d
diff --git a/net-wireless/chirp/chirp-20180331.ebuild b/net-wireless/chirp/chirp-20180331.ebuild
new file mode 100644
index 00000000000..556485ceac9
--- /dev/null
+++ b/net-wireless/chirp/chirp-20180331.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+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="radioreference"
+
+DEPEND="${PYTHON_DEPS}
+ dev-python/pyserial[${PYTHON_USEDEP}]
+ dev-libs/libxml2[python]"
+RDEPEND="${DEPEND}
+ dev-python/pygtk[${PYTHON_USEDEP}]
+ radioreference? ( dev-python/suds[${PYTHON_USEDEP}] )"
+
+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
+}