From 39755963b273b3388739f8f21f0b763fc5a77a5e Mon Sep 17 00:00:00 2001 From: Sébastien Fabbro Date: Mon, 26 Jun 2017 19:36:28 +0000 Subject: dev-python/photutils: version bump Package-Manager: Portage-2.3.6, Repoman-2.3.2 --- dev-python/photutils/Manifest | 2 +- dev-python/photutils/photutils-0.3.2.ebuild | 57 +++++++++++++++++++++++++++++ dev-python/photutils/photutils-0.3.ebuild | 53 --------------------------- 3 files changed, 58 insertions(+), 54 deletions(-) create mode 100644 dev-python/photutils/photutils-0.3.2.ebuild delete mode 100644 dev-python/photutils/photutils-0.3.ebuild (limited to 'dev-python/photutils') diff --git a/dev-python/photutils/Manifest b/dev-python/photutils/Manifest index dd5bbb1b4430..75e5cfb727ff 100644 --- a/dev-python/photutils/Manifest +++ b/dev-python/photutils/Manifest @@ -1,2 +1,2 @@ DIST photutils-0.3.1.tar.gz 633814 SHA256 de1d102976f359079b00af62068f103d52a5d5b4931160c969a46a8eb9888209 SHA512 62f7b838e09cb76d0c3b400524340861d882455d305fc31bb062c5853018f0133a4364a5b5e5166101328ad931d474823dd59ab7e58fdcb68bd824dd2ed34959 WHIRLPOOL bcb851eca37d604ab40cbc27e434d2e6d92e6e3ffb8f941d21e270aae54644e6d1fc2d5c639d975df7e443c4a806dd69bc9a3eb5c4eff97acbdad94bf3517f4e -DIST photutils-0.3.tar.gz 620001 SHA256 7a746229c1d538b671806c48f561fb7d85fabf460b23b828a8af8a66e0097872 SHA512 3b5ddbc424d28d6760751a8e7a447822200d310143d5103cbc39ea1b82f55f78cee3732efdf7a0000bd8835bf6c421072941f22f7daa1e5b6766ff7bf93ae6aa WHIRLPOOL 409ae335793dc14204650cc06ca6e1ba439ebbb84e3f8f41be21168c24928ef732981021c835754f5605521d7fb6f36ce43b5f6687f52e8c42096ef5918b89e4 +DIST photutils-0.3.2.tar.gz 634159 SHA256 a02a0b205c058467f10d1605acfcef8b56695a81005ee2136c64914e55c1b42d SHA512 69c845cee9e16ab9daa26e87bbd209f9159fbba4cbcbae1eea9e84bf4ab75b7723964bde30ecec4004d00a80370ed599d867d8314675700485eb6190c7aa0300 WHIRLPOOL b04611e6a887a5e9d663affc69ad9e7d1058738911b4217ec6cafc4479948d4b7f828042f209b97e1fdcb91712488df09103a18f9a261b9457fdb51f668e3765 diff --git a/dev-python/photutils/photutils-0.3.2.ebuild b/dev-python/photutils/photutils-0.3.2.ebuild new file mode 100644 index 000000000000..ddecca604492 --- /dev/null +++ b/dev-python/photutils/photutils-0.3.2.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} ) + +inherit distutils-r1 virtualx + +DESCRIPTION="Python package for image astronomical photometry" +HOMEPAGE="https://photutils.readthedocs.org/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" + +LICENSE="BSD" +SLOT="0" +IUSE="doc test" +DOCS=( README.rst ) + +RDEPEND=" + dev-python/astropy[${PYTHON_USEDEP}] + dev-python/matplotlib[${PYTHON_USEDEP}] + dev-python/numpy[${PYTHON_USEDEP}] + sci-libs/scikits_image[${PYTHON_USEDEP}] + sci-libs/scipy[${PYTHON_USEDEP}] +" +DEPEND="${RDEPEND} + dev-python/astropy-helpers[${PYTHON_USEDEP}] + dev-python/setuptools[${PYTHON_USEDEP}] + doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) + test? ( dev-python/pytest[${PYTHON_USEDEP}] ) +" + +python_prepare_all() { + sed -i -e '/auto_use/s/True/False/' setup.cfg || die + export MPLCONFIGDIR="${T}" + echo "backend: Agg" > "${MPLCONFIGDIR}"/matplotlibrc + distutils-r1_python_prepare_all +} + +python_compile_all() { + if use doc; then + python_setup + VARTEXFONTS="${T}"/fonts \ + PYTHONPATH="${BUILD_DIR}"/lib \ + esetup.py build_sphinx --no-intersphinx + fi +} + +python_test() { + virtx esetup.py test +} + +python_install_all() { + use doc && local HTML_DOCS=( docs/_build/html/. ) + distutils-r1_python_install_all +} diff --git a/dev-python/photutils/photutils-0.3.ebuild b/dev-python/photutils/photutils-0.3.ebuild deleted file mode 100644 index 08eb4a7b99dc..000000000000 --- a/dev-python/photutils/photutils-0.3.ebuild +++ /dev/null @@ -1,53 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -PYTHON_COMPAT=( python{2_7,3_4,3_5} ) -inherit distutils-r1 virtualx - -DESCRIPTION="Python package for image astronomical photometry" -HOMEPAGE="https://photutils.readthedocs.org/" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" - -LICENSE="BSD" -SLOT="0" -IUSE="doc test" -DOCS=( README.rst ) - -RDEPEND=" - dev-python/astropy[${PYTHON_USEDEP}] - dev-python/matplotlib[${PYTHON_USEDEP}] - dev-python/numpy[${PYTHON_USEDEP}] - sci-libs/scikits_image[${PYTHON_USEDEP}] - sci-libs/scipy[${PYTHON_USEDEP}]" -DEPEND="${RDEPEND} - dev-python/astropy-helpers[${PYTHON_USEDEP}] - dev-python/setuptools[${PYTHON_USEDEP}] - doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) - test? ( dev-python/pytest[${PYTHON_USEDEP}] )" - -python_prepare_all() { - sed -i -e '/auto_use/s/True/False/' setup.cfg || die - distutils-r1_python_prepare_all -} - -python_compile_all() { - if use doc; then - python_setup - VARTEXFONTS="${T}"/fonts \ - MPLCONFIGDIR="${BUILD_DIR}" \ - PYTHONPATH="${BUILD_DIR}"/lib \ - esetup.py build_sphinx - fi -} - -python_test() { - virtx esetup.py test -} - -python_install_all() { - use doc && local HTML_DOCS=( docs/_build/html/. ) - distutils-r1_python_install_all -} -- cgit v1.2.3-65-gdbad