From 8545c830e0410af2117c0a955db162a0f571aab0 Mon Sep 17 00:00:00 2001 From: Sam James Date: Sun, 2 Jun 2024 01:49:38 +0100 Subject: sci-geosciences/gpsd: add missing die, fix indentation Signed-off-by: Sam James --- sci-geosciences/gpsd/gpsd-9999.ebuild | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'sci-geosciences') diff --git a/sci-geosciences/gpsd/gpsd-9999.ebuild b/sci-geosciences/gpsd/gpsd-9999.ebuild index f89f4b416914..75899a3a66c3 100644 --- a/sci-geosciences/gpsd/gpsd-9999.ebuild +++ b/sci-geosciences/gpsd/gpsd-9999.ebuild @@ -33,7 +33,7 @@ IUSE_GPSD_PROTOCOLS=${GPSD_PROTOCOLS[@]/#/+gpsd_protocols_} IUSE="${IUSE_GPSD_PROTOCOLS} bluetooth +cxx dbus debug ipv6 latency-timing ncurses ntp qt5 selinux +shm static systemd test udev usb X" REQUIRED_USE=" gpsd_protocols_nmea2000? ( gpsd_protocols_aivdm ) - ${PYTHON_REQUIRED_USE} + ${PYTHON_REQUIRED_USE} qt5? ( cxx ) " RESTRICT="!test? ( test )" @@ -135,10 +135,12 @@ python_prepare_all() { -e "s|@SUPPORT@|https://gpsd.io/SUPPORT.html|" \ -e "s|@WEBSITE@|https://gpsd.io/|" \ "${S}"/packaging/gpsd-setup.py.in > setup.py || die + if [[ "${PV}" == *9999* ]]; then # Distutils doesn't like the tilde - sed -i s/~dev/-dev/ setup.py + sed -i s/~dev/-dev/ setup.py || die fi + distutils-r1_python_prepare_all } -- cgit v1.2.3-65-gdbad