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 7DADA138334 for ; Sat, 11 Aug 2018 10:47:40 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A309CE07EA; Sat, 11 Aug 2018 10:47:39 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 651A3E07EA for ; Sat, 11 Aug 2018 10:47:39 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 7DDAE335C63 for ; Sat, 11 Aug 2018 10:47:37 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B37A13A0 for ; Sat, 11 Aug 2018 10:47:35 +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: <1533984452.11239329ccd8be581dc227e42c6932f50e0434cd.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.5.ebuild X-VCS-Directories: dev-python/pysnmp/ X-VCS-Committer: jer X-VCS-Committer-Name: Jeroen Roovers X-VCS-Revision: 11239329ccd8be581dc227e42c6932f50e0434cd X-VCS-Branch: master Date: Sat, 11 Aug 2018 10:47:35 +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: 7bd0b573-4661-447c-84db-afde654d3fe6 X-Archives-Hash: f814ec5622a4d83699cbdb2d9e9e9521 commit: 11239329ccd8be581dc227e42c6932f50e0434cd Author: Jeroen Roovers gentoo org> AuthorDate: Sat Aug 11 10:21:26 2018 +0000 Commit: Jeroen Roovers gentoo org> CommitDate: Sat Aug 11 10:47:32 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=11239329 dev-python/pysnmp: Version 4.4.5. Package-Manager: Portage-2.3.45, Repoman-2.3.10 dev-python/pysnmp/Manifest | 1 + dev-python/pysnmp/pysnmp-4.4.5.ebuild | 52 +++++++++++++++++++++++++++++++++++ 2 files changed, 53 insertions(+) diff --git a/dev-python/pysnmp/Manifest b/dev-python/pysnmp/Manifest index f5234865762..d2809eb962e 100644 --- a/dev-python/pysnmp/Manifest +++ b/dev-python/pysnmp/Manifest @@ -1 +1,2 @@ DIST pysnmp-4.4.4.tar.gz 436318 BLAKE2B 6e6616a79fc15d457b8da2e2260c65d9d8ef29888c033d80f2f47c8de035d0cff73dc4be1eeced8ef36dac1301b7da0d845837b780815792f545b6ad18d5496e SHA512 960ac73b7356bb236d3853432c094d3aa86a343f5e211065689e6c784293748ec6f2c1c17bf9d96b4cbe2d9d476ebbacbaff4bed7d86370e5ef61e6f03ba8c0e +DIST pysnmp-4.4.5.tar.gz 438424 BLAKE2B db989eb9faa0d548c7e58a5e9b7127824f2798c116d27b8885b4920f5e0acf9068ea5ad88e13e8e913e24c0d21d414026f6d733cf680b41e59370c960d856197 SHA512 3164e93a8623512d903c86eebdb6f9fa5ffee29309747df4a836e257e87dc5480cf706ab527e1a8966e80c0626961f6f1b68b60cf07df2ddece305706f5445f2 diff --git a/dev-python/pysnmp/pysnmp-4.4.5.ebuild b/dev-python/pysnmp/pysnmp-4.4.5.ebuild new file mode 100644 index 00000000000..3d1c8021a0c --- /dev/null +++ b/dev-python/pysnmp/pysnmp-4.4.5.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" +}