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 CDB3B1396DA for ; Sat, 18 Nov 2017 10:29:26 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E32E3E0D12; Sat, 18 Nov 2017 10:29:25 +0000 (UTC) Received: from smtp.gentoo.org (mail.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 B3FE5E0D12 for ; Sat, 18 Nov 2017 10:29:24 +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 64F8333C4EE for ; Sat, 18 Nov 2017 10:29:23 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id CD7CA9EE3 for ; Sat, 18 Nov 2017 10:29:21 +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: <1511000712.5b086547537060c8e51237c82781c6b076ac9107.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.2.ebuild X-VCS-Directories: dev-python/pysnmp/ X-VCS-Committer: jer X-VCS-Committer-Name: Jeroen Roovers X-VCS-Revision: 5b086547537060c8e51237c82781c6b076ac9107 X-VCS-Branch: master Date: Sat, 18 Nov 2017 10:29:21 +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: edbca69b-6df2-4818-8275-5ca6562f0c70 X-Archives-Hash: 2b531882da01d0cb793381394d4c7efe commit: 5b086547537060c8e51237c82781c6b076ac9107 Author: Jeroen Roovers gentoo org> AuthorDate: Sat Nov 18 10:25:12 2017 +0000 Commit: Jeroen Roovers gentoo org> CommitDate: Sat Nov 18 10:25:12 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5b086547 dev-python/pysnmp: Version bump. Package-Manager: Portage-2.3.14, Repoman-2.3.6 dev-python/pysnmp/Manifest | 1 + dev-python/pysnmp/pysnmp-4.4.2.ebuild | 52 +++++++++++++++++++++++++++++++++++ 2 files changed, 53 insertions(+) diff --git a/dev-python/pysnmp/Manifest b/dev-python/pysnmp/Manifest index 0a5373a8ad0..0e677a0890d 100644 --- a/dev-python/pysnmp/Manifest +++ b/dev-python/pysnmp/Manifest @@ -1,3 +1,4 @@ DIST pysnmp-4.3.10.tar.gz 425950 SHA256 215191e36c8c88bf600c55a2e33afbd1dfdd6366dda42b446e1b9f099b53baa8 SHA512 3eeb0a2afe2deb918c67c7358a7d8528bc420f63a7b35561becc7cc970bc2c75e2df607ba9ee62b7ab790087e7eb6eec965f5fc163f337e8d06c094848ce957d WHIRLPOOL bc6647da861ed9375a5679af4fd91e81eb6ed7687261ec46aae60435bc281b999746ceb3ad5f86c9db64e046a409f1370443712ef06168f828a04eca2c79c9fb DIST pysnmp-4.3.3.tar.gz 403779 SHA256 c837d35cbb2c1e067b7b8ed752d962481ef8d7ff11e4cdd8bfb0840c4a786318 SHA512 4b3e4a1785a852eb0b03266d2efbc586c01030f4653482bfea91b64a78098554589e76d38fe43c6b2d734ea3624a42878a2e3b6b7cfbf883e8bf8ad07ff43f81 WHIRLPOOL f04c9f6eece5d31bb4941cfdbfa3216fb5a65b2b2b1b097bd72ca500506262c0458d6d774b99c766f2016fb46ea50bc9a8b741825f820a0a7970dac7ac934977 DIST pysnmp-4.4.1.tar.gz 430623 SHA256 8b12473f3529089f3e295aa169f38da983954a68f86e2ccd3b7259d1b1e950d1 SHA512 aeaff03ef224233cad5a29b5183f7aed46bb52501728878b3e3e98334a3194d25c0bb0cbace57b15bb13eb8753a3a410b4792027b44b5c5d8f62d607e4c98e75 WHIRLPOOL 822c2a0b1a046c4da8e864c6eba507d773bb7da724aa77a5192f11262dc02822f2e81959b7835cd58e5e1b8e1d8b7de5b3e11108f905e3a59ed1dba7bcd10af5 +DIST pysnmp-4.4.2.tar.gz 436711 SHA256 aaed6e807c26c3a38257daeb851b7a4354df011aa00ed77bd48ef3c4dd8b467b SHA512 546c7b40ba9c3b05db67847e0849d99b4c678e83571a84c8bedb884256e57cbaa312e3d3b27f440b2948c1b3ce7cf00e7710cf4cfce027a88bd0b009b22ea72c WHIRLPOOL ce78aedbe36dc591a9d5118d6d74c938d241b5ace025db950d8131aa892808712e6fe24835b0ae9d8f7cc377eb58e953dfba8840c6b263e4cfa2e9da72094791 diff --git a/dev-python/pysnmp/pysnmp-4.4.2.ebuild b/dev-python/pysnmp/pysnmp-4.4.2.ebuild new file mode 100644 index 00000000000..44be982305b --- /dev/null +++ b/dev-python/pysnmp/pysnmp-4.4.2.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +PYTHON_COMPAT=( python{2_7,3_4,3_5} ) +inherit distutils-r1 + +DESCRIPTION="Python SNMP library" +HOMEPAGE="http://snmplabs.com/pysnmp/ https://pypi.python.org/pypi/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" +}