From: Frank Brehm Date: Sun, 21 May 2017 12:48:56 +0000 (+0200) Subject: Cleanup of some ebuils X-Git-Url: https://git.uhu-banane.org/?a=commitdiff_plain;h=02ef2752cb4d93ac0983cc36d298f19c4abe9bd2;p=portage.git Cleanup of some ebuils --- diff --git a/dev-python/fbrehm-libs/Manifest b/dev-python/fbrehm-libs/Manifest index 0097740..8889e76 100644 --- a/dev-python/fbrehm-libs/Manifest +++ b/dev-python/fbrehm-libs/Manifest @@ -1,2 +1 @@ -EBUILD fbrehm-libs-0.3-r2.ebuild 722 SHA256 d70be8c552400c06b5474d33b94a3b2dae2c5e946443d64f06922b837d3b532c SHA512 f007d50e14f72a029e784877230d3dd0cdaac740ca358e5480a0e9bf630eedc4a5ecfacdb1933b5a3793bd6af9427df3ec4883ce2ef77e0079aab61cdccad823 WHIRLPOOL 3ab5ab7ae46f9fafd11fa773692349fb99dd65ea149c10caf1ab1e01e48d0bfd0f9dfff74b47cd56007d50c33e3c2567035874e833e6e8107c76f406f02c7a13 EBUILD fbrehm-libs-0.4.3.1-r2.ebuild 1469 SHA256 7b15dcd1d14fb930f07401759244441aac965a8761eb8ae0217f8b62346a6230 SHA512 16f98144b10c763ab219b3406303dc92097aba39524bb5140be01aeec39a0744546c3d83b17beb43b13d5acce7f86456ad9b97dcb9ea64a8514eda1e5ab7099c WHIRLPOOL 1b02aacf3fb468db7ed447ef7f5c8dff1a09aa29f0a086fec727bc89a402db457774008e0358b9e473b27296dbc98f10aed6f75bce539caed31d0339e23a5382 diff --git a/dev-python/fbrehm-libs/fbrehm-libs-0.3-r2.ebuild b/dev-python/fbrehm-libs/fbrehm-libs-0.3-r2.ebuild deleted file mode 100644 index 1881dca..0000000 --- a/dev-python/fbrehm-libs/fbrehm-libs-0.3-r2.ebuild +++ /dev/null @@ -1,32 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header$ - -EAPI=3 -PYTHON_DEPEND="2:2.5" -SUPPORT_PYTHON_ABIS="1" - - -RESTRICT="nomirror" - -inherit distutils subversion - -ESVN_REPO_URI="http://svn.brehm-online.com/svn/my-stuff/python/fbrehm/tags/${PV}" -ESVN_PROJECT="python-${PN}" - -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://svn.brehm-online.com/svn/my-stuff/python/fbrehm/" -SRC_URI="" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="" - -DEPEND="" -RDEPEND="${DEPEND}" - -DOCS="README.txt debian/changelog" - diff --git a/dev-python/pb-dbhandler/Manifest b/dev-python/pb-dbhandler/Manifest index ce1a006..8f25e45 100644 --- a/dev-python/pb-dbhandler/Manifest +++ b/dev-python/pb-dbhandler/Manifest @@ -1 +1,2 @@ -EBUILD pb-dbhandler-0.4.1.1.ebuild 1697 SHA256 a7c3026cf204b770f9053df38e84d6b8ad3440e4d69541539ac2fa55ab8c5a4d SHA512 a3c59658be4a3a8ac560ff615f03e4e4f067142e8aa594b9bc05d08c934109ef82f749e9516f078085d4d6c8c6953ca337c5f9492d4014927b43c63c92bc06ee WHIRLPOOL 104e733f50022b8bc873fdc925a5ffcfed697ceadab0f8acf3363ae05aba3c65e4b862c558c0738b7e46fb9a33783a2cc2174e282f879dd4adf607e1526f90fb +DIST pb-dbhandler-0.4.1.tar.gz 16759 SHA256 99103cf41302e58b924b4fe8b04e9b2ec1a24e0ea739a4092587bc5f164dd057 SHA512 7220b25ba56883b931f6d2bdca0a7e0e26808d97e5b1ac86b1cd24e7e83f1578e8e88e0b20282c51314bb4a613d157d99f801696ffc84d58052713dac491dafd WHIRLPOOL 9d9d48e866cd2bd7e64cfc70f92e8e184990c36539a03ed6c7ad62b24ec8b348a6cdaffc18406591bff29752fedc7491780c83ec6295b1ff6743f783bc437444 +EBUILD pb-dbhandler-0.4.1-r1.ebuild 1715 SHA256 00ef85297dd9801b90963bb36daf4474e1dd7d5c0f85b8c206f9e3d434b5dd44 SHA512 765c05dd500529d8fe6e5dfccc7762e0569be8fd627981cfaea6f5daf914bec6b8636c3f08e9fb62dd8741344231285a40518c4c6ab06f6a78d6dc57da2dfc81 WHIRLPOOL 62d4dbd5d95873475c770f213a7052d412efc948521bc6fdc5ab9f156246a47046d6d72ee3b271934f8f023c22a998b09c69b77267dcebf74ad3bd11edc43d57 diff --git a/dev-python/pb-dbhandler/pb-dbhandler-0.4.1-r1.ebuild b/dev-python/pb-dbhandler/pb-dbhandler-0.4.1-r1.ebuild new file mode 100644 index 0000000..3b299bf --- /dev/null +++ b/dev-python/pb-dbhandler/pb-dbhandler-0.4.1-r1.ebuild @@ -0,0 +1,74 @@ +# 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,3_5} pypy2_0 ) + +DESCRIPTION="Python modules for common used classes for access to databases, escpecially to PostrgreSQL." +HOMEPAGE="https://github.com/fbrehm/py_pb_dbhandler" +SRC_URI="https://github.com/fbrehm/py_pb_dbhandler/archive/${PV}-1.tar.gz -> ${P}.tar.gz" + +inherit distutils-r1 user + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="doc nls" + +DOCS="debian/changelog README.txt" + +RDEPEND=" + dev-python/psycopg + >=dev-python/pb-base-0.3.10 + nls? ( virtual/libintl ) +" +DEPEND=" + ${RDEPEND} + doc? ( dev-python/epydoc + dev-python/docutils + dev-texlive/texlive-latexextra + ) + nls? ( sys-devel/gettext ) +" + +S="${WORKDIR}/py_pb_dbhandler-${PV}-1" + +pkg_setup() { + + 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}/src/pb_dbhandler" || ewarn "Could not create epydoc html documentation" + einfo "Creating epydoc pdf documentation" + epydoc --pdf -o "${ED}/usr/share/doc/${PF}/pdf" "${S}/src/pb_dbhandler" || ewarn "Could not create epydoc pdf documentation" + + fi + + if use nls; then + (cd "${S}/po" && make DESTDIR="${ED}" install) + fi + +} + + +# vim: filetype=ebuild ts=4 sw=4 diff --git a/dev-python/pb-dbhandler/pb-dbhandler-0.4.1.1.ebuild b/dev-python/pb-dbhandler/pb-dbhandler-0.4.1.1.ebuild deleted file mode 100644 index 0b82cab..0000000 --- a/dev-python/pb-dbhandler/pb-dbhandler-0.4.1.1.ebuild +++ /dev/null @@ -1,78 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -EAPI=4 - -DESCRIPTION="Python modules for common used classes for access to databases, escpecially to PostrgreSQL." -HOMEPAGE="https://github.com/fbrehm/py_pb_dbhandler" -SRC_URI="" -EGIT_REPO_URI="https://github.com/fbrehm/py_pb_dbhandler.git" - -inherit git-2 distutils user python versionator - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="amd64 x86" -IUSE="doc nls" -PYTHON_DEPEND="2::2.7" - -EGIT_BRANCH="master" -EGIT_COMMIT=$(replace_version_separator 3 '-') - -DOCS="debian/changelog README.txt" - -RDEPEND=" - dev-python/psycopg - >=dev-python/pb-base-0.3.10 - 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}'." - - 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/pb_dbhandler" || ewarn "Could not create epydoc html documentation" - einfo "Creating epydoc pdf documentation" - epydoc --pdf -o "${ED}/usr/share/doc/${PF}/pdf" "${S}/src/pb_dbhandler" || 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 pb_base -} - -pkg_postrm () { - python_mod_cleanup pb_base -} - - diff --git a/net-analyzer/nagvis/ChangeLog b/net-analyzer/nagvis/ChangeLog deleted file mode 100644 index 5e82c40..0000000 --- a/net-analyzer/nagvis/ChangeLog +++ /dev/null @@ -1,17 +0,0 @@ -# ChangeLog for net-analyzer/nagvis -# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nagvis/ChangeLog,v 1.1 2008/08/03 15:12:28 dertobi123 Exp $ - -*nagvis-1.3.1 (25 Sep 2008) - - 25 Sep 2008; Frank Brehm -nagvis-1.3.ebuild, +nagvis-1.3.1ebuild: - New Version of nagvis, corrected use-flag search of dev-lang/php - - -*nagvis-1.3 (03 Aug 2008) - - 03 Aug 2008; Tobias Scherbaum +metadata.xml, - +nagvis-1.3.ebuild: - Initial import, somewhat based upon on an ebuild by Elias Probst added to - #179830 - diff --git a/net-analyzer/nagvis/Manifest b/net-analyzer/nagvis/Manifest deleted file mode 100644 index 3091d59..0000000 --- a/net-analyzer/nagvis/Manifest +++ /dev/null @@ -1,6 +0,0 @@ -DIST nagvis-1.3.2.tar.gz 323347 RMD160 6281103639834648325a5395159a31d7859a6352 SHA1 1a5675e71bf0bccbf5070cbf6693eccba1576ece SHA256 ff1e271d26adb7813da5c29f35fc199c706b7eccbba41de57880b305254980c6 -DIST nagvis-1.4.1.tar.gz 734849 RMD160 70883946d5380f273b402ac45c7021bfbb0d5aa9 SHA1 1b19a503ca0c5ad1498905831e379db1092a0de7 SHA256 4957767e030ed8259dacd53b0c696c0d521c5da598b31163caebb227d56b07bd -EBUILD nagvis-1.3.2.ebuild 1469 RMD160 503bbcfceb93960dfbc9c59d67f3491ce21fb4d9 SHA1 4b9af8874015cf678ac7bf752dcecdc1c51938e0 SHA256 603838a5c8c1693468bf6947e676e4b102b918941e14c3aea432137f8821e5d8 -EBUILD nagvis-1.4.1-r1.ebuild 1600 RMD160 6d112d91e8d77ef1f63021821ec1dbb725769546 SHA1 b13deb04122acd9c3e099ace5ea2265154f879eb SHA256 bc28e4cbed586268bb75d75fd6175aaac610101d17e5d046808007787997e898 -MISC ChangeLog 615 RMD160 0c51e43c34b0002698200b4a7eed168df728fa81 SHA1 09eadde69dd163ed51d1c9fe84f9aa80ebee3e5a SHA256 57c323be168b6fd1cb077ea0a2a290a9535d10ad0fadb847ac6b107f6502aa7d -MISC metadata.xml 413 RMD160 d0dc031bd774200fb07a22fc0a00c4c66b2d34ca SHA1 4092b05d12de4b4623f0134c09200c1554d572f2 SHA256 5a00f497b1fddd8355f447be57a37641f01aa82308071f06873c9aa3ad3862d4 diff --git a/net-analyzer/nagvis/metadata.xml b/net-analyzer/nagvis/metadata.xml deleted file mode 100644 index fa6c118..0000000 --- a/net-analyzer/nagvis/metadata.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - no-herd - - frank@brehm-online.com - Frank Brehm - Primary maintainer - - - Enable automated map generation using media-gfx/graphviz - - diff --git a/net-analyzer/nagvis/nagvis-1.3.2.ebuild b/net-analyzer/nagvis/nagvis-1.3.2.ebuild deleted file mode 100644 index 11015f1..0000000 --- a/net-analyzer/nagvis/nagvis-1.3.2.ebuild +++ /dev/null @@ -1,48 +0,0 @@ -# Copyright 1999-2009 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nagvis/nagvis-1.3.2.ebuild,v 1.2 2009/02/16 18:45:56 dertobi123 Exp $ - -inherit eutils confutils depend.php - -DESCRIPTION="NagVis is a visualization addon for the well known network managment system Nagios." -HOMEPAGE="http://www.nagvis.org/" -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~ppc ~x86" -IUSE="automap" - -DEPEND="" -RDEPEND=">=net-analyzer/ndoutils-1.4_beta4 - automap? ( >=media-gfx/graphviz-2.14 )" - -need_php_httpd - -pkg_setup() { - confutils_require_built_with_all dev-lang/php mysql unicode - confutils_require_built_with_any dev-lang/php gd gd-external -} - -src_install() { - for docfile in README INSTALL - do - dodoc ${docfile} - rm ${docfile} - done - - dodir /usr/share - grep -Rl "/usr/local" "${S}"/* | xargs sed -i s:/usr/local:/usr:g - mv "${S}" "${D}"/usr/share/nagvis - chmod 664 "${D}"/usr/share/nagvis/etc/nagvis.ini.php-sample - chmod 775 "${D}"/usr/share/nagvis/nagvis/images/maps - chmod 664 "${D}"/usr/share/nagvis/nagvis/images/maps/* - chmod 775 "${D}"/usr/share/nagvis/etc/maps - chmod 664 "${D}"/usr/share/nagvis/etc/maps/* -} -pkg_postinst() { - elog "Before running NagVis for the first time, you will need to set up" - elog "/usr/share/nagvis/nagvis/etc/nagvis.ini.php" - elog "A sample is in" - elog "/usr/share/nagvis/nagvis/etc/nagvis.ini.php-sample" -} diff --git a/net-analyzer/nagvis/nagvis-1.4.1-r1.ebuild b/net-analyzer/nagvis/nagvis-1.4.1-r1.ebuild deleted file mode 100644 index fca3c02..0000000 --- a/net-analyzer/nagvis/nagvis-1.4.1-r1.ebuild +++ /dev/null @@ -1,59 +0,0 @@ -# Copyright 1999-2009 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nagvis/nagvis-1.4.1.ebuild,v 1.1 2009/06/19 20:13:16 dertobi123 Exp $ - -inherit eutils confutils depend.php - -DESCRIPTION="NagVis is a visualization addon for the well known network managment system Nagios." -HOMEPAGE="http://www.nagvis.org/" -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~ppc ~x86" -IUSE="automap" - -DEPEND="" -RDEPEND=">=net-analyzer/ndoutils-1.4_beta4 - automap? ( >=media-gfx/graphviz-2.14 )" - -need_php_httpd - -pkg_setup() { - confutils_require_built_with_all dev-lang/php mysql unicode - confutils_require_built_with_any dev-lang/php gd gd-external -} - -src_install() { - for docfile in README INSTALL - do - dodoc ${docfile} - rm ${docfile} - done - - grep -Rl "/usr/local" "${S}"/* | xargs sed -i s:/usr/local:/usr:g - - dodir /usr/share/nagvis - mv "${S}"/{config.php,index.php,nagvis,wui} "${D}"/usr/share/nagvis/ - - dodir /var/nagvis - dosym /var/nagvis /usr/share/nagvis/var - fowners apache:root /var/nagvis - - dodir /etc/nagvis - mv "${S}"/etc/* "${D}"/etc/nagvis/ - dosym /etc/nagvis /usr/share/nagvis/etc - - fperms 664 /etc/nagvis/nagvis.ini.php-sample - fperms 775 /etc/nagvis/maps - fowners apache:root /etc/nagvis/maps - fperms 664 /etc/nagvis/maps/*cfg - fowners apache:root /etc/nagvis/maps/*cfg -} - -pkg_postinst() { - elog "Before running NagVis for the first time, you will need to set up" - elog "/etc/nagvis/nagvis.ini.php" - elog "A sample is in" - elog "/etc/nagvis/nagvis.ini.php-sample" -}