Сравнение gpsd-3.24 с gpsd-3.25

/usr/portage/sci-geosciences/gpsd/gpsd-3.25.ebuild 2023-10-09 14:52:35.048368490 +0300
1 1
# Copyright 1999-2023 Gentoo Authors
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4
EAPI=7
4
EAPI=8
5 5

  
6 6
DISTUTILS_OPTIONAL=1
7
PYTHON_COMPAT=( python3_{9,10} )
7
PYTHON_COMPAT=( python3_{9..11} )
8 8
SCONS_MIN_VERSION="2.3.0"
9 9

  
10 10
inherit distutils-r1 scons-utils systemd toolchain-funcs udev
11 11

  
12
if [[ ${PV} == "9999" ]] ; then
12
if [[ ${PV} == 9999 ]] ; then
13 13
	EGIT_REPO_URI="https://gitlab.com/gpsd/gpsd.git"
14 14
	inherit git-r3
15 15
else
......
21 21
HOMEPAGE="https://gpsd.gitlab.io/gpsd/"
22 22

  
23 23
LICENSE="BSD"
24
SLOT="0/29"
24
SLOT="0/30"
25 25

  
26 26
GPSD_PROTOCOLS=(
27 27
	aivdm ashtech earthmate evermore fury fv18 garmin garmintxt geostar
......
29 29
	rtcm104v2 rtcm104v3 sirf skytraq superstar2 tnt tripmate tsip ublox
30 30
)
31 31
IUSE_GPSD_PROTOCOLS=${GPSD_PROTOCOLS[@]/#/+gpsd_protocols_}
32
IUSE="${IUSE_GPSD_PROTOCOLS} bluetooth +cxx dbus debug ipv6 latency-timing ncurses ntp +python qt5 +shm +sockets static systemd test udev usb X"
33
REQUIRED_USE="X? ( python )
32
IUSE="${IUSE_GPSD_PROTOCOLS} bluetooth +cxx dbus debug ipv6 latency-timing ncurses ntp +python qt5 selinux +shm +sockets static systemd test udev usb X"
33
REQUIRED_USE="
34
	X? ( python )
34 35
	gpsd_protocols_nmea2000? ( gpsd_protocols_aivdm )
35 36
	gpsd_protocols_isync? ( gpsd_protocols_ublox )
36 37
	gpsd_protocols_ublox? ( python )
37 38
	gpsd_protocols_greis? ( python )
38 39
	python? ( ${PYTHON_REQUIRED_USE} )
39
	qt5? ( cxx )"
40
	qt5? ( cxx )
41
"
40 42
RESTRICT="!test? ( test )"
41 43

  
42 44
RDEPEND="
......
67 69
BDEPEND="virtual/pkgconfig
68 70
	$(python_gen_any_dep 'dev-util/scons[${PYTHON_USEDEP}]')
69 71
	test? ( sys-devel/bc )"
72
RDEPEND+=" selinux? ( sec-policy/selinux-gpsd )"
70 73

  
71 74
# asciidoctor package is for man page generation
72 75
if [[ ${PV} == *9999* ]] ; then
......
208 211
}
209 212

  
210 213
src_install() {
211
	DESTDIR="${D}" escons install "${scons_opts[@]}" $(usex udev udev-install '')
214
	DESTDIR="${D}" escons install "${scons_opts[@]}" $(usev udev udev-install)
212 215

  
213 216
	newconfd "${FILESDIR}"/gpsd.conf-2 gpsd
214 217
	newinitd "${FILESDIR}"/gpsd.init-2 gpsd
215 218

  
216 219
	# Cleanup bad alt copy due to Scons
217
	rm -rf  "${D}"/python-discard/gps*
220
	rm -rf "${D}"/python-discard/gps*
218 221
	find "${D}"/python-discard/ -type d -delete
219 222
	# Install correct multi-python copy
220 223
	pushd "${P}" || die
Спасибо!