From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-1696832-garchives=archives.gentoo.org@lists.gentoo.org> Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (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 04B251581E1 for <garchives@archives.gentoo.org>; Wed, 4 Dec 2024 07:46:25 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A6FADE087F; Wed, 4 Dec 2024 07:46:22 +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 pigeon.gentoo.org (Postfix) with ESMTPS id 91293E087F for <gentoo-commits@lists.gentoo.org>; Wed, 4 Dec 2024 07:46:22 +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 D6D9433BE19 for <gentoo-commits@lists.gentoo.org>; Wed, 4 Dec 2024 07:46:21 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C11011F41 for <gentoo-commits@lists.gentoo.org>; Wed, 4 Dec 2024 07:46:18 +0000 (UTC) From: "Michał Górny" <mgorny@gentoo.org> 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" <mgorny@gentoo.org> Message-ID: <1733297205.9147eb3e3a5dfc814e72d34317ba184c1e5879c1.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.14.ebuild X-VCS-Directories: dev-python/pysnmp/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 9147eb3e3a5dfc814e72d34317ba184c1e5879c1 X-VCS-Branch: master Date: Wed, 4 Dec 2024 07:46:18 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 95bc504a-35be-47ee-b5b9-e1d6163753c4 X-Archives-Hash: c70908b092a81e48a699e2fb7ef72616 commit: 9147eb3e3a5dfc814e72d34317ba184c1e5879c1 Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Wed Dec 4 07:26:45 2024 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Wed Dec 4 07:26:45 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9147eb3e dev-python/pysnmp: Bump to 7.1.14 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> dev-python/pysnmp/Manifest | 1 + dev-python/pysnmp/pysnmp-7.1.14.ebuild | 49 ++++++++++++++++++++++++++++++++++ 2 files changed, 50 insertions(+) diff --git a/dev-python/pysnmp/Manifest b/dev-python/pysnmp/Manifest index 454b33b5bbe5..1eec5aee6579 100644 --- a/dev-python/pysnmp/Manifest +++ b/dev-python/pysnmp/Manifest @@ -1 +1,2 @@ DIST pysnmp-7.1.13.tar.gz 378397 BLAKE2B e10c50b85f604211f0b96199150fa3580c40e7acac8670fe1419d2095fd8bf479ce0c4ff1ef77a69f2c178e0c9f8b8ccdc72ee75acb3153cfc428d398bf0051e SHA512 630dd81ea6db5c7b75564031c8382408fda6a4625fa9f694a57f9f3570c70293de2560f3b1fb607d929d604731633dcbb9e6fd9cb9a8b189ef339257a3c16569 +DIST pysnmp-7.1.14.tar.gz 380516 BLAKE2B 972426164598d1579b174cadae84e610cfe0a8c5574c25cee8ea8dca804021900818a2d66c89df6d185257050f88625a1cdddcfcc5b43fcf03d053523bdae9cd SHA512 edbce007d53bd0a876bef7ee2b0286b46f6c6a33b9da89a82d737580bc31a34197a9ad490e4d09441984ccc89b61110bfea2a9f563a84b081d4127a29bee1c80 diff --git a/dev-python/pysnmp/pysnmp-7.1.14.ebuild b/dev-python/pysnmp/pysnmp-7.1.14.ebuild new file mode 100644 index 000000000000..8e1fe159f72f --- /dev/null +++ b/dev-python/pysnmp/pysnmp-7.1.14.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-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="Python SNMP library" +HOMEPAGE=" + https://pypi.org/project/pysnmp/ + https://github.com/lextudio/pysnmp/ +" + +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 +}