mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-python/pysnmp: Old.
Package-Manager: Portage-2.3.45, Repoman-2.3.10
This commit is contained in:
@@ -1,2 +1 @@
|
||||
DIST pysnmp-4.3.3.tar.gz 403779 BLAKE2B 6698d622be9e5f0e85c64f6773bc7e1657c167e572d84b9339fd626d81cfe0db1f38837fb419da5e26057d843e7e7df62c8734e81c1d72f0f4e46aab820c5b95 SHA512 4b3e4a1785a852eb0b03266d2efbc586c01030f4653482bfea91b64a78098554589e76d38fe43c6b2d734ea3624a42878a2e3b6b7cfbf883e8bf8ad07ff43f81
|
||||
DIST pysnmp-4.4.4.tar.gz 436318 BLAKE2B 6e6616a79fc15d457b8da2e2260c65d9d8ef29888c033d80f2f47c8de035d0cff73dc4be1eeced8ef36dac1301b7da0d845837b780815792f545b6ad18d5496e SHA512 960ac73b7356bb236d3853432c094d3aa86a343f5e211065689e6c784293748ec6f2c1c17bf9d96b4cbe2d9d476ebbacbaff4bed7d86370e5ef61e6f03ba8c0e
|
||||
|
||||
@@ -1,53 +0,0 @@
|
||||
# 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.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.1.2[${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"
|
||||
}
|
||||
Reference in New Issue
Block a user