]> Frank Brehm's Git Trees - portage.git/commitdiff
Adding dev-python/pb-base/pb-base-0.7.6.ebuild before/clean
authorFrank Brehm <frank@brehm-online.com>
Thu, 14 Jun 2018 05:34:39 +0000 (07:34 +0200)
committerFrank Brehm <frank@brehm-online.com>
Thu, 14 Jun 2018 05:34:39 +0000 (07:34 +0200)
dev-python/pb-base/Manifest
dev-python/pb-base/pb-base-0.7.6.ebuild [new file with mode: 0644]

index 2267f91d3f2fe049aca68d7fac0df548141389a9..d9fa9eb75d1c622183d1680f59f9dec2b33f8eed 100644 (file)
@@ -1,4 +1,5 @@
-EBUILD pb-base-0.5.6.1-r3.ebuild 1689 SHA256 df4f1fb53f21983712a796e43916c5b4f039e44fca6b3f4e1b34db85df2916b2 SHA512 d96a112da5924a83263dfb68bc55867aa057f32fa838536e78d3d0fd766576cbf2f9e6f75fc04c66212795dc31135faa2a50ce8537c71539ab406ee438c87306 WHIRLPOOL 87be94cd63f53af7c9cf0087625aada543a95c715406fc939477fd3c1922c770a8e3dca5e3bbec9ca24de888a7bccd0bad48457936ccfd9f9db4cda91b682f55
-EBUILD pb-base-0.6.8.ebuild 1733 SHA256 bb3636c869b55c8b882dc8de078a12b6f20f702dc748115ea90b0f648fa3c81d SHA512 7f30c95c044ea3decb8ee36710dc3a292c9fa2c12aa9177a67d1c27055fb4b1650710d1445569d0ab7a440aecd4d004df9faf2a9f9706d95d269e54af29fa9b8 WHIRLPOOL 98c19742ea7fd745f7ca9de7a40ce375aa3c4143f1e710eab31f3d3b13965918fd7ba315823cd2599a8f2163ef43353dfe2c52f13fd14a1fbee6bd6e20c066aa
-EBUILD pb-base-0.7.3.ebuild 1749 SHA256 0afe2e4d3575f6c9190bf0c2c6ff2aad0ba0c7457da336cc018c9fb6601191da SHA512 6fc03880a05c30e8dddcd15a2b761db80be9a624e6b2f7c91c59b6644d1a2e78c8c127d618a77c5b60897c8dc8a8e0dcc8630902fef43e1d6b5795e2de85f6f0 WHIRLPOOL 40acaf019046519146e7759eba80f7d7d966b5055c57db2a935eead543764b7b471d2c54aad34b94860d018dba05df5c89343196aa69a0a16a91618eb1b3aa6c
-EBUILD pb-base-0.7.4.ebuild 1772 SHA256 4ed9e5505c156fb424286928e0ef5eb5f3392e4f46fecb37f9f574d0ba729f42 SHA512 4cf0f07654bcf433d124768c73382f257f97649f2eb15f63b1cd45990bfbb39465136633cd6f7d374a6cdedb86ac1b2fc3c29a43b3ececedc6a6b404c3633303 WHIRLPOOL dd4b548aaf5c1e779bc0137286486db94926d0346e69956cf7852aaaf60c0b7f6e98120051c954a5231f70e1565929e98e7204ff5772bee1c6066c451fba6714
+EBUILD pb-base-0.5.6.1-r3.ebuild 1689 BLAKE2B 6f26af4f3556a0be514732f58d776a7a30310e705a59254e4223b150f53e5b55d90752c4655ee6d2f8faf8fc8a4a86bc26bdd1616ede84b09208e292fc91adf3 SHA512 d96a112da5924a83263dfb68bc55867aa057f32fa838536e78d3d0fd766576cbf2f9e6f75fc04c66212795dc31135faa2a50ce8537c71539ab406ee438c87306
+EBUILD pb-base-0.6.8.ebuild 1733 BLAKE2B 05229c5d028e62fb03f3be599d4672726e10ed0243778d455be71847f70efb1556bce4d75c44e85211a48cb62b245e7c794c12166c7762585cc6c45e566c9ef5 SHA512 7f30c95c044ea3decb8ee36710dc3a292c9fa2c12aa9177a67d1c27055fb4b1650710d1445569d0ab7a440aecd4d004df9faf2a9f9706d95d269e54af29fa9b8
+EBUILD pb-base-0.7.3.ebuild 1749 BLAKE2B 8fa2c4b74a4bebd8565b6d9298239a9af1c77530519ffc1b32bd3d52830891befa9ac241f3fa78050f23f5d7fb417de407d0a3fd3a582ccbab501bf3cdbd6280 SHA512 6fc03880a05c30e8dddcd15a2b761db80be9a624e6b2f7c91c59b6644d1a2e78c8c127d618a77c5b60897c8dc8a8e0dcc8630902fef43e1d6b5795e2de85f6f0
+EBUILD pb-base-0.7.4.ebuild 1772 BLAKE2B e9c9da09c38c5398731505b41c8b243f3caa34777e2f8c6f6955ad81e7327205aebe5c279529e03cbac5feba1aca69f8fad0129f1a3ecb78e1dba08dd5b283c3 SHA512 4cf0f07654bcf433d124768c73382f257f97649f2eb15f63b1cd45990bfbb39465136633cd6f7d374a6cdedb86ac1b2fc3c29a43b3ececedc6a6b404c3633303
+EBUILD pb-base-0.7.6.ebuild 1768 BLAKE2B 054c3cf6870af18121999cf89b289408a45e4eff67fce9d3352712853eb5214698ac7c17a183f47a094051383b38781b192e646dccf18e4c3ad6fc7ee8771c3f SHA512 07b4014e0df8f3d932f669d5c85e614995817633397c0923fb7fd706015e40c347089709d25bd960c544d7d60c975c06bc34419c9d90b772c7811a8d1ad1c1b9
diff --git a/dev-python/pb-base/pb-base-0.7.6.ebuild b/dev-python/pb-base/pb-base-0.7.6.ebuild
new file mode 100644 (file)
index 0000000..8a1c6f3
--- /dev/null
@@ -0,0 +1,79 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} 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
+       dev-python/six
+       nls? ( virtual/libintl )
+"
+DEPEND="
+       ${RDEPEND}
+       dev-python/setuptools
+       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