Diff mosquitto-1.6.12 with a mosquitto-2.0.10

/usr/portage/app-misc/mosquitto/mosquitto-2.0.10.ebuild 2021-05-08 05:39:00.000000000 +0300
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4 4
EAPI=7
5
PYTHON_COMPAT=( python3_{7,8} )
5
PYTHON_COMPAT=( python3_{6..9} )
6 6

  
7 7
inherit python-any-r1 systemd toolchain-funcs
8 8

  
......
12 12

  
13 13
LICENSE="EPL-1.0"
14 14
SLOT="0"
15
KEYWORDS="amd64 arm ~arm64 ~x86"
15
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
16 16
IUSE="bridge examples +persistence +srv ssl tcpd test websockets"
17 17
RESTRICT="!test? ( test )"
18 18

  
......
21 21
RDEPEND="
22 22
	acct-user/mosquitto
23 23
	acct-group/mosquitto
24
	dev-libs/cJSON:=
24 25
	srv? ( net-dns/c-ares:= )
25 26
	ssl? (
26 27
		dev-libs/openssl:0=
......
71 72
	sed -i -e '/02-subscribe-qos1-async2.test/d' \
72 73
		test/lib/Makefile || die
73 74

  
75
	# Extend test timeout to prevent spurious failures
76
	sed -i -e 's/SUB_TIMEOUT=1/SUB_TIMEOUT=3/' \
77
		test/client/test.sh || die
78

  
74 79
	python_setup
75 80
	python_fix_shebang test
76 81
}
......
87 92
	_emake DESTDIR="${D}" prefix=/usr install
88 93
	keepdir /var/lib/mosquitto
89 94
	fowners mosquitto:mosquitto /var/lib/mosquitto
90
	dodoc readme.md CONTRIBUTING.md ChangeLog.txt
95
	dodoc README.md CONTRIBUTING.md ChangeLog.txt
91 96
	doinitd "${FILESDIR}"/mosquitto
92 97
	insinto /etc/mosquitto
93 98
	doins mosquitto.conf
......
98 103
		dodoc -r examples
99 104
	fi
100 105
}
101

  
102
pkg_postinst() {
103
	if [[ -z "${REPLACING_VERSIONS}" ]]; then
104
		elog "The Python module has been moved out of mosquitto."
105
		elog "See https://mosquitto.org/documentation/python/"
106
	else
107
		elog "To start the mosquitto daemon at boot, add it to the default runlevel with:"
108
		elog ""
109
		elog "    rc-update add mosquitto default"
110
		elog "or"
111
		elog "    systemctl enable mosquitto"
112
	fi
113
}
Thank you!