summaryrefslogtreecommitdiff
blob: c3ece1ea141cbbd0a386b8c139a9af526841b486 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Copyright 2017-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

DISTUTILS_USE_PEP517=poetry
PYTHON_COMPAT=( python3_{10..13} )
inherit distutils-r1 pypi

DESCRIPTION="A pure-Python implementation of SNMP/SMI MIB parsing and conversion library."
HOMEPAGE="
	https://github.com/lextudiopysmi/
	https://pypi.org/project/pysmi-lextudio/
"

LICENSE="BSD-2"
SLOT="0"
KEYWORDS="~amd64"

RDEPEND="
	!!dev-python/pysmi
	>=dev-python/jinja-3.1.3[${PYTHON_USEDEP}]
	>=dev-python/ply-3.11[${PYTHON_USEDEP}]
	>=dev-python/requests-2.26.0[${PYTHON_USEDEP}]
"
BDEPEND="
	test? (
		>=dev-python/pysnmp-lextudio-5.0.0[${PYTHON_USEDEP}]
	)
"

distutils_enable_tests pytest
# TODO: doc
# distutils_enable_sphinx docs/source dev-python/sphinx-copybutton dev-python/sphinx-sitemap