EBUILD pb-base-0.5.6.1-r3.ebuild 1689 SHA256 df4f1fb53f21983712a796e43916c5b4f039e44fca6b3f4e1b34db85df2916b2 SHA512 d96a112da5924a83263dfb68bc55867aa057f32fa838536e78d3d0fd766576cbf2f9e6f75fc04c66212795dc31135faa2a50ce8537c71539ab406ee438c87306 WHIRLPOOL 87be94cd63f53af7c9cf0087625aada543a95c715406fc939477fd3c1922c770a8e3dca5e3bbec9ca24de888a7bccd0bad48457936ccfd9f9db4cda91b682f55
EBUILD pb-base-0.6.5-r1.ebuild 1734 SHA256 3407d424a4fee1e3420381064379419e2dca4d9e3b3d91627585bf56524e6073 SHA512 a1c1abae8d3d35c01527b8d2e989c433d325d96758c192b1b5b53847acc72ebe1b02196d0978b64064e46febad2b861d475b34224f7779a577dd670d377879ee WHIRLPOOL 27fcb77f636b52b68d969ada01f06b9405b65733acb0a504e21c0f039ff55f85712cc0b449f6de369dac24007455fb45a1b2dc48c66443c6998e97a069db0f80
EBUILD pb-base-0.6.7-r1.ebuild 1734 SHA256 3407d424a4fee1e3420381064379419e2dca4d9e3b3d91627585bf56524e6073 SHA512 a1c1abae8d3d35c01527b8d2e989c433d325d96758c192b1b5b53847acc72ebe1b02196d0978b64064e46febad2b861d475b34224f7779a577dd670d377879ee WHIRLPOOL 27fcb77f636b52b68d969ada01f06b9405b65733acb0a504e21c0f039ff55f85712cc0b449f6de369dac24007455fb45a1b2dc48c66443c6998e97a069db0f80
+EBUILD pb-base-0.6.8.ebuild 1729 SHA256 b947caa461ce270a4e7db69de6b893e09d6ce65e26f26341618553044acb5f44 SHA512 6d11ae98e69844ffc69699030cc1f866606643fd9c82516d63470283b382468513797cf80aa7c7dc51b2f2cbb6bf1c9a4b4d24ed81473a8090b7036cb2050c0c WHIRLPOOL 6915e3705b7b0a6b2d3d28fab1acd441bc9aa01e386b74900770a3a83d0e4ec46065751464d476fb661a213480077336e4f2339aebac4172ebb524b8291611f2
--- /dev/null
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+PYTHON_COMPAT=( python{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="
+ dev-python/configobj
+ >=dev-python/pb-logging-0.4.5
+ 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() {
+ einfo "Start installing package ..."
+ 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