diff options
Diffstat (limited to 'net-wireless/chirp')
-rw-r--r-- | net-wireless/chirp/Manifest | 2 | ||||
-rw-r--r-- | net-wireless/chirp/chirp-20180331.ebuild | 45 |
2 files changed, 47 insertions, 0 deletions
diff --git a/net-wireless/chirp/Manifest b/net-wireless/chirp/Manifest index 5e4614131ef0..968baf521702 100644 --- a/net-wireless/chirp/Manifest +++ b/net-wireless/chirp/Manifest @@ -1,4 +1,6 @@ DIST chirp-daily-20170714.tar.gz 701208 BLAKE2B 2b73f605c86f9a7650f3dee05d2735d26583221206a824f1a0f0642a41ecbbc6e94e1b2b069c40cbb7a5d73d1219c719c896f75cc647f668eeded627af3bc279 SHA512 4ebc09142077fe2e17f4d01ce83babd07a55eb44db4f62358c1eaa341ffc983f7bacffa734caf1ec6973037571878bdb6d7b65fe6905681a1aa62ac0dee2a09c +DIST chirp-daily-20180331.tar.gz 754495 BLAKE2B 81db154e784b0d01809e79b3eee6c518becb3760f85b606ab7bae174d77fdc5fee9fa81684cb1784e80f27abb909a1825519ea6e72fb2d69e9e4aa788deb3c53 SHA512 2ddcf8bcf5ff47639c06e5dce212e747fe7bc0bf3347da226a0d26c27748cbcc99726d6926c695d742d101376581e708a601129bac75687c5e92bc8a55863f3d EBUILD chirp-20170714.ebuild 1043 BLAKE2B 003a08c8574795d9bf453bef24bde2a6cec0d0c48ca3e412ba8feef0e54a10c11aee4ee226daff65eb7c0b9f1bd8719f4226e3d20a92f3d635a98f2a218718f3 SHA512 5db611b3be52f84db7f6821c9e321abdb2bf055dd015a2a677f0292bb06c08e8612cd7b9bd5e4a37299fc59b5df23e67e897560e2d5b0cfe286b3c5c38e1d630 +EBUILD chirp-20180331.ebuild 1043 BLAKE2B af0785d96477689c3be5b933220c2ee16f1fc4d0ad3c021c53926a899c576117e46a6ba2ce3ec90697694f69e38e6d22fbbeb20cf6b85e1d9e3c2ff2265cd679 SHA512 eeb9bc29822fb4e7b7942e7181a05c84b2b0cb2523a3b8e6c965a098394ce1fc7ed1a92700e9698bbf6bc95ae8b1d8181cba43a4a3e3b926b7d023fbffe1ece6 EBUILD chirp-99999999.ebuild 1043 BLAKE2B 003a08c8574795d9bf453bef24bde2a6cec0d0c48ca3e412ba8feef0e54a10c11aee4ee226daff65eb7c0b9f1bd8719f4226e3d20a92f3d635a98f2a218718f3 SHA512 5db611b3be52f84db7f6821c9e321abdb2bf055dd015a2a677f0292bb06c08e8612cd7b9bd5e4a37299fc59b5df23e67e897560e2d5b0cfe286b3c5c38e1d630 MISC metadata.xml 457 BLAKE2B 1f7caba85f5961ded80d4d421e260465f69de0549bf2f50186bbad8d75ff090e6b6bbf8e2a73b732b164f8210faec27051ae24e2fe677fc3a00c0960e7b39d38 SHA512 748db876146f4074e0ea1290e451f3f06531fc24ea823eff121dfa6ac58a95af0cd819ae0832417a74725a0ff61384c921906050128d144412c9f3b56edf8c67 diff --git a/net-wireless/chirp/chirp-20180331.ebuild b/net-wireless/chirp/chirp-20180331.ebuild new file mode 100644 index 000000000000..556485ceac99 --- /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 +} |