From 407525b571b48cfd65e1ad7a02d250a927c967c9 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 1 Dec 2017 03:04:39 +0000 Subject: gentoo resync : 01.12.2017 --- dev-python/wcsaxes/Manifest | 3 +- dev-python/wcsaxes/wcsaxes-0.9-r1.ebuild | 59 ++++++++++++++++++++++++++++++++ dev-python/wcsaxes/wcsaxes-0.9.ebuild | 2 +- 3 files changed, 62 insertions(+), 2 deletions(-) create mode 100644 dev-python/wcsaxes/wcsaxes-0.9-r1.ebuild (limited to 'dev-python/wcsaxes') diff --git a/dev-python/wcsaxes/Manifest b/dev-python/wcsaxes/Manifest index 8b84e9c578c1..f5a4c0e71067 100644 --- a/dev-python/wcsaxes/Manifest +++ b/dev-python/wcsaxes/Manifest @@ -2,5 +2,6 @@ AUX wcsaxes-0.8-disable_mpltest.patch 366 BLAKE2B ff4f6d28225fbfbc5df0c7c6214157 DIST wcsaxes-0.8.tar.gz 226456 SHA256 3ada54586add52e70ceb5aff9257ae9c38a71d1889fe335bce3d219c5a03c672 SHA512 77a08a99b4b3fd4f08633a10d4a3dfd6726bc1433aca2c2bdb505fd93c79a5ba3735523697c11084f0044a22a5bda345a946f5770185815f92b71b59c7fc0769 WHIRLPOOL 3acbba0c1c93f4d2ceeea3d4f236f7294e3eb306b7f3f8be7244aa5b7f35452cc21c072a5f054a7608238262f6cc0dde19b40f02cd9705182430fa0a6e9b0470 DIST wcsaxes-0.9.tar.gz 213306 SHA256 fd1897f611c48edee00b05bdd7bb238372843b9a8b8f7592cb0d5a7ed4d15b53 SHA512 ae5a69f6f7ab71d186a128d902ae2f6d2d1d8a8b3358af88da120815493d24ffdc5d7a07ee96efe5adc91f68822f070b3d667e52e7cee5ac501abe62a468e2c4 WHIRLPOOL 1232bc214082c1e7ed0bb362758e84b2f3601551b3f120cc6451f1e7b4e211d959d515f089c7b50fd505ff7e3c037bbe9138c117576ec69151f0dc7de5e69e1a EBUILD wcsaxes-0.8.ebuild 1369 BLAKE2B c356fb25dc454b118b91d85a788335c783ab0c805ca6d4084c452a74523727df5c4e6b2c062ca7929e041ac62e2ae6dfdc916473f9aa23da8a19af8eb16ade6e SHA512 24778db90866580198e3edbc77b07c46c7f66ee32ac77e6b005f7a9e4831538c6ca1395079465e439cb6345f5fbac1989491c9278ec6aa80c340447742778efe -EBUILD wcsaxes-0.9.ebuild 1495 BLAKE2B 27d969595a4e4af6f81e84c19572d97076a2fc1380395cd8aad4a0259c005d41f852d1de998a645f33f06be1b762fe336b6ff3ee7140757e34792a770cc35aec SHA512 619dcdb539f744d75a32f29306446a8f1a81acf03b6adc0a9734c9faa69059747544bab6823b73d8bab9f26e75843ab4395dfdb2314018faf7e8fa92a3be9289 +EBUILD wcsaxes-0.9-r1.ebuild 1496 BLAKE2B c311ca021fab17c812ce1019559d8264cc5342d03a62e7ae9a196f5da0db1d038a6e85f11863a2edd094a21e0f86edc6c8e360f32f517f76dea535a037786243 SHA512 a7b11fb8c9126097effa7e81499b2c5ae80379b519331beddcb5d4a60a9bb710e75f30d4ef6a2600b0928cf9c818d13238293b41cf552d56c0ce43bcf2e4c07c +EBUILD wcsaxes-0.9.ebuild 1491 BLAKE2B 5942bb5f77e1e1d317409f149a852f64fb0d8d1a0df499fb74d8c97010dec4e8a8e1fe4756afcc18d1c0779f612be463968cccc6e821bf239dfa1009d19251d0 SHA512 6c0b57603ce96b54728322a01b0022bae4fd45489ee503388820fdb18aff62576baab99743a90ed219a0907471b5bd89c3e9a0d9a7968c89ff83b5b36a5f9366 MISC metadata.xml 442 BLAKE2B 37a185bc318660ebf74b6fa15580a1935b1c305de8f1ba4fa19f47a0ce359012ac81ac4b00e683cc50a7b4098f3bd9961a6e1cf5e3af182b1c5c59ae13e6e180 SHA512 15756a6d3a6b4496eb16e989953302f3e61fc8547154b96b6dd63bb72cb0cdbf366ce9d4e3cc9efc1577c665ede63052a330e41d9421b3664112dcd5bd2a4859 diff --git a/dev-python/wcsaxes/wcsaxes-0.9-r1.ebuild b/dev-python/wcsaxes/wcsaxes-0.9-r1.ebuild new file mode 100644 index 000000000000..73dbb6fafe0b --- /dev/null +++ b/dev-python/wcsaxes/wcsaxes-0.9-r1.ebuild @@ -0,0 +1,59 @@ +# 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 xdg-utils + +DESCRIPTION="Framework for plotting astronomical and geospatial data" +HOMEPAGE="http://wcsaxes.readthedocs.org" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~x86-fbsd ~amd64-linux ~x86-linux" +IUSE="doc test" + +RDEPEND=" + dev-python/astropy[${PYTHON_USEDEP}] + dev-python/matplotlib[${PYTHON_USEDEP}]" +DEPEND="${RDEPEND} + dev-python/astropy-helpers[${PYTHON_USEDEP}] + dev-python/setuptools[${PYTHON_USEDEP}] + doc? ( + dev-python/sphinx[${PYTHON_USEDEP}] + dev-python/sphinx_rtd_theme[${PYTHON_USEDEP}] ) + test? ( dev-python/pytest[${PYTHON_USEDEP}] )" + +PATCHES=( + "${FILESDIR}/${PN}-0.8-disable_mpltest.patch" +) + +python_prepare_all() { + # use system astropy-helpers instead of bundled one + sed -i -e '/auto_use/s/True/False/' setup.cfg || die + echo "backend: Agg" > "${WORKDIR}"/matplotlibrc || die + export MATPLOTLIBRC="${WORKDIR}" + 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() { + 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/wcsaxes/wcsaxes-0.9.ebuild b/dev-python/wcsaxes/wcsaxes-0.9.ebuild index 898e26934a0d..8a811819eac3 100644 --- a/dev-python/wcsaxes/wcsaxes-0.9.ebuild +++ b/dev-python/wcsaxes/wcsaxes-0.9.ebuild @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 EAPI=6 -PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} ) +PYTHON_COMPAT=( python{2_7,3_4,3_5} ) inherit distutils-r1 virtualx xdg-utils -- cgit v1.2.3