dev-python/pysnmp-pysmi - 1.1.12 (ha-bleeding-edge)

Search

Install

Install this version:

emerge -a =dev-python/pysnmp-pysmi-1.1.12

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

autounmask =dev-python/pysnmp-pysmi-1.1.12

Or alternatively:

emerge --autounmask-write -a =dev-python/pysnmp-pysmi-1.1.12

Package Information

Description:
PySMI is a pure-Python implementation of SNMP SMI MIB parser. This tool is designed to turn ASN.1 MIBs into various formats.
Homepage:
https://github.com/pysnmp/pysmi https://pypi.org/project/pysnmp-pysmi/
License:
BSD-2

Ebuild Details

Version EAPI Keywords Slot
1.1.12 8 ~amd64 ~arm64 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=poetry
inherit pypi distutils-r1

DESCRIPTION="PySMI is a pure-Python implementation of SNMP SMI MIB parser. This tool is designed to turn ASN.1 MIBs into various formats."
HOMEPAGE="https://github.com/pysnmp/pysmi https://pypi.org/project/pysnmp-pysmi/"

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

DOCS="README.md"

RDEPEND="
    >=dev-python/ply-3.11[${PYTHON_USEDEP}]
    >=dev-python/requests-2.31.0[${PYTHON_USEDEP}]
"
BDEPEND="
    test? (
        dev-python/pytest[${PYTHON_USEDEP}]
    )
"

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

distutils_enable_tests unittest

USE Flags

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

Global/Standard Flags

Inherited Eclasses

Dependencies

RDEPEND

    >=dev-python/ply-3.11[]
    >=dev-python/requests-2.31.0[]

BDEPEND

    test? (
        dev-python/pytest[]
    )