From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-1684837-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 93F1C158042 for <garchives@archives.gentoo.org>; Wed, 30 Oct 2024 16:41:57 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id CBA66E080E; Wed, 30 Oct 2024 16:41:56 +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) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id A262FE080E for <gentoo-commits@lists.gentoo.org>; Wed, 30 Oct 2024 16:41:56 +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) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id ECA5A343018 for <gentoo-commits@lists.gentoo.org>; Wed, 30 Oct 2024 16:41:54 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 5A632AE7 for <gentoo-commits@lists.gentoo.org>; Wed, 30 Oct 2024 16:41:53 +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: <1730306507.08d0acd7d61f3973c5e61c9e6547c4f314aaf308.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pysmi/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/pysmi/Manifest dev-python/pysmi/pysmi-1.5.6.ebuild X-VCS-Directories: dev-python/pysmi/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 08d0acd7d61f3973c5e61c9e6547c4f314aaf308 X-VCS-Branch: master Date: Wed, 30 Oct 2024 16:41:53 +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: eba7cfe2-b2b7-4480-84be-c49548769b75 X-Archives-Hash: 07e8e5fef69746e27a854dd69c7e6277 commit: 08d0acd7d61f3973c5e61c9e6547c4f314aaf308 Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Wed Oct 30 15:21:37 2024 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Wed Oct 30 16:41:47 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=08d0acd7 dev-python/pysmi: Bump to 1.5.6 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> dev-python/pysmi/Manifest | 1 + dev-python/pysmi/pysmi-1.5.6.ebuild | 42 +++++++++++++++++++++++++++++++++++++ 2 files changed, 43 insertions(+) diff --git a/dev-python/pysmi/Manifest b/dev-python/pysmi/Manifest index bb52a8a9333d..d67294d9340e 100644 --- a/dev-python/pysmi/Manifest +++ b/dev-python/pysmi/Manifest @@ -1 +1,2 @@ DIST pysmi-1.5.0.tar.gz 124064 BLAKE2B 763501b0fd575e356944372f0f173857d8a982a1cc7342636807d7147f7b6615d9c9518f099fb3071356957f0775e7bbd6b5f37d2110947ad22585cc44dff461 SHA512 f99fbc186b2fd481b16269e5b3622821b932459ec97023968ce8e0ae5c2d863702122a44fafb26d901b8a0b03c02f97e60c6999bdde0f19d551a61daf4e926b5 +DIST pysmi-1.5.6.tar.gz 123690 BLAKE2B bd5ca7b8bb5e9eaa3e16f59e4c32eed3cc80a0d17e7834fd0512271ea1b24dfc473d3b63943c4e621d6ba4e469eb5005fe1855387bed831e314e1e349a655d84 SHA512 86522b72726cd6f279a8259ed1037f23b2c03b302c0981e6a89f5a7e93b602a65b2bc8e3a264dea738f10710280a618b93f24563c89e66a30cc0661a90e79549 diff --git a/dev-python/pysmi/pysmi-1.5.6.ebuild b/dev-python/pysmi/pysmi-1.5.6.ebuild new file mode 100644 index 000000000000..8dc08d8ad203 --- /dev/null +++ b/dev-python/pysmi/pysmi-1.5.6.ebuild @@ -0,0 +1,42 @@ +# 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="Pure-Python implementation of SNMP/SMI MIB parsing and conversion library" +HOMEPAGE=" + https://github.com/lextudio/pysmi/ + https://pypi.org/project/pysmi/ +" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~sparc ~x86" + +RDEPEND=" + >=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-6.1.0[${PYTHON_USEDEP}] + ) +" + +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=( + # incompatibility with pysnmp >= 7 + tests/test_objecttype_smiv2_pysnmp.py::ObjectTypeBitsTestCase::testObjectTypeSyntax + ) + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest +}