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 35FD71381F3 for ; Thu, 13 Jun 2013 11:19:23 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2FF89E085B; 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 2AF17E0898 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 15C5D33E439 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 B794DE545F for ; Thu, 13 Jun 2013 11:19:16 +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: <1371119466.420e8d1e69dd03a9639f5425905e76ba2af12f0c.jlec@gentoo> Subject: [gentoo-commits] proj/sci:ccp4 commit in: dev-python/astropy/ X-VCS-Repository: proj/sci X-VCS-Files: dev-python/astropy/ChangeLog dev-python/astropy/astropy-9999.ebuild dev-python/astropy/metadata.xml X-VCS-Directories: dev-python/astropy/ X-VCS-Committer: jlec X-VCS-Committer-Name: Justin Lecher X-VCS-Revision: 420e8d1e69dd03a9639f5425905e76ba2af12f0c X-VCS-Branch: ccp4 Date: Thu, 13 Jun 2013 11:19:16 +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: 55b3806f-e97f-428c-ad1d-b074c25fbaf1 X-Archives-Hash: 24c029bdc71c4c92a25c8b1be4b87c88 commit: 420e8d1e69dd03a9639f5425905e76ba2af12f0c Author: Justin Lecher gentoo org> AuthorDate: Thu Jun 13 10:31:06 2013 +0000 Commit: Justin Lecher gentoo org> CommitDate: Thu Jun 13 10:31:06 2013 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=420e8d1e dev-python/astropy: Bump to EAPI=5 and distutils-r1.eclass Package-Manager: portage-2.2.0_alpha179 --- dev-python/astropy/ChangeLog | 8 +++++++ dev-python/astropy/astropy-9999.ebuild | 40 +++++++++++++++------------------- dev-python/astropy/metadata.xml | 10 ++++----- 3 files changed, 31 insertions(+), 27 deletions(-) diff --git a/dev-python/astropy/ChangeLog b/dev-python/astropy/ChangeLog new file mode 100644 index 0000000..2a1b16f --- /dev/null +++ b/dev-python/astropy/ChangeLog @@ -0,0 +1,8 @@ +# ChangeLog for dev-python/astropy +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 +# $Header: $ + + 13 Jun 2013; Justin Lecher astropy-9999.ebuild, + metadata.xml: + Bump to EAPI=5 and distutils-r1.eclass + diff --git a/dev-python/astropy/astropy-9999.ebuild b/dev-python/astropy/astropy-9999.ebuild index 4956a93..7b96ba9 100644 --- a/dev-python/astropy/astropy-9999.ebuild +++ b/dev-python/astropy/astropy-9999.ebuild @@ -1,54 +1,50 @@ -# Copyright 1999-2012 Gentoo Foundation +# Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ -EAPI=4 +EAPI=5 -EGIT_REPO_URI="git://github.com/${PN}/${PN}.git" -SUPPORT_PYTHON_ABIS="1" -RESTRICT_PYTHON_ABIS="2.5 2.7-pypy-* *-jython" -DISTUTILS_SRC_TEST=setup.py +PYTHON_COMPAT=( python{2_6,2_7} ) -inherit distutils git-2 +inherit distutils-r1 git-2 DESCRIPTION="Python routines and common tools needed for performing astronomy and astrophysics" HOMEPAGE="http://astropy.org/ http://github.com/astropy/astropy" SRC_URI="" +EGIT_REPO_URI="git://github.com/${PN}/${PN}.git" LICENSE="BSD" SLOT="0" KEYWORDS="" IUSE="doc test" -RDEPEND="dev-python/numpy" +RDEPEND="dev-python/numpy[${PYTHON_USEDEP}]" DEPEND="${RDEPEND} - dev-python/setuptools + dev-python/setuptools[${PYTHON_USEDEP}] sys-devel/flex doc? ( - dev-python/sphinx + dev-python/sphinx[${PYTHON_USEDEP}] media-gfx/graphviz ) - test? ( dev-python/pytest )" - -PYTHON_CFLAGS=("2.* + -fno-strict-aliasing") + test? ( dev-python/pytest[${PYTHON_USEDEP}] )" -src_prepare() { - sed -e '/use_system_pytest/ s/False/True/' \ +python_prepare_all() { + sed \ + -e '/use_system_pytest/ s/False/True/' \ -i astropy/tests/helper.py || die - distutils_src_prepare + distutils-r1_python_prepare_all } -src_compile() { - distutils_src_compile +python_compile_all() { if use doc ; then pushd docs &> /dev/null - PYTHONPATH="$(ls -d ../build-$(PYTHON --ABI -f)/lib.*)" \ + PYTHONPATH="$(ls -d ${BUILD_DIR}/lib.*)" \ sphinx-build -b html -d _build/doctrees . _build/html || die popd &> /dev/null fi } -src_install() { - distutils_src_install - use doc && { dohtml -r docs/_build/html/* ; } +python_install_all() { + use doc && HTML_DOCS=( docs/_build/html/. ) + distutils-r1_src_install_all } diff --git a/dev-python/astropy/metadata.xml b/dev-python/astropy/metadata.xml index 6aed3c8..24543d4 100644 --- a/dev-python/astropy/metadata.xml +++ b/dev-python/astropy/metadata.xml @@ -1,9 +1,9 @@ - sci-astronomy - - xarthisius@gentoo.org - Kacper Kowalik - + sci-astronomy + + xarthisius@gentoo.org + Kacper Kowalik +