sci-misc/vitables: Removing EAPI 4 ebuild
authorGerhard Bräunlich <wippbox@gmx.net>
Thu, 22 Sep 2016 16:28:23 +0000 (18:28 +0200)
committerDavid Seifert <soap@gentoo.org>
Sun, 25 Sep 2016 19:49:07 +0000 (21:49 +0200)
Package-Manager: portage-2.2.28
Closes: https://github.com/gentoo/gentoo/pull/2389

Signed-off-by: David Seifert <soap@gentoo.org>
sci-misc/vitables/vitables-2.1-r1.ebuild
sci-misc/vitables/vitables-2.1.ebuild [deleted file]

index 5d9caccf2e066cf9368ea6bd15dbc53e2382b996..865e0858d70cb3dfb08a5b68f34932d8c8af66e3 100644 (file)
@@ -20,8 +20,8 @@ KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
 IUSE="doc examples"
 
 RDEPEND="
-       dev-python/pytables
-       dev-python/PyQt4[X]"  # FIXME: check if any other useflags are needed
+       dev-python/pytables[${PYTHON_USEDEP}]
+       dev-python/PyQt4[X,${PYTHON_USEDEP}]"  # FIXME: check if any other useflags are needed
 DEPEND="${RDEPEND}
        doc? ( dev-python/sphinx )"
 
@@ -30,7 +30,6 @@ S=${WORKDIR}/${MY_P}
 PATCHES=( "${FILESDIR}"/${P}-no-docs.patch )
 
 python_compile_all() {
-       distutils-r1_python_compile
        # fixme: multiple python (anyone cares?)
        use doc && esetup.py build_sphinx
 }
@@ -38,15 +37,14 @@ python_compile_all() {
 python_install_all() {
        dodir /usr/share/icons/hicolor/scalable/apps
        dodir /usr/share/applications
-       distutils-r1_python_install_all
 
        if use examples; then
                docompress -x /usr/share/doc/${PF}/examples
                DOCS+=( examples )
        fi
-       if use doc ; then
+       if use doc; then
                HTML_DOCS+=( "${BUILD_DIR}"/sphinx/html/. )
                DOCS+=( "${BUILD_DIR}"/sphinx/latex/*.pdf )
        fi
-       einstalldocs
+       distutils-r1_python_install_all
 }
diff --git a/sci-misc/vitables/vitables-2.1.ebuild b/sci-misc/vitables/vitables-2.1.ebuild
deleted file mode 100644 (file)
index 7ed46d1..0000000
+++ /dev/null
@@ -1,56 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=4
-
-PYTHON_DEPEND="2:2.5"
-SUPPORT_PYTHON_ABIS="1"
-RESTRICT_PYTHON_ABIS="3.*"
-
-MY_PN=ViTables
-MY_P=${MY_PN}-${PV}
-
-inherit distutils eutils
-
-DESCRIPTION="A graphical tool for browsing and editing files in both PyTables and HDF5 formats"
-HOMEPAGE="http://vitables.org/"
-SRC_URI="https://${PN}.googlecode.com/files/${MY_P}.tar.gz"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
-IUSE="doc examples"
-
-RDEPEND="
-       dev-python/pytables
-       dev-python/PyQt4[X]"  # FIXME: check if any other useflags are needed
-DEPEND="${RDEPEND}
-       doc? ( dev-python/sphinx )"
-
-S=${WORKDIR}/${MY_P}
-
-src_prepare() {
-       epatch "${FILESDIR}"/${P}-no-docs.patch
-}
-
-src_compile() {
-       distutils_src_compile
-       if use doc; then
-               # fixme: multiple python (anyone cares?)
-          python setup.py build_sphinx || die
-       fi
-}
-
-src_install() {
-       dodir /usr/share/icons/hicolor/scalable/apps
-       dodir /usr/share/applications
-       XDG_DATA_DIRS="${ED}/usr/share" distutils_src_install
-
-       if use examples; then
-               insinto /usr/share/doc/${PF}/examples
-               doins -r examples/*
-       fi
-       use doc && dohtml -r build/sphinx/html/* && \
-               dodoc build/sphinx/latex/*.pdf
-}