mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-09 18:47:16 -08:00
dev-python/pysnmp: Remove old
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -1,2 +1 @@
|
||||
DIST pysnmp-7.1.28.gh.tar.gz 497049 BLAKE2B 70305ce46753e5b619412d80fc24d558e6a291c89141a5ad6075fafa3cc204e2f657bdef98ea77ff5b3c52026b6450b4371c382681fa87fb2bcba8f7400d4d6c SHA512 612489b07cecd1ccd707633c8b4d695712e4fb0ed7d4b3ebf63663c463fb273752f987ae4fff9c69c6501b68f47216abb8126d57e1a27a9823952edf59377144
|
||||
DIST pysnmp-7.1.29.gh.tar.gz 498327 BLAKE2B 091f8fb3121573858ed36b387d9e90f27d2d4b8cfd10c4f500d8f35e69b322824dd741837cd6c388568357694c09e94249bbb1cdb5133d89976c4666aced9f37 SHA512 53eb9657590fe2fbd3af956177200ee51df7d9f6d1eab51ea689b47a7a4181cc0ff3cfae229be6e8ec5c2ee18acb578ca412c244196ceab410d09413472bd05a
|
||||
|
||||
@@ -1,49 +0,0 @@
|
||||
# Copyright 1999-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=flit-core
|
||||
PYTHON_COMPAT=( python3_{12..14} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Python SNMP library"
|
||||
HOMEPAGE="
|
||||
https://pypi.org/project/pysnmp/
|
||||
https://github.com/lextudio/pysnmp/
|
||||
"
|
||||
SRC_URI="
|
||||
https://github.com/lextudio/pysnmp/archive/v${PV}.tar.gz
|
||||
-> ${P}.gh.tar.gz
|
||||
"
|
||||
|
||||
LICENSE="BSD-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~arm arm64 ppc ~sparc x86"
|
||||
PROPERTIES="test_network"
|
||||
RESTRICT="test"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/cryptography-43.0.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/pyasn1-0.6.3[${PYTHON_USEDEP}]
|
||||
>=dev-python/pysmi-2.0.0[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
EPYTEST_PLUGINS=( pytest-{asyncio,rerunfailures} )
|
||||
# flaky because of timeouts
|
||||
EPYTEST_RERUNFAILURES=5
|
||||
distutils_enable_tests pytest
|
||||
# TODO
|
||||
# distutils_enable_sphinx docs/source dev-python/furo dev-python/sphinx-copybutton dev-python/sphinx-sitemap
|
||||
|
||||
python_test() {
|
||||
# see .github/workflows/build-test.yml
|
||||
mibdump --generate-mib-texts NET-SNMP-EXAMPLES-MIB || die
|
||||
mibdump --generate-mib-texts IF-MIB || die
|
||||
mibdump --generate-mib-texts LEXTUDIO-TEST-MIB || die
|
||||
mibdump --generate-mib-texts CISCO-ENHANCED-IPSEC-FLOW-MIB.py || die
|
||||
mibdump --generate-mib-texts TCP-MIB || die
|
||||
|
||||
epytest
|
||||
}
|
||||
Reference in New Issue
Block a user