commit: 35bffa6cb468325018bd2a4e99d363eda9669f6e Author: Sébastien Fabbro <bicatali <AT> gentoo <DOT> org> AuthorDate: Wed Jun 28 17:54:14 2017 +0000 Commit: Sebastien Fabbro <bicatali <AT> gentoo <DOT> org> CommitDate: Wed Jun 28 18:20:40 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=35bffa6c
dev-python/regions: added python-3.6 Package-Manager: Portage-2.3.6, Repoman-2.3.2 dev-python/regions/Manifest | 1 - dev-python/regions/regions-0.1.ebuild | 57 ----------------------------------- dev-python/regions/regions-0.2.ebuild | 2 +- 3 files changed, 1 insertion(+), 59 deletions(-) diff --git a/dev-python/regions/Manifest b/dev-python/regions/Manifest index 82a3d8bad00..29f4f63cef8 100644 --- a/dev-python/regions/Manifest +++ b/dev-python/regions/Manifest @@ -1,2 +1 @@ -DIST regions-0.1.tar.gz 230345 SHA256 1a2d25abecb95b953b168d335d3b3dab30b9018937333a6d4d70c97650ccad2e SHA512 9d313c4fa871537881ba3c7185656460012adc8d7725b3070aeb81459eb6f1fc02f7279a7ff78ef3faeb61e95bce7dd409d5a5800848483f9eae1c5262e47593 WHIRLPOOL 678671681fdef5d9adc947981b304eb071d4313b2768259727288ba1f667306ba7bf22dce64fec6365eb5698035211192c041ab6c9c45b7691d8ad3b4011ff3c DIST regions-0.2.tar.gz 535230 SHA256 980b8091d935484dde5907ff1631f624c5c0b99f5c1790c6c7879bb1f4d51009 SHA512 1970e55a834057ca7d5ea9e29769e71f4287d184f2576cd03ed810df8381517145fb157f2585dadab483312e2d66dca295f7aea10ca5a65367c3a95726331b19 WHIRLPOOL 06a47176dff8dbbdd32e2b8cd77e2b78f7089e828d1b5184c1e5401f6f13d0c66b81109fe564df29b2ae2039736ee963dec35c21234b66b1848a0f4e3ae193b7 diff --git a/dev-python/regions/regions-0.1.ebuild b/dev-python/regions/regions-0.1.ebuild deleted file mode 100644 index 9e7eed333db..00000000000 --- a/dev-python/regions/regions-0.1.ebuild +++ /dev/null @@ -1,57 +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 xdg-utils - -DESCRIPTION="Astropy affiliated package for region handling" -HOMEPAGE="http://astropy-regions.readthedocs.org/" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -SLOT="0" -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" -LICENSE="BSD" - -IUSE="doc test" -RDEPEND="dev-python/astropy[${PYTHON_USEDEP}]" -DEPEND="${RDEPEND} - dev-python/setuptools[${PYTHON_USEDEP}] - dev-python/astropy-helpers[${PYTHON_USEDEP}] - doc? ( - dev-python/sphinx[${PYTHON_USEDEP}] - dev-python/sphinx_rtd_theme[${PYTHON_USEDEP}] - dev-python/wcsaxes[${PYTHON_USEDEP}] ) - test? ( - dev-python/pytest-mpl[${PYTHON_USEDEP}] - dev-python/wcsaxes[${PYTHON_USEDEP}] - sci-libs/scipy[${PYTHON_USEDEP}] )" - -python_prepare_all() { - # use astropy-helpers from system - sed -i -e '/auto_use/s/True/False/' setup.cfg || die - xdg_environment_reset - 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 --no-intersphinx - fi -} - -python_test() { - echo 'backend: Agg' > ${WORKDIR}/matplotlibrc || die - export MATPLOTLIBRC=${WORKDIR} - 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/regions/regions-0.2.ebuild b/dev-python/regions/regions-0.2.ebuild index 368eaa8f13a..fde1daf2ab6 100644 --- a/dev-python/regions/regions-0.2.ebuild +++ b/dev-python/regions/regions-0.2.ebuild @@ -3,7 +3,7 @@ EAPI=6 -PYTHON_COMPAT=( python{2_7,3_4,3_5} ) +PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} ) inherit distutils-r1 virtualx xdg-utils DESCRIPTION="Astropy affiliated package for region handling"