summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-08-15 23:02:07 +0100
committerSam James <sam@gentoo.org>2021-08-15 23:04:49 +0100
commite278ee90b09436b6beaf4de20ab3d671692e6428 (patch)
tree6e2bc577f4fae9ae44969a2e95bf92209c774a0e /sci-geosciences/gpsd/gpsd-3.23.ebuild
parentdev-python/pytables: keyword 3.6.1 for ~riscv (diff)
downloadgentoo-e278ee90b09436b6beaf4de20ab3d671692e6428.tar.gz
gentoo-e278ee90b09436b6beaf4de20ab3d671692e6428.tar.bz2
gentoo-e278ee90b09436b6beaf4de20ab3d671692e6428.zip
sci-geosciences/gpsd: add scons dependency, sync live
Reported-by: Andreas Sturmlechner <asturm@gentoo.org> Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sci-geosciences/gpsd/gpsd-3.23.ebuild')
-rw-r--r--sci-geosciences/gpsd/gpsd-3.23.ebuild5
1 files changed, 5 insertions, 0 deletions
diff --git a/sci-geosciences/gpsd/gpsd-3.23.ebuild b/sci-geosciences/gpsd/gpsd-3.23.ebuild
index fa8c1276e647..f21d1e6662f4 100644
--- a/sci-geosciences/gpsd/gpsd-3.23.ebuild
+++ b/sci-geosciences/gpsd/gpsd-3.23.ebuild
@@ -44,6 +44,7 @@ RDEPEND="
acct-user/gpsd
acct-group/dialout
>=net-misc/pps-tools-0.0.20120407
+ $(python_gen_any_dep 'dev-util/scons[${PYTHON_USEDEP}]')
bluetooth? ( net-wireless/bluez )
dbus? (
sys-apps/dbus
@@ -73,6 +74,10 @@ if [[ ${PV} == *9999* ]] ; then
BDEPEND+=" dev-ruby/asciidoctor"
fi
+python_check_deps() {
+ has_version -b "dev-util/scons[${PYTHON_USEDEP}]" || return 1
+}
+
src_prepare() {
# Make sure our list matches the source.
local src_protocols=$(echo $(