From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1SR19w-0006sL-7Z for garchives@archives.gentoo.org; Sun, 06 May 2012 13:05:56 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B2B8FE06D7; Sun, 6 May 2012 13:05:48 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 7C9D7E06D7 for ; Sun, 6 May 2012 13:05:48 +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 DE99F1B4022 for ; Sun, 6 May 2012 13:05:47 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id A10C7E5402 for ; Sun, 6 May 2012 13:05:46 +0000 (UTC) From: "Kacper Kowalik" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Kacper Kowalik" Message-ID: <1336309527.4c59e35f09e26db2c82f5e680d8981da38e7b83f.xarthisius@gentoo> Subject: [gentoo-commits] proj/sci:master commit in: dev-python/astropy/ X-VCS-Repository: proj/sci X-VCS-Files: dev-python/astropy/astropy-9999.ebuild dev-python/astropy/metadata.xml X-VCS-Directories: dev-python/astropy/ X-VCS-Committer: xarthisius X-VCS-Committer-Name: Kacper Kowalik X-VCS-Revision: 4c59e35f09e26db2c82f5e680d8981da38e7b83f X-VCS-Branch: master Date: Sun, 6 May 2012 13:05:46 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: bb59827f-aed8-44e4-8425-47bad4c1a0bc X-Archives-Hash: 9d8dc11e92f820cb2a639dc38e6ed71d commit: 4c59e35f09e26db2c82f5e680d8981da38e7b83f Author: Kacper Kowalik (Xarthisius) gentoo org= > AuthorDate: Sun May 6 13:05:27 2012 +0000 Commit: Kacper Kowalik gentoo org> CommitDate: Sun May 6 13:05:27 2012 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/sci.git;a=3Dc= ommit;h=3D4c59e35f [dev-python/astropy] initial import, ebuild written by me --- dev-python/astropy/astropy-9999.ebuild | 54 ++++++++++++++++++++++++++= ++++++ dev-python/astropy/metadata.xml | 9 +++++ 2 files changed, 63 insertions(+), 0 deletions(-) diff --git a/dev-python/astropy/astropy-9999.ebuild b/dev-python/astropy/= astropy-9999.ebuild new file mode 100644 index 0000000..ebf02ad --- /dev/null +++ b/dev-python/astropy/astropy-9999.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=3D4 + +EGIT_REPO_URI=3D"git://github.com/${PN}/${PN}.git" +SUPPORT_PYTHON_ABIS=3D"1" +RESTRICT_PYTHON_ABIS=3D"2.5 2.7-pypy-* *-jython" +DISTUTILS_SRC_TEST=3Dsetup.py + +inherit distutils git-2 + +DESCRIPTION=3D"Python routines and common tools needed for performing as= tronomy and astrophysics" +HOMEPAGE=3D"http://astropy.org/ http://github.com/astropy/astropy" +SRC_URI=3D"" + +LICENSE=3D"BSD" +SLOT=3D"0" +KEYWORDS=3D"~amd64 ~x86" +IUSE=3D"doc test" + +DEPEND=3D"dev-python/setuptools + sys-devel/flex + doc? (=20 + dev-python/sphinx=20 + media-gfx/graphviz + ) + test? ( dev-python/pytest )" +RDEPEND=3D"${DEPEND} + dev-python/numpy" + +PYTHON_CFLAGS=3D("2.* + -fno-strict-aliasing") + +src_prepare() { + sed -e '/use_system_pytest/ s/False/True/' \ + -i astropy/tests/helper.py || die + distutils_src_prepare +} + +src_compile() { + distutils_src_compile + if use doc ; then + pushd docs &> /dev/null + PYTHONPATH=3D"$(ls -d ../build-$(PYTHON --ABI -f)/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/* ; } +} diff --git a/dev-python/astropy/metadata.xml b/dev-python/astropy/metadat= a.xml new file mode 100644 index 0000000..6aed3c8 --- /dev/null +++ b/dev-python/astropy/metadata.xml @@ -0,0 +1,9 @@ + + + + sci-astronomy + + xarthisius@gentoo.org + Kacper Kowalik + +