add pysnmplib-5.0.10

This commit is contained in:
2022-04-30 20:56:05 +02:00
committed by Andreas Billmeier
parent 82ebd475b3
commit 0a90079b98
3 changed files with 54 additions and 0 deletions

View File

@@ -0,0 +1,3 @@
DIST pysnmplib-5.0.10.tar.gz 398323 BLAKE2B d7b007aa6cd69810da30cd684a5ecbf4d148d9c90dcd8bc0e86c9fa6c21d47a8cb1c4e25ddfdd6aff40caae2c8f49914056e9a5a0887ef2a9eee32afe5a5a895 SHA512 1fb40cfad4936958d9cf19e7bd818cdbf9654b880287ca4656c4015a32d700d4b22f16f280e0a30f086879302f489505b8932bbf4b1ccb418db7f027ea2890a6
EBUILD pysnmplib-5.0.10.ebuild 924 BLAKE2B 9bafd8a0c1b6cc3a1435379bd179b1a064f0b060fbb940021f51e88d6a2dd9411c5ff06cd9d325269ccf820ca994b18befd9560b1ee9bd426a6c0b7d523d83ac SHA512 2f77d080d26f019cc98c391a2e97bbe937ed5ceb42b2983dab1d71f9fb91e18fc5601e051cb4aa9537bc3015110870c68f8b860d5067483aedb4704f4b558db1
MISC metadata.xml 460 BLAKE2B 8fdb544f2374dea806d3a68d49707d704bc07f3b19befb45613df2680c2c8835eda5cfc7cd0912571c0252bc41f2b945280a64780f6be1e42391da28b9e54df1 SHA512 a7b8efc3ba0558fb427cc202b6924e6ace3e362265f1d0a24ce7ee6320d140d13c3fe7d295ff6b24ac4d03050595ecac534e019cf98ebd59fc606a866542157a

View File

@@ -0,0 +1,15 @@
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>b@edevau.net</email>
<name>Andreas Billmeier</name>
</maintainer>
<upstream>
<remote-id type="pypi">pysnmplib</remote-id>
<maintainer status="unknown">
<email>rfaircloth@splunk.com</email>
<name>rfaircloth-splunk</name>
</maintainer>
</upstream>
</pkgmetadata>

View File

@@ -0,0 +1,36 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{8..10} )
inherit distutils-r1
DESCRIPTION="Pure-Python, open source and free implementation of v1/v2c/v3 SNMP engine"
HOMEPAGE="https://github.com/pysnmp/pysnmp https://pypi.org/project/pysnmplib/"
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
LICENSE="BSD-2"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux"
IUSE="test"
RESTRICT="!test? ( test )"
DOCS="README.md"
RDEPEND="!dev-python/pysnmp
>=dev-python/pysnmp-pysmi-1.0.4[${PYTHON_USEDEP}]
>=dev-python/pysnmp-pyasn1-1.0.3[${PYTHON_USEDEP}]
>=dev-python/pycryptodomex-3.11.0[${PYTHON_USEDEP}]"
BDEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
test? (
dev-python/nose[${PYTHON_USEDEP}]
dev-python/pytest[${PYTHON_USEDEP}]
)"
python_test() {
nosetests --verbose || die
py.test -v -v || die
}