From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 6ADA71584AD for ; Sat, 03 May 2025 10:08:31 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 550403430FB for ; Sat, 03 May 2025 10:08:31 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id F34251104BD; Sat, 03 May 2025 10:07:55 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id E4EBC1104BE for ; Sat, 03 May 2025 10:07:55 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 8EAB134310C for ; Sat, 03 May 2025 10:07:55 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 491BF2807 for ; Sat, 03 May 2025 10:07:52 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1746266439.93aad7a31bcd58599e05c23124a8f967d3528d75.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pysnmp/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/pysnmp/Manifest dev-python/pysnmp/pysnmp-7.1.20.ebuild X-VCS-Directories: dev-python/pysnmp/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 93aad7a31bcd58599e05c23124a8f967d3528d75 X-VCS-Branch: master Date: Sat, 03 May 2025 10:07:52 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: d4ca2c3b-bbf0-48ff-97e3-9bec6469b07f X-Archives-Hash: 5488e93d54115e394ed6dafcc30fe294 commit: 93aad7a31bcd58599e05c23124a8f967d3528d75 Author: Michał Górny gentoo org> AuthorDate: Sat May 3 09:24:40 2025 +0000 Commit: Michał Górny gentoo org> CommitDate: Sat May 3 10:00:39 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=93aad7a3 dev-python/pysnmp: Bump to 7.1.20 Signed-off-by: Michał Górny gentoo.org> dev-python/pysnmp/Manifest | 1 + dev-python/pysnmp/pysnmp-7.1.20.ebuild | 54 ++++++++++++++++++++++++++++++++++ 2 files changed, 55 insertions(+) diff --git a/dev-python/pysnmp/Manifest b/dev-python/pysnmp/Manifest index 99b922558ed0..f14d40d8cd01 100644 --- a/dev-python/pysnmp/Manifest +++ b/dev-python/pysnmp/Manifest @@ -1,2 +1,3 @@ DIST pysnmp-7.1.17.tar.gz 366560 BLAKE2B 43a1483af845ce16e6b99e6ae4858d797ec21450012302817d67d790bfba7b435fb443eedc29b58bf2c69d534263710d835655a955b578a680b8054cd0f2f78e SHA512 01fa8483499374e26ed7672de4a30865f197c6b14beb679fec1b2750c7a2c983f3b74851418c9830a37fb8a73881beeaca844a1dc8eab2a5081eb8038be8bfe2 DIST pysnmp-7.1.19.gh.tar.gz 499285 BLAKE2B 2c40284907bec639e2709e1a450c112d4142a66942cd86565f9c229658e15de5f6bf58e62392e78200685511657d581a0ff16334f930980f5d8c877293f630cd SHA512 05bf5a65f4d6944b309f4ed8ae581359a7944b7fd42e5f96097ea38de2573d251d067935edbd97cd0aa45e8606d850258413f7597176c03e96a68f2faab5c8ed +DIST pysnmp-7.1.20.gh.tar.gz 498284 BLAKE2B 1f4a5129792375b0e8fcae7c7b2cc3b00fd0fc0d3b8ff4fb1ea62274e5a35835f07213477cb2248a18c2ac9b215826e84e555ea4602ad58753ba6f56eb232322 SHA512 41024f45f559cf001958f53cb00b1acaf14aba9caaf21cfbab7a3232e349b8c59a2fc4c686fe1429db71fed1dead19f3aaeb6d6550d370f669b910cdfeabd388 diff --git a/dev-python/pysnmp/pysnmp-7.1.20.ebuild b/dev-python/pysnmp/pysnmp-7.1.20.ebuild new file mode 100644 index 000000000000..a21b6adb6618 --- /dev/null +++ b/dev-python/pysnmp/pysnmp-7.1.20.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( python3_{11..13} ) + +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.4.8[${PYTHON_USEDEP}] + >=dev-python/pysmi-1.5.7[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/pytest-asyncio[${PYTHON_USEDEP}] + ) +" + +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 + ) + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + mibdump CISCO-ENHANCED-IPSEC-FLOW-MIB.py || die + mibdump LEXTUDIO-TEST-MIB || die + mibdump NET-SNMP-EXAMPLES-MIB || die + mibdump IF-MIB || die + epytest -p asyncio +}