dev-python/librouteros - 4.2.2 (ha-bleeding-edge)

Search

Install

Install this version:

emerge -a =dev-python/librouteros-4.2.2

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

autounmask =dev-python/librouteros-4.2.2

Or alternatively:

emerge --autounmask-write -a =dev-python/librouteros-4.2.2

Package Information

Description:
Python implementation of MikroTik RouterOS API
Homepage:
https://pypi.org/project/librouteros/ https://github.com/luqasz/librouteros/
License:
GPL-2+

Ebuild Details

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

EAPI=8

DISTUTILS_USE_PEP517=uv-build
PYTHON_COMPAT=( python3_{12..15} )

inherit distutils-r1

DESCRIPTION="Python implementation of MikroTik RouterOS API"
HOMEPAGE="
	https://pypi.org/project/librouteros/
	https://github.com/luqasz/librouteros/
"
# Tests are not shipped in the PyPI sdist.
SRC_URI="
	https://github.com/luqasz/${PN}/archive/refs/tags/${PV}.tar.gz
		-> ${P}.gh.tar.gz
"

LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="~amd64"

DOCS=( CHANGELOG.rst README.rst )

EPYTEST_PLUGINS=( hypothesis pytest-asyncio )
distutils_enable_tests pytest
distutils_enable_sphinx docs --no-autodoc

python_test() {
	epytest tests/unit
}

Inherited Eclasses

Manifest for 4.2.2

Type File Size Source URLs
DIST librouteros-4.2.2.gh.tar.gz 130708 bytes https://github.com/luqasz/librouteros/archive/refs/tags/4.2.2.tar.gz