summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSven Wegener <swegener@gentoo.org>2018-11-03 10:50:45 +0000
committerSven Wegener <swegener@gentoo.org>2018-11-03 11:02:16 +0000
commit44a92926dd46d20cd3f4d4cd2c7ebbd619e9024a (patch)
treef8fb0c2023f2462c7c6a3e79f21ea8185c02356e /sci-electronics
parentsci-libs/libsigrok: Version bump (diff)
downloadgentoo-44a92926dd46d20cd3f4d4cd2c7ebbd619e9024a.tar.gz
gentoo-44a92926dd46d20cd3f4d4cd2c7ebbd619e9024a.tar.bz2
gentoo-44a92926dd46d20cd3f4d4cd2c7ebbd619e9024a.zip
sci-electronics/sigrok-cli: Version bump
Signed-off-by: Sven Wegener <swegener@gentoo.org> Package-Manager: Portage-2.3.49, Repoman-2.3.11
Diffstat (limited to 'sci-electronics')
-rw-r--r--sci-electronics/sigrok-cli/Manifest1
-rw-r--r--sci-electronics/sigrok-cli/sigrok-cli-0.7.1.ebuild42
2 files changed, 43 insertions, 0 deletions
diff --git a/sci-electronics/sigrok-cli/Manifest b/sci-electronics/sigrok-cli/Manifest
index 4202f6c88d33..8205432060e5 100644
--- a/sci-electronics/sigrok-cli/Manifest
+++ b/sci-electronics/sigrok-cli/Manifest
@@ -1 +1,2 @@
DIST sigrok-cli-0.7.0.tar.gz 210736 BLAKE2B b375d3e50cdcf2d261e57237f9e9069cf67a90f6465c4f76f0a5a2279998b41bfc19386167114e6680394be12abade861aec19503bc3bbadd012f336b28189ac SHA512 c3323fea1a10fb67787e287195c8d7c1a1a47540fb90f6f41ac5f1adc19e1496a0712b41e17253d8e9d269b1da84a9058f0f099cf2ca96dd0201f5c6172e4ff6
+DIST sigrok-cli-0.7.1.tar.gz 221754 BLAKE2B a2edd3ef990c484660dd3fa6f8b8f2ca3eb500a39ac66da1ce9b95c7dd6bfbc5f39b7e5a28872bc8b4c6b7e6282919bbb22f71796ad8e16f3549ef2e4674f02e SHA512 a56d9439efca74f8362ed225d8fa92adfaee053470b166629ad2d8f3ebf5bea05a37782750c9321aabd3b47e634734fa5e5b0cc5353bf49dd1629cdcdb98aef5
diff --git a/sci-electronics/sigrok-cli/sigrok-cli-0.7.1.ebuild b/sci-electronics/sigrok-cli/sigrok-cli-0.7.1.ebuild
new file mode 100644
index 000000000000..b94222c62b51
--- /dev/null
+++ b/sci-electronics/sigrok-cli/sigrok-cli-0.7.1.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2018 Gentoo Authors
+# 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="https://sigrok.org/download/source/${PN}/${P}.tar.gz"
+ KEYWORDS="~amd64 ~x86"
+fi
+
+DESCRIPTION="Command-line client for the sigrok logic analyzer software"
+HOMEPAGE="https://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)
+}