From 3d530427379b8838400103c050675b69e336d680 Mon Sep 17 00:00:00 2001 From: Frank Brehm Date: Tue, 1 Apr 2014 21:11:29 +0200 Subject: [PATCH] Added dev-python/pb-logging/pb-logging-0.4.1.3.ebuild --- dev-python/pb-logging/Manifest | 1 + .../pb-logging/pb-logging-0.4.1.3.ebuild | 59 +++++++++++++++++++ 2 files changed, 60 insertions(+) create mode 100644 dev-python/pb-logging/pb-logging-0.4.1.3.ebuild diff --git a/dev-python/pb-logging/Manifest b/dev-python/pb-logging/Manifest index c29ac18..765334e 100644 --- a/dev-python/pb-logging/Manifest +++ b/dev-python/pb-logging/Manifest @@ -1,2 +1,3 @@ EBUILD pb-logging-0.3.2.1.ebuild 1540 SHA256 65fb300b2d90dc0b0d1db2a0cbac35acc94c4e5dae0ebf41d90cd4d697f40248 SHA512 8395a3d940110d6af0a805dde3c7a467b61976b44e70e195e20b3703ce9ec95fd8946abbed0f17dabed131c74452cf04e039faab22066eb161a5b11502facf52 WHIRLPOOL e2208db4b1c1965a63f13ec002ee7bc6cb2707805a69784dc45ddd15b01344efeaa2344edf48bb5ab284f73e59f64a58884f98b45029fa6520d85d8488cffc4f EBUILD pb-logging-0.4.0.1.ebuild 1333 SHA256 019e5eaff5030bd6e55dd060a8ec28644d2cb01a3139f561c0792384a83d66b6 SHA512 3f8ad2b0a20b7e8bc62ab9763527bb50a753bee7010ae5bc1f7202d1789096204c62d4612dcf31fefce14d9de1fedcafe7b66d0c17346f5f45211ed29a70bf60 WHIRLPOOL f5266db7db22d5a8e7511f44fb23fd38c0bb36bdd31e07ecb7b490285f1c303c9b682409486e0d01914b6342b399436012a67ca005b092b2d556635fb81ae134 +EBUILD pb-logging-0.4.1.3.ebuild 1367 SHA256 9abd7d7ad6d0ad0dc569dcdf0dcea69652b0e8170b6d0e1c7f2d77bd0a01eaed SHA512 6e34d15c379d8cae33495a08385eb87df510a6400e4daf125c06e04be64de2e01b18f577e2751e94f3af03b7617edfc54aca5012510811a892d5ea69c8f15dc2 WHIRLPOOL 81e46e719e4cce0f658e0c42ee8ff41c28cee7f573325733c7cdbf366bef36f1874a411ed946acb10e49efb65eb3419d3c817ab903fcf59f64f7b2bc649c9390 diff --git a/dev-python/pb-logging/pb-logging-0.4.1.3.ebuild b/dev-python/pb-logging/pb-logging-0.4.1.3.ebuild new file mode 100644 index 0000000..de234f0 --- /dev/null +++ b/dev-python/pb-logging/pb-logging-0.4.1.3.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=5 +PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3,3_4} pypy2_0 ) + +DESCRIPTION="Python modules to extend the logging mechanism in Python." +HOMEPAGE="https://github.com/fbrehm/py_pb_logging" +SRC_URI="" +EGIT_REPO_URI="https://github.com/fbrehm/py_pb_logging.git" + +inherit git-2 distutils-r1 user versionator + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="doc" + +EGIT_BRANCH="master" +EGIT_COMMIT=$(replace_version_separator 3 '-') + +DOCS="debian/changelog README.txt" + +RDEPEND=" + virtual/python-argparse +" +DEPEND=" + ${RDEPEND} + doc? ( dev-python/epydoc + dev-python/docutils + ) +" + +src_prepare() { + elog "Used GIT tag: '${EGIT_COMMIT}'." + distutils-r1_src_prepare +} + +src_install() { + + distutils-r1_src_install + + 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}/pb_logging" || ewarn "Could not create epydoc html documentation" + einfo "Creating epydoc pdf documentation" + epydoc --pdf -o "${ED}/usr/share/doc/${PF}/pdf" "${S}/pb_logging" || ewarn "Could not create epydoc pdf documentation" + + fi + +} + +# vim: filetype=ebuild ts=4 sw=4 -- 2.39.5