dev-python/PyFlume - 0.8.7 (ha-bleeding-edge)

Search

Install

Install this version:

emerge -a =dev-python/PyFlume-0.8.7

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

autounmask =dev-python/PyFlume-0.8.7

Or alternatively:

emerge --autounmask-write -a =dev-python/PyFlume-0.8.7

Package Information

Description:
Package to integrate with Flume Sensor
Homepage:
https://github.com/ChrisMandich/PyFlume https://pypi.org/project/PyFlume/
License:
MIT

Ebuild Details

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

EAPI=8

PYTHON_COMPAT=( python3_{12..14} )
DISTUTILS_USE_PEP517=setuptools
#PYPI_NO_NORMALIZE=1
inherit distutils-r1 pypi
DESCRIPTION="Package to integrate with Flume Sensor"
HOMEPAGE="https://github.com/ChrisMandich/PyFlume https://pypi.org/project/PyFlume/"

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

DOCS="README.md"

RDEPEND="dev-python/requests[${PYTHON_USEDEP}]
	dev-python/pyjwt[${PYTHON_USEDEP}]
	dev-python/ratelimit[${PYTHON_USEDEP}]"
BDEPEND="
	test? (
		dev-python/pytest[${PYTHON_USEDEP}]
	)"

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

src_prepare() {
	sed "s/packages=setuptools.find_packages()/packages=setuptools.find_packages(exclude=['tests','tests.*'])/g" -i setup.py || die
	eapply_user
}

distutils_enable_tests pytest

USE Flags

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

Global/Standard Flags

Inherited Eclasses

Dependencies

RDEPEND

dev-python/requests[]
	dev-python/pyjwt[]
	dev-python/ratelimit[]

BDEPEND

	test? (
		dev-python/pytest[]
	)