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 AFAE7139694 for ; Sat, 29 Jul 2017 10:15:00 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C46671FC10A; Sat, 29 Jul 2017 10:14:58 +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 95E9C1FC006 for ; Sat, 29 Jul 2017 10:14:58 +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 82F49341A79 for ; Sat, 29 Jul 2017 10:14:57 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 02CAA74C2 for ; Sat, 29 Jul 2017 10:14:56 +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: <1501323288.c7086739ab7df5bf134bbf0a7d5fd3c46d7931e6.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.3.9.ebuild X-VCS-Directories: dev-python/pysnmp/ X-VCS-Committer: jer X-VCS-Committer-Name: Jeroen Roovers X-VCS-Revision: c7086739ab7df5bf134bbf0a7d5fd3c46d7931e6 X-VCS-Branch: master Date: Sat, 29 Jul 2017 10:14:56 +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: 0ccc0c19-5d4a-4fa9-93cb-9b3bcb93a0e6 X-Archives-Hash: 539c6b8dbdeb7bb2d4c1466cd0fe3adc commit: c7086739ab7df5bf134bbf0a7d5fd3c46d7931e6 Author: Jeroen Roovers gentoo org> AuthorDate: Sat Jul 29 10:11:21 2017 +0000 Commit: Jeroen Roovers gentoo org> CommitDate: Sat Jul 29 10:14:48 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c7086739 dev-python/pysnmp: Version bump. Package-Manager: Portage-2.3.6, Repoman-2.3.3 dev-python/pysnmp/Manifest | 1 + dev-python/pysnmp/pysnmp-4.3.9.ebuild | 53 +++++++++++++++++++++++++++++++++++ 2 files changed, 54 insertions(+) diff --git a/dev-python/pysnmp/Manifest b/dev-python/pysnmp/Manifest index 75891700a7b..353f1fc1076 100644 --- a/dev-python/pysnmp/Manifest +++ b/dev-python/pysnmp/Manifest @@ -2,3 +2,4 @@ DIST pysnmp-4.3.3.tar.gz 403779 SHA256 c837d35cbb2c1e067b7b8ed752d962481ef8d7ff1 DIST pysnmp-4.3.5.tar.gz 404793 SHA256 38253fe95cea33f352fb36e85f3c2874043401724300c4888df74835161169d2 SHA512 0878ff1b42a28aaea9ed97137971d606457ae392b701eb7a2f6fd5eb59349e7d2ca1193a3d468ad83ee3eb91cd74ec160c7d90ef750164a717c0ae57fcef5784 WHIRLPOOL 5bfc88686232bdad59208984588418b3811d6d92dc58a0d5e0a18364eb44d99032981a5ee65a3f9fdbf7947e2bd6038763d44880ab19e59ff4611df824e06134 DIST pysnmp-4.3.7.tar.gz 424464 SHA256 fd0e139bf3768eaaa1e2b339c23c19a74c8086fe4307252e2e5b4c3a070d89db SHA512 c6c5f8927b9e142cfd0731ad2e2fc0b9e479b9e2e177acdd2e49e9e8744dd248a0dc79e05066389ad16ca869a88abc44cde1e987fa5ec2ee92f5d2ffb02c8560 WHIRLPOOL 590ac6f51407ba9f66ee108d7dccbe6d362a0b0f57bf2fba1c0d30b7e02a8006f80e8c8a98f88435722fe1928e919967eecd0c628a632e23e1ff212a8c22b254 DIST pysnmp-4.3.8.tar.gz 424591 SHA256 882c1d3edfafad83eea7c29c13f566acc757459f18582217dcb9de6cfe86ba2a SHA512 b8e5329f10f9032a6beb790b3eb7ec18f3ed3aeca011abef4a73a4cd6310e70a2a672e5028bddfc8885b8770c23b07f65f4877d06a70059822854529e7f1fd0f WHIRLPOOL 2daad771ee847824dc708b001f37f2aa47caf0ccfffcfd208a080fb8d88443eedf5ee3f42dcac0ec0e473ee44177ba8b0212ff11a0f9fb8bc4a8c47958d696d9 +DIST pysnmp-4.3.9.tar.gz 425302 SHA256 59c196ce599617ad6f484d20bc61336bff64d3dca4bc99282ba06047248fc70c SHA512 b6992eed9cccb39c77527c871249e98ad758372a7e462ecc9c8b7aa476e29804aefe4974712719428ad8ba80f425f725a97ea7117e43ffd92c0bdc45605ea440 WHIRLPOOL a45695731cdced683c5af8735bbb1cea5aec67e7cf1a3e930832f3866a428c433681b97d9283e454486d362a97b54af9bebeb8a963e7805dc0933e24fb6a0d95 diff --git a/dev-python/pysnmp/pysnmp-4.3.9.ebuild b/dev-python/pysnmp/pysnmp-4.3.9.ebuild new file mode 100644 index 00000000000..21da6bb053d --- /dev/null +++ b/dev-python/pysnmp/pysnmp-4.3.9.ebuild @@ -0,0 +1,53 @@ +# 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://pysnmp.sf.net/ 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/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 "net-libs/libsmi - to dump MIBs in python format" +}