EBUILD pb-base-0.4.11.1.ebuild 1805 SHA256 a32d02da651ce7b254d53519ab17c80735d4d95f7bbf37bd5898a6f490659f03 SHA512 0b86d0430b027b9cd55447c14d8d888c5c088590d30572d4684cf97367555c82943d097f71d31ce81f459254e8b9c2b81d86fbf3690eb3e07d48082db677199f WHIRLPOOL 3fbd3d9a04d828c9f8261d9aacfba521f5b26cbc954ee6e2fed1d5779a11c1a6f5df1ca6be622c21090420a055dc24068c8be61b4af60489345e2a84d0c7b04b
EBUILD pb-base-0.5.0.2.ebuild 1805 SHA256 a32d02da651ce7b254d53519ab17c80735d4d95f7bbf37bd5898a6f490659f03 SHA512 0b86d0430b027b9cd55447c14d8d888c5c088590d30572d4684cf97367555c82943d097f71d31ce81f459254e8b9c2b81d86fbf3690eb3e07d48082db677199f WHIRLPOOL 3fbd3d9a04d828c9f8261d9aacfba521f5b26cbc954ee6e2fed1d5779a11c1a6f5df1ca6be622c21090420a055dc24068c8be61b4af60489345e2a84d0c7b04b
EBUILD pb-base-0.5.2.1.ebuild 1718 SHA256 3021cd199643e4a2d22fd446db5df73100f953ac4241369cf05b546f601fe2db SHA512 a2009ab7d2b5126aaf0a307dcd0090aede44d34ebd8fced593d421439acd7fb79fef2e0fdc6f6e5b616551adf3690c19a86096fbd987d80eed774873aa67163b WHIRLPOOL b12feacf6a3ad59d5e6a9d92e5ca8e9f8d2a192d77eda2ac9379bf0e0183b0bdb23d2906ecab859a64a15b53484ec78dc8d34547bfd739a2d10ffe16bac3da54
+EBUILD pb-base-0.5.4.1.ebuild 1718 SHA256 3021cd199643e4a2d22fd446db5df73100f953ac4241369cf05b546f601fe2db SHA512 a2009ab7d2b5126aaf0a307dcd0090aede44d34ebd8fced593d421439acd7fb79fef2e0fdc6f6e5b616551adf3690c19a86096fbd987d80eed774873aa67163b WHIRLPOOL b12feacf6a3ad59d5e6a9d92e5ca8e9f8d2a192d77eda2ac9379bf0e0183b0bdb23d2906ecab859a64a15b53484ec78dc8d34547bfd739a2d10ffe16bac3da54
--- /dev/null
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3,3_4} pypy2_0 )
+
+DESCRIPTION="Python modules for common used objects, error classes and functions."
+HOMEPAGE="https://github.com/fbrehm/py_pb_base"
+SRC_URI=""
+EGIT_REPO_URI="https://github.com/fbrehm/py_pb_base.git"
+
+inherit git-2 distutils-r1 user versionator
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE="doc nls"
+
+EGIT_BRANCH="master"
+EGIT_COMMIT=$(replace_version_separator 3 '-')
+
+DOCS="debian/changelog README.txt"
+
+RDEPEND="
+ virtual/python-argparse
+ dev-python/configobj
+ >=dev-python/pb-logging-0.2.7
+ nls? ( virtual/libintl )
+"
+DEPEND="
+ ${RDEPEND}
+ doc? ( dev-python/epydoc
+ dev-python/docutils
+ dev-texlive/texlive-latexextra
+ )
+ nls? ( sys-devel/gettext )
+"
+
+pkg_setup() {
+
+ elog "Used GIT tag: '${EGIT_COMMIT}'."
+
+ einfo "Start setup package ..."
+ distutils-r1_src_prepare
+}
+
+src_compile() {
+ einfo "Start compiling package ..."
+ distutils-r1_src_compile
+ if use nls; then
+ make -C ${S}/po
+ fi
+}
+
+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_base" || ewarn "Could not create epydoc html documentation"
+ einfo "Creating epydoc pdf documentation"
+ epydoc --pdf -o "${ED}/usr/share/doc/${PF}/pdf" "${S}/pb_base" || ewarn "Could not create epydoc pdf documentation"
+
+ fi
+
+ if use nls; then
+ make -C ${S}/po DESTDIR="${ED}" install
+ fi
+
+}
+
+# vim: filetype=ebuild ts=4 sw=4