From: Frank Brehm Date: Sat, 9 Mar 2013 07:56:43 +0000 (+0100) Subject: new ebuild dev-python/fbrehm-libs/fbrehm-libs-0.4.3.1.ebuild built from github X-Git-Url: https://git.uhu-banane.net/?a=commitdiff_plain;h=d76e52391c9a20d92f9bf2bac5dd6228b2ae5ef5;p=portage.git new ebuild dev-python/fbrehm-libs/fbrehm-libs-0.4.3.1.ebuild built from github --- diff --git a/dev-python/fbrehm-libs/Manifest b/dev-python/fbrehm-libs/Manifest index 8535b08..5f9b824 100644 --- a/dev-python/fbrehm-libs/Manifest +++ b/dev-python/fbrehm-libs/Manifest @@ -1,6 +1,5 @@ -DIST fbrehm-libs-0.2.tar.gz 5014 RMD160 9dbd1bf5dc538ed124ab9d51133c9630e0c50f23 SHA1 e607b6fac3108b51ccaa9ee5d3f3c4fa3c9dfc87 SHA256 88929f8131c52396b6eaaf00e3cf9f53386ba3bd2f5cb29a4f112d93a8cd4a69 -DIST fbrehm-libs-0.3.tar.gz 4804 RMD160 3e84ae71e9597977b9e5d9aff55d2b3d105eec70 SHA1 22e46220b1ce1b326e23c8c80fc59c1819e75000 SHA256 0056131b3c869208319f39417ad056f9d9ee80b9f38e11fb146da4a2eebd2859 -EBUILD fbrehm-libs-0.2.ebuild 493 RMD160 179b54db421fffa41a7a2750942b64932e269ff1 SHA1 ebbb8ea7357ceec14d12756e82c3c02a2ab830e0 SHA256 87cafcb8c875651c735a1089762c72375a8c9667f86177d2e5ab5672124d2692 -EBUILD fbrehm-libs-0.3-r1.ebuild 638 RMD160 2b0981d84701f2915cf97b47dcdb8e5daead7073 SHA1 0f951ddec5853e5dc928428b62510386c556b054 SHA256 7b38e67fc5990ab78d95444930b0fc2a6d89aa4571a39db91d2074ace785946d -EBUILD fbrehm-libs-0.3-r2.ebuild 722 RMD160 6d6645963451d3bf2f3bc7c2238c494ce6328992 SHA1 5a0ca77fecb96b193f0568735517e15a6df62677 SHA256 d70be8c552400c06b5474d33b94a3b2dae2c5e946443d64f06922b837d3b532c -EBUILD fbrehm-libs-0.3.ebuild 493 RMD160 179b54db421fffa41a7a2750942b64932e269ff1 SHA1 ebbb8ea7357ceec14d12756e82c3c02a2ab830e0 SHA256 87cafcb8c875651c735a1089762c72375a8c9667f86177d2e5ab5672124d2692 +DIST fbrehm-libs-0.3.tar.gz 4804 SHA256 0056131b3c869208319f39417ad056f9d9ee80b9f38e11fb146da4a2eebd2859 +EBUILD fbrehm-libs-0.3-r1.ebuild 638 SHA256 7b38e67fc5990ab78d95444930b0fc2a6d89aa4571a39db91d2074ace785946d SHA512 6c455185bfe494f42a54b356fa1c7b442155de88851a25e3a7058f573cea3f29e1e9c2855465b32dc61c8a05385630d38bbc8f3927712edd83eabf6a7c0ae490 WHIRLPOOL b9cfd2baca68acb5f9bfc0dcab840b04b2c3c58924a9a5addcb24098e6517ea8eb71595e834fc5143b202066ec02bc4b41106fb98bb38d47ae44d6116c2e7f82 +EBUILD fbrehm-libs-0.3-r2.ebuild 722 SHA256 d70be8c552400c06b5474d33b94a3b2dae2c5e946443d64f06922b837d3b532c SHA512 f007d50e14f72a029e784877230d3dd0cdaac740ca358e5480a0e9bf630eedc4a5ecfacdb1933b5a3793bd6af9427df3ec4883ce2ef77e0079aab61cdccad823 WHIRLPOOL 3ab5ab7ae46f9fafd11fa773692349fb99dd65ea149c10caf1ab1e01e48d0bfd0f9dfff74b47cd56007d50c33e3c2567035874e833e6e8107c76f406f02c7a13 +EBUILD fbrehm-libs-0.3.ebuild 493 SHA256 87cafcb8c875651c735a1089762c72375a8c9667f86177d2e5ab5672124d2692 SHA512 8bc7da7aba5374606fb4d2545a35de68f6c90917bde4d272db8e7806065492a164daf4ea88df2f6b659a5777c3f88d8f670c7080703438f2c102c50ca5ffd4c4 WHIRLPOOL 99a112681620b16c75245df345a786eb4294658ac8d59b4543f4b97eb9f18c2cd6cfeac5dc1579466c04ce5089854c87ee0c446f49031f2461fe864e651fc811 +EBUILD fbrehm-libs-0.4.3.1.ebuild 1748 SHA256 160572df5976844d315cdb884d3d326a627298cf40114bd893f883f786cf9ece SHA512 d12d8aed6ee988f845afe220a2e47e48180855674a6f5dcc1eaa6b2480252a8fc22efa53dd2bd13db6060020466a1b4a098096eed58565552710d50113e35419 WHIRLPOOL 1a32336818e2fe302ba612bad33a55f247b557219082d5aa330f3bd0dde790859fcb66ff8faf42ae39dc05aa9626302aeecd9549f7b82aac6e80306f0446fd61 diff --git a/dev-python/fbrehm-libs/fbrehm-libs-0.2.ebuild b/dev-python/fbrehm-libs/fbrehm-libs-0.2.ebuild deleted file mode 100644 index 06bbe4f..0000000 --- a/dev-python/fbrehm-libs/fbrehm-libs-0.2.ebuild +++ /dev/null @@ -1,25 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -EAPI=3 -PYTHON_DEPEND="2" - -RESTRICT="nomirror" - -inherit distutils - -DESCRIPTION="A collection of common python modules by Frank Brehm" -HOMEPAGE="http://www.brehm-online.com/projects/" -SRC_URI="http://www.brehm-online.com/projects/${PN}/${P}.tar.gz" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="" - -DEPEND="" -RDEPEND="${DEPEND}" - -DOCS="README.txt debian/changelog" - diff --git a/dev-python/fbrehm-libs/fbrehm-libs-0.4.3.1.ebuild b/dev-python/fbrehm-libs/fbrehm-libs-0.4.3.1.ebuild new file mode 100644 index 0000000..c30920a --- /dev/null +++ b/dev-python/fbrehm-libs/fbrehm-libs-0.4.3.1.ebuild @@ -0,0 +1,75 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header$ + +EAPI=4 +PYTHON_DEPEND="2:2.7" + +EGIT_REPO_URI="https://github.com/fbrehm/py_fbrehm_libs.git" + +RESTRICT="nomirror" + +inherit git-2 distutils user python versionator + +PYTHON_MODNAME="fbrehm/__init__.py fbrehm/common/__init__.py fbrehm/common/getopt.py fbrehm/common/logging_obj.py" + +DESCRIPTION="A collection of common python modules by Frank Brehm" +HOMEPAGE="http://git.brehm-online.com/my-stuff/fbrehm.git" +SRC_URI="" + +EGIT_BRANCH="develop" +EGIT_COMMIT=$(replace_version_separator 3 '-') + +DOCS="debian/changelog README.txt" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc nls" + +DEPEND="" +RDEPEND=" + dev-python/argparse + dev-python/configobj + nls? ( virtual/libintl ) +" + +pkg_setup() { + + elog "Used GIT tag: '${EGIT_COMMIT}'." + + python_set_active_version 2 + python_pkg_setup +} + +src_install() { + distutils_src_install + #python_clean_installation_image + + 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}/src/fbrehm" || ewarn "Could not create epydoc html documentation" + einfo "Creating epydoc pdf documentation" + epydoc --pdf -o "${ED}/usr/share/doc/${PF}/pdf" "${S}/src/fbrehm" || ewarn "Could not create epydoc pdf documentation" + + fi + + #if use nls; then + # (cd "${S}/po" && make DESTDIR="${ED}" install) + #fi + +} + +pkg_postinst() { + python_mod_optimize fbrehm +} + +pkg_postrm () { + python_mod_cleanup fbrehm +} +