From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 897C5138335 for ; Sat, 15 Sep 2018 07:48:56 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 84928E09CD; Sat, 15 Sep 2018 07:48:55 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 4F2F2E09CD for ; Sat, 15 Sep 2018 07:48:55 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id EF827335D10 for ; Sat, 15 Sep 2018 07:48:53 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 74BD83DA for ; Sat, 15 Sep 2018 07:48:52 +0000 (UTC) From: "Jeroen Roovers" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Jeroen Roovers" Message-ID: <1536997704.8ef3a5105b0eff7c789d00ebb60c6d204cfc4ade.jer@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-4.4.6.ebuild X-VCS-Directories: dev-python/pysnmp/ X-VCS-Committer: jer X-VCS-Committer-Name: Jeroen Roovers X-VCS-Revision: 8ef3a5105b0eff7c789d00ebb60c6d204cfc4ade X-VCS-Branch: master Date: Sat, 15 Sep 2018 07:48: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-Archives-Salt: f7e958c2-365b-45e9-9a58-7a023762b1fd X-Archives-Hash: 19d73f21e06d96ab7b66aecb00038e69 commit: 8ef3a5105b0eff7c789d00ebb60c6d204cfc4ade Author: Jeroen Roovers gentoo org> AuthorDate: Sat Sep 15 07:48:24 2018 +0000 Commit: Jeroen Roovers gentoo org> CommitDate: Sat Sep 15 07:48:24 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8ef3a510 dev-python/pysnmp: Version 4.4.6. Package-Manager: Portage-2.3.49, Repoman-2.3.10 dev-python/pysnmp/Manifest | 1 + dev-python/pysnmp/pysnmp-4.4.6.ebuild | 52 +++++++++++++++++++++++++++++++++++ 2 files changed, 53 insertions(+) diff --git a/dev-python/pysnmp/Manifest b/dev-python/pysnmp/Manifest index d2809eb962e..54e3bdbc64b 100644 --- a/dev-python/pysnmp/Manifest +++ b/dev-python/pysnmp/Manifest @@ -1,2 +1,3 @@ DIST pysnmp-4.4.4.tar.gz 436318 BLAKE2B 6e6616a79fc15d457b8da2e2260c65d9d8ef29888c033d80f2f47c8de035d0cff73dc4be1eeced8ef36dac1301b7da0d845837b780815792f545b6ad18d5496e SHA512 960ac73b7356bb236d3853432c094d3aa86a343f5e211065689e6c784293748ec6f2c1c17bf9d96b4cbe2d9d476ebbacbaff4bed7d86370e5ef61e6f03ba8c0e DIST pysnmp-4.4.5.tar.gz 438424 BLAKE2B db989eb9faa0d548c7e58a5e9b7127824f2798c116d27b8885b4920f5e0acf9068ea5ad88e13e8e913e24c0d21d414026f6d733cf680b41e59370c960d856197 SHA512 3164e93a8623512d903c86eebdb6f9fa5ffee29309747df4a836e257e87dc5480cf706ab527e1a8966e80c0626961f6f1b68b60cf07df2ddece305706f5445f2 +DIST pysnmp-4.4.6.tar.gz 434508 BLAKE2B 0613cd115d9b52b12a9e4ca45c0dc6b51a6e8506f5fe4d93641dd53ce61e88f4ed89783692c4220008c345179808bb4a79d4aaf1d828e072d822a0d131204fa1 SHA512 0b53fcb7d266a861b3f8dca228371a7430b5513506b4b7083e112916730cc25311cdef549373271c2da62441a603d3f33e6a1e9417dec3aac074db25fb2be7c8 diff --git a/dev-python/pysnmp/pysnmp-4.4.6.ebuild b/dev-python/pysnmp/pysnmp-4.4.6.ebuild new file mode 100644 index 00000000000..3d1c8021a0c --- /dev/null +++ b/dev-python/pysnmp/pysnmp-4.4.6.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} ) +inherit distutils-r1 + +DESCRIPTION="Python SNMP library" +HOMEPAGE="http://snmplabs.com/pysnmp/ https://pypi.org/project/pysnmp/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~ia64 ~ppc ~sparc ~x86" +IUSE="doc examples" + +DEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] + doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) +" +RDEPEND=" + >=dev-python/pyasn1-0.2.3[${PYTHON_USEDEP}] + dev-python/pysmi[${PYTHON_USEDEP}] + || ( + dev-python/pycryptodome[${PYTHON_USEDEP}] + dev-python/pycrypto[${PYTHON_USEDEP}] + ) +" + +python_compile_all() { + default + + if use doc; then + touch docs/source/conf.py + emake -C docs html + fi +} + +python_install_all() { + use doc && local HTML_DOCS=( docs/build/html/* ) + docinto examples + use examples && dodoc -r examples/* docs/mibs + + distutils-r1_python_install_all +} + +pkg_postinst() { + elog "You may also be interested in the following packages: " + elog "dev-python/pysnmp-apps - example programs using pysnmp" + elog "dev-python/pysnmp-mibs - IETF and other mibs" + elog "dev-python/pysmi - to dump MIBs in python format" +}