commit:     7a2f48d23ac520a4402333148fbb35be4653db22
Author:     Joseph Jon Booker <joe <AT> neoturbine <DOT> net>
AuthorDate: Sat Oct 18 16:19:43 2014 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> 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 <j...@neoturbine.net> +ccdproc-0.2.ebuild,
-  +ccdproc-9999.ebuild, +metadata.xml:
-  dev-python/ccdproc: Add ccdproc package
+  18 Oct 2014; Joseph Jon Booker <j...@neoturbine.net> +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
+}

Reply via email to