From: Frank Brehm Date: Fri, 3 Jan 2014 14:58:18 +0000 (+0100) Subject: Added dev-python/nagios-plugin/nagios-plugin-1.2.1.4.ebuild X-Git-Url: https://git.uhu-banane.net/?a=commitdiff_plain;h=2ddb43549af75c22adac73df1ab61a7e33c4b71f;p=portage.git Added dev-python/nagios-plugin/nagios-plugin-1.2.1.4.ebuild --- diff --git a/dev-python/nagios-plugin/Manifest b/dev-python/nagios-plugin/Manifest index a6d7586..34553c6 100644 --- a/dev-python/nagios-plugin/Manifest +++ b/dev-python/nagios-plugin/Manifest @@ -2,4 +2,5 @@ EBUILD nagios-plugin-0.4.4.2.ebuild 1472 SHA256 36a102d4ff1adfd5c685150a53455404 EBUILD nagios-plugin-0.4.5.1.ebuild 1472 SHA256 36a102d4ff1adfd5c685150a534554042f2e02ba3e3228e368d49fcf7ed7787d SHA512 37fd7acbb258988db7b766f5a90b2fb151504d43af13cf4096469a8bda5320541b5a1240acdc8710704bf9d81f84b6a6e14e2e5e249c52aba353cf0353e86ea9 WHIRLPOOL da67ee6647e1e0550ab8ff44148698fb27a4f8375c45d087f621fa5b8632268c0ed72b27161ff682fd7ad84575be0b5a3fcadff2c11e3b4a25fa5c12d3b723d2 EBUILD nagios-plugin-0.5.2.2.ebuild 1662 SHA256 fb52a603d681a8da813a6ec4bd5d2a25ac025fafa36a7cec0ab822cb788e5cba SHA512 4f4d3f9f48fd6b18552635f516b62deef64e9f87982989b47d9f2f70af9c45a5fd4880b47a35b3898eaba58a8284cee2a41b95f950de6e2c7c0b996800248647 WHIRLPOOL 202f901f56dd4bf598faf021b645cb044c0236745efbe16c826ffbd4dc0592ed5c862c39480f1a0f0e90f6e741861753670d9a1dee06979e714d7ab42c5f256c EBUILD nagios-plugin-0.5.4.1.ebuild 1662 SHA256 fb52a603d681a8da813a6ec4bd5d2a25ac025fafa36a7cec0ab822cb788e5cba SHA512 4f4d3f9f48fd6b18552635f516b62deef64e9f87982989b47d9f2f70af9c45a5fd4880b47a35b3898eaba58a8284cee2a41b95f950de6e2c7c0b996800248647 WHIRLPOOL 202f901f56dd4bf598faf021b645cb044c0236745efbe16c826ffbd4dc0592ed5c862c39480f1a0f0e90f6e741861753670d9a1dee06979e714d7ab42c5f256c +EBUILD nagios-plugin-1.2.1.4.ebuild 1517 SHA256 ac84bda4ee2e4f945d6b5dc03ed1e5a3158797aff0905f479e8949c4499920ec SHA512 d1715ed4010c1ffd8ec135155501937fb6a436e85973b24696a9690e2c71a2e5a8b636946757fd160ed1c8ac6dc91da3bac141dc844208038547322c2621c143 WHIRLPOOL a6b11329f4880fca6989248f95103e50ab67c3543c67e890727fd33b14d571df7a65d3523db464347c4153fc7a19364c7feee4b299250cc07d4232c09a104ece EBUILD nagios-plugin-9999.ebuild 1372 SHA256 648bfef04e987ceb74b64d2188e5ca8aa0981f09deaffdf9550d00d4525a1493 SHA512 d247599e1c2cefefcd87af8888cd9f67c3571b941e61a857677990434709efa49e43ad05f0ab78e05a81e17c64d3c0b89bd834efa287b87621e9ce26f202d4af WHIRLPOOL 332a2a4dc87b4da17f22e76a2954efd9b3bb0fa785b3fee6fc38ddc69a8f8cd0e94c1ff76817175c08376e334d1569a5d34835dc667e2d3aef55048875d5adf9 diff --git a/dev-python/nagios-plugin/nagios-plugin-1.2.1.4.ebuild b/dev-python/nagios-plugin/nagios-plugin-1.2.1.4.ebuild new file mode 100644 index 0000000..4736cb4 --- /dev/null +++ b/dev-python/nagios-plugin/nagios-plugin-1.2.1.4.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=4 +PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3} pypy2_0 ) + +DESCRIPTION="Python modules streamline writing Nagios plugins." +HOMEPAGE="http://git.pb.local/gitweb/?p=python/nagios-plugin;a=summary" +SRC_URI="" +EGIT_REPO_URI="https://github.com/fbrehm/nagios-plugin.git" + +inherit git-2 distutils-r1 user versionator + +LICENSE="LGPL-3" +SLOT="0" +KEYWORDS="amd64" +IUSE="doc" + +EGIT_BRANCH="develop" +EGIT_COMMIT=$(replace_version_separator 3 '-') + +RDEPEND=" + || ( + virtual/python-argparse + dev-python/argparse + ) +" + +DEPEND=" + ${RDEPEND} + doc? ( dev-python/epydoc + dev-python/docutils + ) +" + +pkg_setup() { + elog "Used GIT tag: '${EGIT_COMMIT}'." + distutils-r1_src_prepare +} + +src_install() { + + distutils-r1_src_install + rm -rfv ${ED}/usr/lib*/nagios/ + rm -rfv ${ED}/usr/lib*/python*/site-packages/nagios/plugins/ + + einfo "Installing debian/changelog and README.txt" + dodoc debian/changelog + dodoc README.txt + + if use doc; then + einfo "Installing documentation ..." + dodir "/usr/share/doc/${PF}" + dodir "/usr/share/doc/${PF}/html" + dodir "/usr/share/doc/${PF}/pdf" + + einfo "Creating epydoc html documentation" + epydoc --html -v -o "${ED}/usr/share/doc/${PF}/html" "${S}/nagios" || ewarn "Could not create epydoc html documentation" + einfo "Creating epydoc pdf documentation" + epydoc --pdf -o "${ED}/usr/share/doc/${PF}/pdf" "${S}/nagios" || ewarn "Could not create epydoc pdf documentation" + + fi + +} +