From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id A45AC138200 for ; Thu, 13 Jun 2013 11:19:21 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5B051E08A1; Thu, 13 Jun 2013 11:19:20 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 8723BE085B for ; Thu, 13 Jun 2013 11:19:19 +0000 (UTC) Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 6C4B033E44D for ; Thu, 13 Jun 2013 11:19:18 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id 0D102E5462 for ; Thu, 13 Jun 2013 11:19:17 +0000 (UTC) From: "Justin Lecher" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Justin Lecher" Message-ID: <1371122308.12986ec6bdf6f03048f2b84f9db5ceddafc1d17a.jlec@gentoo> Subject: [gentoo-commits] proj/sci:master commit in: dev-python/astropysics/ X-VCS-Repository: proj/sci X-VCS-Files: dev-python/astropysics/ChangeLog dev-python/astropysics/astropysics-9999.ebuild dev-python/astropysics/metadata.xml X-VCS-Directories: dev-python/astropysics/ X-VCS-Committer: jlec X-VCS-Committer-Name: Justin Lecher X-VCS-Revision: 12986ec6bdf6f03048f2b84f9db5ceddafc1d17a X-VCS-Branch: master Date: Thu, 13 Jun 2013 11:19:17 +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: 281d8b11-0403-42c7-918a-a5ec012924d3 X-Archives-Hash: bd0c9340a030883b1c0548e4efb31d49 commit: 12986ec6bdf6f03048f2b84f9db5ceddafc1d17a Author: Justin Lecher gentoo org> AuthorDate: Thu Jun 13 11:17:26 2013 +0000 Commit: Justin Lecher gentoo org> CommitDate: Thu Jun 13 11:18:28 2013 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=12986ec6 dev-python/astropysics: Bump to EAPI=5 and distutils-r1.eclass Package-Manager: portage-2.2.0_alpha179 --- dev-python/astropysics/ChangeLog | 6 ++- dev-python/astropysics/astropysics-9999.ebuild | 55 ++++++++++---------------- dev-python/astropysics/metadata.xml | 4 +- 3 files changed, 28 insertions(+), 37 deletions(-) diff --git a/dev-python/astropysics/ChangeLog b/dev-python/astropysics/ChangeLog index 9656cef..e1a8284 100644 --- a/dev-python/astropysics/ChangeLog +++ b/dev-python/astropysics/ChangeLog @@ -1,7 +1,11 @@ # ChangeLog for dev-python/astropysics -# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ + 13 Jun 2013; Justin Lecher astropysics-9999.ebuild, + metadata.xml: + Bump to EAPI=5 and distutils-r1.eclass + 04 Aug 2011; Sébastien Fabbro metadata.xml: Switched herd to sci-astronomy diff --git a/dev-python/astropysics/astropysics-9999.ebuild b/dev-python/astropysics/astropysics-9999.ebuild index f8b20af..cb33c44 100644 --- a/dev-python/astropysics/astropysics-9999.ebuild +++ b/dev-python/astropysics/astropysics-9999.ebuild @@ -1,53 +1,40 @@ -# Copyright 1999-2011 Gentoo Foundation +# Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ -EAPI=3 +EAPI=5 -PYTHON_DEPEND="2" -SUPPORT_PYTHON_ABIS="1" +PYTHON_COMPAT=( python2_7 ) -EGIT_REPO_URI="git://github.com/eteq/${PN}.git" -EGIT_BRANCH="master" - -inherit distutils git-2 +inherit distutils-r1 git-2 DESCRIPTION="General purpose python library for professional astronomers/astrophysicists" HOMEPAGE="http://packages.python.org/Astropysics/" SRC_URI="" +EGIT_REPO_URI="git://github.com/eteq/${PN}.git" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="" IUSE="doc" -DEPEND="doc? ( dev-python/sphinx )" -RDEPEND="dev-python/chaco - dev-python/ipython - dev-python/matplotlib - dev-python/networkx - dev-python/pygraphviz - dev-python/atpy[fits,votable] +DEPEND="doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )" +RDEPEND=" + dev-python/chaco[${PYTHON_USEDEP}] + dev-python/ipython[${PYTHON_USEDEP}] + dev-python/matplotlib[${PYTHON_USEDEP}] + dev-python/networkx[${PYTHON_USEDEP}] + dev-python/pygraphviz[${PYTHON_USEDEP}] + dev-python/atpy[fits,votable,${PYTHON_USEDEP}] sci-astronomy/sextractor - sci-visualization/mayavi - sci-libs/scipy" - -RESTRICT_PYTHON_ABIS="3.*" + sci-visualization/mayavi[${PYTHON_USEDEP}] + sci-libs/scipy[${PYTHON_USEDEP}]" -src_compile() { - distutils_src_compile - if use doc; then - cd docs - emake html || die - fi +python_compile_all() { + use doc && emake -C docs html } -src_install() { - distutils_src_install - if use doc; then - cd docs/_build - insinto /usr/share/doc/${PF} - doins -r html || die - cd ../.. - fi +python_install_all() { + use doc && HTML_DOCS=( docs/_build/html/. ) + distutils-r1_python_install_all } diff --git a/dev-python/astropysics/metadata.xml b/dev-python/astropysics/metadata.xml index f344d8b..02341f3 100644 --- a/dev-python/astropysics/metadata.xml +++ b/dev-python/astropysics/metadata.xml @@ -1,8 +1,8 @@ -sci-astronomy - + sci-astronomy + Astropysics leverages a variety of tools already developed for python to simplify quick-and-dirty calculations and streamline really hard ones. When paired with an interactive environment, it aims to be a full-featured replacement for IDL