summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSven Wegener <swegener@gentoo.org>2016-08-03 11:31:22 +0000
committerSven Wegener <swegener@gentoo.org>2016-08-03 11:35:21 +0000
commitc9b2d8603670c47cd08acc9695159012f6114983 (patch)
treef3708e4d4e9f0b7b6686fec64f1ebe20c18d6de1 /sci-electronics
parentsci-electronics/sigrok-cli: Bump sigrok dependencies (diff)
downloadgentoo-c9b2d8603670c47cd08acc9695159012f6114983.tar.gz
gentoo-c9b2d8603670c47cd08acc9695159012f6114983.tar.bz2
gentoo-c9b2d8603670c47cd08acc9695159012f6114983.zip
sci-electronics/sigrok-cli: Version bump, bug #579586
Package-Manager: portage-2.2.28 Signed-off-by: Sven Wegener <swegener@gentoo.org>
Diffstat (limited to 'sci-electronics')
-rw-r--r--sci-electronics/sigrok-cli/Manifest1
-rw-r--r--sci-electronics/sigrok-cli/sigrok-cli-0.6.0.ebuild43
2 files changed, 44 insertions, 0 deletions
diff --git a/sci-electronics/sigrok-cli/Manifest b/sci-electronics/sigrok-cli/Manifest
index 477ac094fd40..003facddbde0 100644
--- a/sci-electronics/sigrok-cli/Manifest
+++ b/sci-electronics/sigrok-cli/Manifest
@@ -1 +1,2 @@
DIST sigrok-cli-0.5.0.tar.gz 390077 SHA256 73a30501525b13c09624ae00d37041cdaa50238d89c6febf169fc784affe723c SHA512 27945c8da71267b0e0e6762d646361ab23637e3187d68fba93a1306a4b01418c78d5779d885e1ad91304c3865f980e9472986215c40900ec25abe9eb5a437fde WHIRLPOOL 94a9c0c97cf9eae5b7b3b7d7157e0a38e27e74682f9f6d862a60eb3d812f5e9f951f8bf075e78f41e34bcee1b6acc0f5a10040e2c33edc6755527e492120c9fe
+DIST sigrok-cli-0.6.0.tar.gz 206733 SHA256 ab2ede4e245f3987e19a89a530bd204e0d792c07474d9fed3345d4af4e84723c SHA512 c60c0ca0897d8d6764f04f3ae46b0715c8e4f7d6bb9af1219419a961b6d0c7f2eb5ae61d98cc6746b0403d2bf6bea7d243e539a53ca53c68da50a4f262d0f6c0 WHIRLPOOL 8d107eff4ec90f99fc541435888db2d2a07c43aa2c08947839f508efb8af519d896e402bc3aa54070d48084d1d29fca443e32b7ace61016f0c1f29814174efac
diff --git a/sci-electronics/sigrok-cli/sigrok-cli-0.6.0.ebuild b/sci-electronics/sigrok-cli/sigrok-cli-0.6.0.ebuild
new file mode 100644
index 000000000000..a633c4ea364b
--- /dev/null
+++ b/sci-electronics/sigrok-cli/sigrok-cli-0.6.0.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="6"
+
+PYTHON_COMPAT=( python3_{3,4} )
+
+inherit python-single-r1
+
+if [[ ${PV} == "9999" ]]; then
+ EGIT_REPO_URI="git://sigrok.org/${PN}"
+ inherit git-r3 autotools
+else
+ SRC_URI="http://sigrok.org/download/source/${PN}/${P}.tar.gz"
+ KEYWORDS="~amd64 ~x86"
+fi
+
+DESCRIPTION="Command-line client for the sigrok logic analyzer software"
+HOMEPAGE="http://sigrok.org/wiki/Sigrok-cli"
+
+LICENSE="GPL-3"
+SLOT="0"
+IUSE="+decode"
+REQUIRED_USE="decode? ( ${PYTHON_REQUIRED_USE} )"
+
+RDEPEND=">=dev-libs/glib-2.28.0
+ >=sci-libs/libsigrok-0.4.0
+ decode? (
+ >=sci-libs/libsigrokdecode-0.4.0[${PYTHON_USEDEP}]
+ ${PYTHON_DEPS}
+ )"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+src_prepare() {
+ [[ ${PV} == "9999" ]] && eautoreconf
+ eapply_user
+}
+
+src_configure() {
+ econf $(use_with decode libsigrokdecode)
+}