dev-python/pysmarty2 - 0.10.3 (ha-bleeding-edge)

Search

Install

Install this version:

emerge -a =dev-python/pysmarty2-0.10.3

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

autounmask =dev-python/pysmarty2-0.10.3

Or alternatively:

emerge --autounmask-write -a =dev-python/pysmarty2-0.10.3

Package Information

Description:
Python API for Salda Smarty Modbus TCP
Homepage:
https://github.com/martinssipenko/pysmarty2 https://pypi.org/project/pysmarty2/
License:
MIT

Ebuild Details

Version EAPI Keywords Slot
0.10.3 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_{12..14} )

DISTUTILS_USE_PEP517=setuptools
inherit distutils-r1 pypi

DESCRIPTION="Python API for Salda Smarty Modbus TCP"
HOMEPAGE="https://github.com/martinssipenko/pysmarty2 https://pypi.org/project/pysmarty2/"
LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 arm arm64 x86"
IUSE="test"
RESTRICT="!test? ( test )"

DOCS="README.md"

RDEPEND=">=dev-python/pymodbus-3.11.0[${PYTHON_USEDEP}] <dev-python/pymodbus-4.0.0[${PYTHON_USEDEP}]"

src_prepare() {
	echo "pymodbus>=3.11.0,<4.0.0" > requirements.txt
	eapply_user
}

distutils_enable_tests pytest

USE Flags

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

Global/Standard Flags

Inherited Eclasses

Dependencies

RDEPEND

>=dev-python/pymodbus-3.11.0[] <dev-python/pymodbus-4.0.0[]