From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 971A0138330 for ; Sun, 25 Sep 2016 19:51:37 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4D2FCE0B7D; Sun, 25 Sep 2016 19:51:35 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 08F09E0B7E for ; Sun, 25 Sep 2016 19:51:34 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id BED24340940 for ; Sun, 25 Sep 2016 19:51:33 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A9B6F2497 for ; Sun, 25 Sep 2016 19:51:31 +0000 (UTC) From: "David Seifert" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "David Seifert" Message-ID: <1474832947.d9dfe44904c1bd250bd986aea546d0a93163f735.soap@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sci-misc/vitables/ X-VCS-Repository: repo/gentoo X-VCS-Files: sci-misc/vitables/vitables-2.1-r1.ebuild sci-misc/vitables/vitables-2.1.ebuild X-VCS-Directories: sci-misc/vitables/ X-VCS-Committer: soap X-VCS-Committer-Name: David Seifert X-VCS-Revision: d9dfe44904c1bd250bd986aea546d0a93163f735 X-VCS-Branch: master Date: Sun, 25 Sep 2016 19:51:31 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 307add90-d30f-4667-aa10-a9f60c204ee6 X-Archives-Hash: 7d721ffac33430f200dfe5f0bb71c57a commit: d9dfe44904c1bd250bd986aea546d0a93163f735 Author: Gerhard Bräunlich gmx net> AuthorDate: Thu Sep 22 16:28:23 2016 +0000 Commit: David Seifert gentoo org> CommitDate: Sun Sep 25 19:49:07 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d9dfe449 sci-misc/vitables: Removing EAPI 4 ebuild Package-Manager: portage-2.2.28 Closes: https://github.com/gentoo/gentoo/pull/2389 Signed-off-by: David Seifert gentoo.org> sci-misc/vitables/vitables-2.1-r1.ebuild | 10 +++--- sci-misc/vitables/vitables-2.1.ebuild | 56 -------------------------------- 2 files changed, 4 insertions(+), 62 deletions(-) diff --git a/sci-misc/vitables/vitables-2.1-r1.ebuild b/sci-misc/vitables/vitables-2.1-r1.ebuild index 5d9cacc..865e085 100644 --- a/sci-misc/vitables/vitables-2.1-r1.ebuild +++ b/sci-misc/vitables/vitables-2.1-r1.ebuild @@ -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 index 7ed46d1..00000000 --- a/sci-misc/vitables/vitables-2.1.ebuild +++ /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 -}