1 # Copyright 1999-2020 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
5 PYTHON_COMPAT=( python3_6 )
9 DESCRIPTION="A client class with support for both MQTT v3.1 and v3.1.1"
10 HOMEPAGE="https://www.eclipse.org/paho/clients/python/"
11 SRC_URI="https://github.com/eclipse/paho.mqtt.python/archive/v${PV}.tar.gz -> ${P}.tar.gz"
15 KEYWORDS="amd64 ~arm64 x86"
19 DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
21 dev-python/mock[${PYTHON_USEDEP}]
22 dev-python/pytest[${PYTHON_USEDEP}]
23 dev-python/pytest-runner[${PYTHON_USEDEP}]
26 S="${WORKDIR}/paho.mqtt.python-${PV}"
28 RESTRICT="test" #659106
31 eapply "${FILESDIR}/${PN}-1.3.1-strip-test-dependency.patch"