dev-python/pysnmp: Clean old up

This commit is contained in:
Michał Górny
2018-01-06 00:32:10 +01:00
parent 2700189675
commit 8e27c9cf69
2 changed files with 0 additions and 53 deletions

View File

@@ -1,3 +1,2 @@
DIST pysnmp-4.3.3.tar.gz 403779 BLAKE2B 6698d622be9e5f0e85c64f6773bc7e1657c167e572d84b9339fd626d81cfe0db1f38837fb419da5e26057d843e7e7df62c8734e81c1d72f0f4e46aab820c5b95 SHA512 4b3e4a1785a852eb0b03266d2efbc586c01030f4653482bfea91b64a78098554589e76d38fe43c6b2d734ea3624a42878a2e3b6b7cfbf883e8bf8ad07ff43f81
DIST pysnmp-4.4.3.tar.gz 436351 BLAKE2B 6278c0a35fc27392624bf72e2f0446e5a8e7f365b12e23c880c5df31f104185630ec97036346ca0353498a3c8b01ed3e14fac78a2bad4c638b01b6969547eb14 SHA512 5d2edb34d4c15d5dc19121240a7d12eaa9d86c3c8deaa10f9f76b96669c8292ba668537851e54a2a403221e5099ab3635cc31bb16be5972029fc2f7a5bc1b908
DIST pysnmp-4.4.4.tar.gz 436318 BLAKE2B 6e6616a79fc15d457b8da2e2260c65d9d8ef29888c033d80f2f47c8de035d0cff73dc4be1eeced8ef36dac1301b7da0d845837b780815792f545b6ad18d5496e SHA512 960ac73b7356bb236d3853432c094d3aa86a343f5e211065689e6c784293748ec6f2c1c17bf9d96b4cbe2d9d476ebbacbaff4bed7d86370e5ef61e6f03ba8c0e

View File

@@ -1,52 +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://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"
}