dev-python/meteofrance-api - 1.3.0 (ha-bleeding-edge)

Search

Package Information

Description:
Python client for Meteo-France API.
Homepage:
https://github.com/hacf-fr/meteofrance-api https://pypi.org/project/meteofrance-api/
License:
MIT

Ebuild Details

Version EAPI Keywords Slot
1.3.0 8 amd64 arm arm64 x86 0
View Raw Ebuild
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

PYTHON_COMPAT=( python3_{11..12} )
DISTUTILS_USE_PEP517=poetry
inherit distutils-r1 pypi

DESCRIPTION="Python client for Meteo-France API."
HOMEPAGE="https://github.com/hacf-fr/meteofrance-api https://pypi.org/project/meteofrance-api/"
SRC_URI="$(pypi_sdist_url)"

LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 arm arm64 x86"
IUSE="test"
RESTRICT="!test? ( test )"

DOCS="README.rst"

RDEPEND=">=dev-python/requests-2.25.1[${PYTHON_USEDEP}]
	>=dev-python/urllib3-1.26.6[${PYTHON_USEDEP}]
	>=dev-python/pytz-2020.4[${PYTHON_USEDEP}]
	dev-python/typing-extensions[${PYTHON_USEDEP}]"
BDEPEND="
	test? (
		dev-python/pytest[${PYTHON_USEDEP}]
	)"

python_test() {
	py.test -v -v || die
}

distutils_enable_tests pytest

USE Flags

Dependencies

RDEPEND

>=dev-python/requests-2.25.1[${PYTHON_USEDEP}]
	>=dev-python/urllib3-1.26.6[${PYTHON_USEDEP}]
	>=dev-python/pytz-2020.4[${PYTHON_USEDEP}]
	dev-python/typing-extensions[${PYTHON_USEDEP}]

BDEPEND

	test? (
		dev-python/pytest[${PYTHON_USEDEP}]
	)