net-wireless/chirp: bump, cleanup

Package-Manager: Portage-2.3.40, Repoman-2.3.9
This commit is contained in:
Zero_Chaos
2018-06-26 16:08:23 -04:00
parent 9caf872a70
commit 198104cff2
4 changed files with 18 additions and 48 deletions

View File

@@ -1,2 +1 @@
DIST chirp-daily-20170714.tar.gz 701208 BLAKE2B 2b73f605c86f9a7650f3dee05d2735d26583221206a824f1a0f0642a41ecbbc6e94e1b2b069c40cbb7a5d73d1219c719c896f75cc647f668eeded627af3bc279 SHA512 4ebc09142077fe2e17f4d01ce83babd07a55eb44db4f62358c1eaa341ffc983f7bacffa734caf1ec6973037571878bdb6d7b65fe6905681a1aa62ac0dee2a09c
DIST chirp-daily-20180331.tar.gz 754495 BLAKE2B 81db154e784b0d01809e79b3eee6c518becb3760f85b606ab7bae174d77fdc5fee9fa81684cb1784e80f27abb909a1825519ea6e72fb2d69e9e4aa788deb3c53 SHA512 2ddcf8bcf5ff47639c06e5dce212e747fe7bc0bf3347da226a0d26c27748cbcc99726d6926c695d742d101376581e708a601129bac75687c5e92bc8a55863f3d
DIST chirp-daily-20180623.tar.gz 767246 BLAKE2B c842ade8f5d25ca44bbb9ffea09f32ad4f4c04747e5eb08ad2e533b6dc4fa323bdd8a1a1b47da44e50efa502e856dfa5da14fab6688d1dda470d13e219d08341 SHA512 2c82f575faaac7f922e4aae192f992f724be7dc6788f194e581a21238f21af3b554ae0c3bba08d34806d310b796a4f49ef96de97ba758c41cc55edf6e1a1566f

View File

@@ -1,45 +0,0 @@
# Copyright 1999-2017 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
}

View File

@@ -43,3 +43,11 @@ python_test() {
"${PYTHON}" run_tests || die
popd > /dev/null
}
pkg_postinst() {
xdg_desktop_database_update
}
pkg_postrm() {
xdg_desktop_database_update
}

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2017 Gentoo Foundation
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -43,3 +43,11 @@ python_test() {
"${PYTHON}" run_tests || die
popd > /dev/null
}
pkg_postinst() {
xdg_desktop_database_update
}
pkg_postrm() {
xdg_desktop_database_update
}