dev-python/opensensemap-api - 0.4.1 (ha-bleeding-edge)

Search

Install

Install this version:

emerge -a =dev-python/opensensemap-api-0.4.1

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =dev-python/opensensemap-api-0.4.1

Or alternatively:

emerge --autounmask-write -a =dev-python/opensensemap-api-0.4.1

Package Information

Description:
Python client for interacting with the openSenseMap API.
Homepage:
https://github.com/home-assistant-ecosystem/python-opensensemap-api https://pypi.org/project/opensensemap-api/
License:
MIT

Ebuild Details

Version EAPI Keywords Slot
0.4.1 8 ~amd64 ~arm64 0
View Raw Ebuild
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

PYTHON_COMPAT=( python3_{12..14} )
DISTUTILS_USE_PEP517=hatchling
#PYPI_NO_NORMALIZE=1
inherit distutils-r1 pypi

DESCRIPTION="Python client for interacting with the openSenseMap API."
HOMEPAGE="https://github.com/home-assistant-ecosystem/python-opensensemap-api https://pypi.org/project/opensensemap-api/"

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

DOCS="README.rst"

RDEPEND=">=dev-python/aiohttp-3.8.5[${PYTHON_USEDEP}]
	<dev-python/aiohttp-4[${PYTHON_USEDEP}]"
BDEPEND="
	test? (
		>=dev-python/pytest-9[${PYTHON_USEDEP}]
		>=dev-python/pytest-asyncio-0.21[${PYTHON_USEDEP}]
	)"

distutils_enable_tests pytest

USE Flags

Manage flags for this package: euse -i <flag> -p dev-python/opensensemap-api | euse -E <flag> -p dev-python/opensensemap-api | euse -D <flag> -p dev-python/opensensemap-api

Global/Standard Flags

Inherited Eclasses

Dependencies

RDEPEND

>=dev-python/aiohttp-3.8.5[]
	<dev-python/aiohttp-4[]

BDEPEND

	test? (
		>=dev-python/pytest-9[]
		>=dev-python/pytest-asyncio-0.21[]
	)