diff options
| author | root <root@alpha.trunkmasters.com> | 2026-06-04 05:48:38 -0500 |
|---|---|---|
| committer | root <root@alpha.trunkmasters.com> | 2026-06-04 05:48:38 -0500 |
| commit | bfd9c39e4712ebdb442d4ca0673061faed1e70e1 (patch) | |
| tree | 0d7a74b4463ee387f9cf9368ceb1b757f694f72a /dev-python/pysnmp | |
| parent | f716a9fe6455d39eef01e718aae68dae61c19704 (diff) | |
| download | baldeagleos-repo-bfd9c39e4712ebdb442d4ca0673061faed1e70e1.tar.gz baldeagleos-repo-bfd9c39e4712ebdb442d4ca0673061faed1e70e1.tar.xz baldeagleos-repo-bfd9c39e4712ebdb442d4ca0673061faed1e70e1.zip | |
Revert "Adding metadata"
This reverts commit f716a9fe6455d39eef01e718aae68dae61c19704.
Diffstat (limited to 'dev-python/pysnmp')
| -rw-r--r-- | dev-python/pysnmp/Manifest | 3 | ||||
| -rw-r--r-- | dev-python/pysnmp/metadata.xml | 36 | ||||
| -rw-r--r-- | dev-python/pysnmp/pysnmp-7.1.25.ebuild | 51 | ||||
| -rw-r--r-- | dev-python/pysnmp/pysnmp-7.1.26.ebuild | 51 | ||||
| -rw-r--r-- | dev-python/pysnmp/pysnmp-7.1.27.ebuild | 49 |
5 files changed, 190 insertions, 0 deletions
diff --git a/dev-python/pysnmp/Manifest b/dev-python/pysnmp/Manifest new file mode 100644 index 000000000000..4c81606d0590 --- /dev/null +++ b/dev-python/pysnmp/Manifest @@ -0,0 +1,3 @@ +DIST pysnmp-7.1.25.gh.tar.gz 474626 BLAKE2B 719dc01aed012e29f45fa13c1e4132fe2dfff6a9e852c36d990ee184555ef61067ca626bfb5836b8cd255cc40452e929808002dcc7277d4018f9b09a6bcb136b SHA512 ec6ae8f19e8ee242e36cd1c2fa28c03eb3526b76dd4d7226bc21f63f4b645342c22e66d88880f2083b8a11e8721df50e29ef73329374304349e9c9af0d4a9996 +DIST pysnmp-7.1.26.gh.tar.gz 474653 BLAKE2B b5a501dde4f9b528cdda7072b04903b52ea8f4428c7efde683ae009add053aefa8bbcfa95bf694f55dfbe69dc770be3fa31a89250061c1b4745360c17e6e54cd SHA512 10f1420e76ebb5388668b34f9e9107e33d02568b9c327278d2bee4de054677967eccd36efcf93d9a6f7f33a3442a1daf9445e33dd372987ab44c2f56b94c33f6 +DIST pysnmp-7.1.27.gh.tar.gz 476101 BLAKE2B 37c7e51ad115b0c166cc2f84ddcbaab965ecf2db16dd464be56e3acf214ef3089a3586d49e6765528a8ff8298a08adb495898cfa8fff2e4922e5d1d6b219c0ba SHA512 0e9f720e5c097692466f03e3c28aea1a8686c8061a46e08014bedca1de1a505c1fb74b8876241386e93cbc5aeefae5668fef7d64e201e76961d0ff90f4c84e1a diff --git a/dev-python/pysnmp/metadata.xml b/dev-python/pysnmp/metadata.xml new file mode 100644 index 000000000000..a186a5e4f025 --- /dev/null +++ b/dev-python/pysnmp/metadata.xml @@ -0,0 +1,36 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>netmon@gentoo.org</email> + <name>Gentoo network monitoring and analysis project</name> + </maintainer> + <maintainer type="project"> + <email>python@gentoo.org</email> + <name>Python</name> + </maintainer> + <stabilize-allarches/> + <longdescription> + This is a Python implementation of SNMP v.1/v.2c engine. Its general + functionality is to assemble/disassemble SNMP messages from/into + given SNMP Object IDs along with associated values. PySNMP also provides + a few transport methods specific to TCP/IP networking. + + PySNMP is written entirely in Python and is self-sufficient in terms + that it does not rely on any third party tool (it is not a wrapper!). + </longdescription> + <longdescription lang="ja"> + これは SNMP v.1/v.2 エンジンのPython言語での実装です。関連値に沿ったSNMPオブジェ + クトIDから/へSNMPメッセージをアセンブル/ディスアセンブルするのが一般的な機能です + 。PySNMPは幾つかのTCP/IPネットワーキングを特定するトランスポート・メソッドも提供 + します。 + + PySNMPは全体をPython言語で記述され、どのサードパーティ製ツールも信用しない立場で + 自給自足します。(これはラッパー・ツールではありません。) + </longdescription> + <upstream> + <remote-id type="pypi">pysnmp</remote-id> + <remote-id type="sourceforge">pysnmp</remote-id> + <remote-id type="github">lextudio/pysnmp</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-python/pysnmp/pysnmp-7.1.25.ebuild b/dev-python/pysnmp/pysnmp-7.1.25.ebuild new file mode 100644 index 000000000000..3c41ce669089 --- /dev/null +++ b/dev-python/pysnmp/pysnmp-7.1.25.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( python3_{13..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-1.5.7[${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() { + local EPYTEST_DESELECT=( + # TODO + tests/smi/manager/test_mib-tree-inspection.py::test_getNodeName_by_symbol_description_with_module_name_2 + ) + + mibdump CISCO-ENHANCED-IPSEC-FLOW-MIB.py || die + mibdump LEXTUDIO-TEST-MIB || die + mibdump NET-SNMP-EXAMPLES-MIB || die + mibdump IF-MIB || die + epytest +} diff --git a/dev-python/pysnmp/pysnmp-7.1.26.ebuild b/dev-python/pysnmp/pysnmp-7.1.26.ebuild new file mode 100644 index 000000000000..e15b406dd439 --- /dev/null +++ b/dev-python/pysnmp/pysnmp-7.1.26.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( python3_{13..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() { + local EPYTEST_DESELECT=( + # TODO + tests/smi/manager/test_mib-tree-inspection.py::test_getNodeName_by_symbol_description_with_module_name_2 + ) + + mibdump CISCO-ENHANCED-IPSEC-FLOW-MIB.py || die + mibdump LEXTUDIO-TEST-MIB || die + mibdump NET-SNMP-EXAMPLES-MIB || die + mibdump IF-MIB || die + epytest +} diff --git a/dev-python/pysnmp/pysnmp-7.1.27.ebuild b/dev-python/pysnmp/pysnmp-7.1.27.ebuild new file mode 100644 index 000000000000..c50eae03037c --- /dev/null +++ b/dev-python/pysnmp/pysnmp-7.1.27.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( python3_{13..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 +} |
