HomeAssistantRepository/dev-python/volvooncall/volvooncall-0.10.0-r1.ebuild
Andreas Billmeier (@Home/mbp) ce99480eab
complete rename of geopy:
update homeassistant-full-2022.7.7
update homeassistant-full-2022.8.6
update homeassistant-full-2022.8.7
update AEMET-OpenData-0.2.1-r1
update env-canada-0.5.22-r1
update hbmqtt-0.9.5
update ritassist-0.9.2-r1
update volvooncall-0.10.0-r1
remove olds
fixes #293
2022-09-09 06:53:11 +02:00

35 lines
831 B
Bash

# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{8..11} )
inherit distutils-r1
DESCRIPTION="Communicate with VOC"
HOMEPAGE="https://github.com/molobrakos/volvooncall https://pypi.org/project/volvooncall/"
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
LICENSE="public-domain"
SLOT="0"
KEYWORDS="amd64 arm arm64 x86"
IUSE="test"
RESTRICT="!test? ( test )"
RDEPEND=">=sci-geosciences/geopy-1.14.0[${PYTHON_USEDEP}]
dev-python/certifi[${PYTHON_USEDEP}]
dev-python/hbmqtt[${PYTHON_USEDEP}]
dev-python/aiohttp[${PYTHON_USEDEP}]"
BDEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
test? (
dev-python/nose[${PYTHON_USEDEP}]
dev-python/pytest[${PYTHON_USEDEP}]
)"
python_test() {
nosetests --verbose || die
py.test -v -v || die
}