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
--- /dev/null
+# 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} 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="develop"
+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
+
+}
+