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 385F41387FF for ; Mon, 20 Oct 2014 18:01:19 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9AE4EE085D; Mon, 20 Oct 2014 18:01:18 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D2BABE084B for ; Mon, 20 Oct 2014 18:01:17 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id CC9C7340269 for ; Mon, 20 Oct 2014 18:01:16 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 6153A8545 for ; Mon, 20 Oct 2014 18:01:15 +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: <1413649183.7a2f48d23ac520a4402333148fbb35be4653db22.jlec@gentoo> Subject: [gentoo-commits] proj/sci:master commit in: dev-python/ccdproc/ X-VCS-Repository: proj/sci X-VCS-Files: dev-python/ccdproc/ChangeLog dev-python/ccdproc/ccdproc-0.2.1.ebuild X-VCS-Directories: dev-python/ccdproc/ X-VCS-Committer: jlec X-VCS-Committer-Name: Justin Lecher X-VCS-Revision: 7a2f48d23ac520a4402333148fbb35be4653db22 X-VCS-Branch: master Date: Mon, 20 Oct 2014 18:01:15 +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: 310e89bb-f3f3-4896-a189-0f657f99d94b X-Archives-Hash: 5c2bfb9f09d4cb47ed187713ef864847 commit: 7a2f48d23ac520a4402333148fbb35be4653db22 Author: Joseph Jon Booker neoturbine net> AuthorDate: Sat Oct 18 16:19:43 2014 +0000 Commit: Justin Lecher gentoo org> CommitDate: Sat Oct 18 16:19:43 2014 +0000 URL: http://sources.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=7a2f48d2 dev-python/ccdproc: Version bump to 0.2.1 Package-Manager: portage-2.2.14_rc1 --- dev-python/ccdproc/ChangeLog | 9 +++-- dev-python/ccdproc/ccdproc-0.2.1.ebuild | 59 +++++++++++++++++++++++++++++++++ 2 files changed, 63 insertions(+), 5 deletions(-) diff --git a/dev-python/ccdproc/ChangeLog b/dev-python/ccdproc/ChangeLog index ffd4297..bb3af4d 100644 --- a/dev-python/ccdproc/ChangeLog +++ b/dev-python/ccdproc/ChangeLog @@ -2,9 +2,8 @@ # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ -*ccdproc-0.2 (08 Aug 2014) -*ccdproc-9999 (08 Aug 2014) +*ccdproc-0.2.1 (18 Oct 2014) - 08 Aug 2014; Joseph Jon Booker +ccdproc-0.2.ebuild, - +ccdproc-9999.ebuild, +metadata.xml: - dev-python/ccdproc: Add ccdproc package + 18 Oct 2014; Joseph Jon Booker +ccdproc-0.2.1.ebuild, + -ChangeLog: + dev-python/ccdproc: Version bump to 0.2.1 diff --git a/dev-python/ccdproc/ccdproc-0.2.1.ebuild b/dev-python/ccdproc/ccdproc-0.2.1.ebuild new file mode 100644 index 0000000..1fd337a --- /dev/null +++ b/dev-python/ccdproc/ccdproc-0.2.1.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=5 + +PYTHON_COMPAT=( python{2_7,3_2,3_3,3_4} ) +inherit distutils-r1 + +if [ ${PV} == "9999" ] ; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/astropy/${PN}.git" +else + SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + KEYWORDS="~amd64" +fi + +DESCRIPTION="Astropy affiliated package for reducing optical/IR CCD data" +HOMEPAGE="https://github.com/astropy/ccdproc" + +LICENSE="BSD" +SLOT="0" +IUSE="doc" +DOCS=( README.rst ) + +RDEPEND=" + >=dev-python/astropy-0.4[${PYTHON_USEDEP}] + dev-python/astropy-helpers[${PYTHON_USEDEP}] + dev-python/numpy[${PYTHON_USEDEP}] + sci-libs/scipy[${PYTHON_USEDEP}]" + +DEPEND="${RDEPEND}" + +python_prepare_all() { + distutils-r1_python_prepare_all + sed -e '/import ah_bootstrap/d' -i setup.py || die "Removing ah_bootstrap failed" +} + +python_compile_all() { + if use doc; then + python_export_best + VARTEXFONTS="${T}"/fonts \ + MPLCONFIGDIR="${BUILD_DIR}" \ + PYTHONPATH="${BUILD_DIR}"/lib \ + esetup.py build_sphinx + fi +} + +python_test() { + distutils_install_for_testing + cd "${TEST_DIR}" || die + "${EPYTHON}" -c "import ${PN}, sys;r = ${PN}.test(verbose=True);sys.exit(r)" \ + || die "tests fail with ${EPYTHON}" +} + +python_install_all() { + use doc && local HTML_DOCS=( docs/_build/html/. ) + distutils-r1_python_install_all +}