summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSven Wegener <swegener@gentoo.org>2017-07-01 20:51:38 +0000
committerSven Wegener <swegener@gentoo.org>2017-07-01 20:52:35 +0000
commitcef6f77c163be60c330794cfd75f1c29c3675858 (patch)
tree043b79a2be89421e03f5eeca3b1d696f9b2f31bb /sci-electronics
parentsci-electronics/sigrok-cli: Update dependencies of live ebuild (diff)
downloadgentoo-cef6f77c163be60c330794cfd75f1c29c3675858.tar.gz
gentoo-cef6f77c163be60c330794cfd75f1c29c3675858.tar.bz2
gentoo-cef6f77c163be60c330794cfd75f1c29c3675858.zip
sci-electronics/sigrok-cli: Version bump
Package-Manager: Portage-2.3.6, Repoman-2.3.2
Diffstat (limited to 'sci-electronics')
-rw-r--r--sci-electronics/sigrok-cli/Manifest1
-rw-r--r--sci-electronics/sigrok-cli/sigrok-cli-0.7.0.ebuild42
2 files changed, 43 insertions, 0 deletions
diff --git a/sci-electronics/sigrok-cli/Manifest b/sci-electronics/sigrok-cli/Manifest
index 003facddbde..2f9bc35a220 100644
--- a/sci-electronics/sigrok-cli/Manifest
+++ b/sci-electronics/sigrok-cli/Manifest
@@ -1,2 +1,3 @@
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
+DIST sigrok-cli-0.7.0.tar.gz 210736 SHA256 5669d968c2de3dfc6adfda76e83789b6ba76368407c832438cef5e7099a65e1c SHA512 c3323fea1a10fb67787e287195c8d7c1a1a47540fb90f6f41ac5f1adc19e1496a0712b41e17253d8e9d269b1da84a9058f0f099cf2ca96dd0201f5c6172e4ff6 WHIRLPOOL 23b4cc2d62dea79d1a25f651a078380fa7925578de131d12701859af7254604f57d2a663a05599c7262efc9c76f1f87caa82e86af9c708d7811039af9ba9a7a7
diff --git a/sci-electronics/sigrok-cli/sigrok-cli-0.7.0.ebuild b/sci-electronics/sigrok-cli/sigrok-cli-0.7.0.ebuild
new file mode 100644
index 00000000000..5cf98183b06
--- /dev/null
+++ b/sci-electronics/sigrok-cli/sigrok-cli-0.7.0.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+
+PYTHON_COMPAT=( python3_{4,5,6} )
+
+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.32.0
+ >=sci-libs/libsigrok-0.5.0
+ decode? (
+ >=sci-libs/libsigrokdecode-0.5.0[${PYTHON_USEDEP}]
+ ${PYTHON_DEPS}
+ )"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+src_prepare() {
+ [[ ${PV} == "9999" ]] && eautoreconf
+ eapply_user
+}
+
+src_configure() {
+ econf $(use_with decode libsigrokdecode)
+}