diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-python/wcsaxes | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-python/wcsaxes')
-rw-r--r-- | dev-python/wcsaxes/Manifest | 7 | ||||
-rw-r--r-- | dev-python/wcsaxes/files/wcsaxes-0.8-disable_mpltest.patch | 14 | ||||
-rw-r--r-- | dev-python/wcsaxes/metadata.xml | 14 | ||||
-rw-r--r-- | dev-python/wcsaxes/wcsaxes-0.8.ebuild | 56 | ||||
-rw-r--r-- | dev-python/wcsaxes/wcsaxes-0.9-r1.ebuild | 59 | ||||
-rw-r--r-- | dev-python/wcsaxes/wcsaxes-0.9.ebuild | 59 |
6 files changed, 209 insertions, 0 deletions
diff --git a/dev-python/wcsaxes/Manifest b/dev-python/wcsaxes/Manifest new file mode 100644 index 000000000000..a6a6f12c1449 --- /dev/null +++ b/dev-python/wcsaxes/Manifest @@ -0,0 +1,7 @@ +AUX wcsaxes-0.8-disable_mpltest.patch 366 BLAKE2B ff4f6d28225fbfbc5df0c7c62141577ea755b97aad810c48b41439d0a8c77480eca5447e70264dc038f5a833c30f0cbd9160b3304a9393b1acf58040347b88df SHA512 fa40ad937d212f63bd9c9856c6b19d819f790b5025480dfe2ddb461b2d67d0c6f0f32f8f8f4b53275ece2f43856225d9b3533081fb32828ec3961a1755fc35b9 +DIST wcsaxes-0.8.tar.gz 226456 BLAKE2B 1efa7dcfc7033735599c85548010a1b4d8e134c294c224e37aed58d3814a4b67e8a9de998c61fdacaade0ca4440bf9222e95021c498e0f0a08edc72ef266e63b SHA512 77a08a99b4b3fd4f08633a10d4a3dfd6726bc1433aca2c2bdb505fd93c79a5ba3735523697c11084f0044a22a5bda345a946f5770185815f92b71b59c7fc0769 +DIST wcsaxes-0.9.tar.gz 213306 BLAKE2B cf15c25b93938bc8c600a1e1f74fcbec17e7f4a428930b7617179c93b0e239f0c3f2c7750a73e1546d87acdab32c97775868db05d5ba57a6ba7cb62da7ac9a8d SHA512 ae5a69f6f7ab71d186a128d902ae2f6d2d1d8a8b3358af88da120815493d24ffdc5d7a07ee96efe5adc91f68822f070b3d667e52e7cee5ac501abe62a468e2c4 +EBUILD wcsaxes-0.8.ebuild 1369 BLAKE2B c356fb25dc454b118b91d85a788335c783ab0c805ca6d4084c452a74523727df5c4e6b2c062ca7929e041ac62e2ae6dfdc916473f9aa23da8a19af8eb16ade6e SHA512 24778db90866580198e3edbc77b07c46c7f66ee32ac77e6b005f7a9e4831538c6ca1395079465e439cb6345f5fbac1989491c9278ec6aa80c340447742778efe +EBUILD wcsaxes-0.9-r1.ebuild 1495 BLAKE2B a526da899f3b5e7aa48ca424301640d0dd550200fc3add852ca284ef1202ceceb298da1fd9709d2ae840f926aa4fd11bd7ae595b65c0934ade03488a6c18284f SHA512 e8ec4a6817d4f569956e9f3bbe3d099b495fd08c2df6929fb491a7d346c79a4791f86e5e343212fa5c68bc1c5d65222a41d7395e66557cbaac0f62bebc5507d4 +EBUILD wcsaxes-0.9.ebuild 1491 BLAKE2B 5942bb5f77e1e1d317409f149a852f64fb0d8d1a0df499fb74d8c97010dec4e8a8e1fe4756afcc18d1c0779f612be463968cccc6e821bf239dfa1009d19251d0 SHA512 6c0b57603ce96b54728322a01b0022bae4fd45489ee503388820fdb18aff62576baab99743a90ed219a0907471b5bd89c3e9a0d9a7968c89ff83b5b36a5f9366 +MISC metadata.xml 442 BLAKE2B 37a185bc318660ebf74b6fa15580a1935b1c305de8f1ba4fa19f47a0ce359012ac81ac4b00e683cc50a7b4098f3bd9961a6e1cf5e3af182b1c5c59ae13e6e180 SHA512 15756a6d3a6b4496eb16e989953302f3e61fc8547154b96b6dd63bb72cb0cdbf366ce9d4e3cc9efc1577c665ede63052a330e41d9421b3664112dcd5bd2a4859 diff --git a/dev-python/wcsaxes/files/wcsaxes-0.8-disable_mpltest.patch b/dev-python/wcsaxes/files/wcsaxes-0.8-disable_mpltest.patch new file mode 100644 index 000000000000..9426b3296c04 --- /dev/null +++ b/dev-python/wcsaxes/files/wcsaxes-0.8-disable_mpltest.patch @@ -0,0 +1,14 @@ +Author: Ole Streicher <olebole@debian.org> +Description: Remove the tests that require pytest-mpl + Pytest_mpl is (still) not available in Debian. + https://github.com/astrofrog/pytest-mpl +--- a/setup.cfg ++++ b/setup.cfg +@@ -11,7 +11,6 @@ + minversion = 2.2 + norecursedirs = build docs/_build + doctest_plus = enabled +-addopts = --mpl + + [ah_bootstrap] + auto_use = False diff --git a/dev-python/wcsaxes/metadata.xml b/dev-python/wcsaxes/metadata.xml new file mode 100644 index 000000000000..6f611d0ffb0e --- /dev/null +++ b/dev-python/wcsaxes/metadata.xml @@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>sci-astronomy@gentoo.org</email> + <name>Gentoo Astronomy Project</name> + </maintainer> + <longdescription lang="en"> + Framework for plotting astronomical and geospatial data + </longdescription> + <upstream> + <remote-id type="pypi">wcsaxes</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-python/wcsaxes/wcsaxes-0.8.ebuild b/dev-python/wcsaxes/wcsaxes-0.8.ebuild new file mode 100644 index 000000000000..670ffebcd975 --- /dev/null +++ b/dev-python/wcsaxes/wcsaxes-0.8.ebuild @@ -0,0 +1,56 @@ +# 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="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 + 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-r1.ebuild b/dev-python/wcsaxes/wcsaxes-0.9-r1.ebuild new file mode 100644 index 000000000000..b750b366b954 --- /dev/null +++ b/dev-python/wcsaxes/wcsaxes-0.9-r1.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2018 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 new file mode 100644 index 000000000000..8a811819eac3 --- /dev/null +++ b/dev-python/wcsaxes/wcsaxes-0.9.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} ) + +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 +} |