[gentoo-commits] repo/gentoo:master commit in: dev-python/naima/
commit: 55db7ac7c7733b90a6ad94412a174b7ab09ddbbe Author: Mikle Kolyada gentoo org> AuthorDate: Sat Dec 28 16:52:05 2019 + Commit: Mikle Kolyada gentoo org> CommitDate: Sat Dec 28 16:52:05 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=55db7ac7 dev-python/naima: remove last-rited pkg Signed-off-by: Mikle Kolyada gentoo.org> dev-python/naima/Manifest| 1 - dev-python/naima/metadata.xml| 19 --- dev-python/naima/naima-0.8-r1.ebuild | 63 3 files changed, 83 deletions(-) diff --git a/dev-python/naima/Manifest b/dev-python/naima/Manifest deleted file mode 100644 index ace1204b7ba..000 --- a/dev-python/naima/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST naima-0.8.tar.gz 5485631 BLAKE2B b51139b1fcb31c23edbe28f2760b5d270c0989ac70d096e0f42e90a422d8e297dac06f0fae341be1e7950ae9b25ea6eae19e297eb9c17b70235107bd8dddfa3d SHA512 38ac487ffaf3169f6e351ac1abb22244a90a872661627bd784ff0b37068e6155cc504756440db55b481e249fa8df97530e6074ff382d98e8d142aa5fa607f99d diff --git a/dev-python/naima/metadata.xml b/dev-python/naima/metadata.xml deleted file mode 100644 index a8f7917f0e1..000 --- a/dev-python/naima/metadata.xml +++ /dev/null @@ -1,19 +0,0 @@ - -http://www.gentoo.org/dtd/metadata.dtd;> - - -sci-astron...@gentoo.org -Gentoo Astronomy Project - - -naima is a Python package for computation of non-thermal radiation -from relativistic particle populations. It includes tools to -perform MCMC fitting of radiative models to X-ray, GeV, and TeV -spectra using emcee, an affine-invariant ensemble sampler for -Markov Chain Monte Carlo. - - -zblz/naima -naima - - diff --git a/dev-python/naima/naima-0.8-r1.ebuild b/dev-python/naima/naima-0.8-r1.ebuild deleted file mode 100644 index a65e6cf1dfb..000 --- a/dev-python/naima/naima-0.8-r1.ebuild +++ /dev/null @@ -1,63 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -PYTHON_COMPAT=( python3_{5,6} ) - -inherit distutils-r1 eutils xdg-utils - -DESCRIPTION="Python package for gamma-ray astronomy" -HOMEPAGE="http://naima.readthedocs.io/; -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" -RESTRICT="!test? ( test )" -DOCS=( README.rst ) - -RDEPEND=" - dev-python/astropy[${PYTHON_USEDEP}] - dev-python/corner[${PYTHON_USEDEP}] - dev-python/emcee[${PYTHON_USEDEP}] - dev-python/h5py[${PYTHON_USEDEP}] - dev-python/numpy[${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}] )" - -DOCS=( README.rst CHANGES.rst ) - -python_prepare_all() { - sed -e '/auto_use/s/True/False/' -i setup.cfg || die - xdg_environment_reset - # issues during install time (bug #604012) - addpredict /proc/mtrr - addpredict /sys/devices/system/cpu/ - 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() { - esetup.py test -} - -python_install_all() { - use doc && local HTML_DOCS=( docs/_build/html/. ) - distutils-r1_python_install_all -}
[gentoo-commits] repo/gentoo:master commit in: dev-python/naima/
commit: 113b53dcc0d47ce2880ead3fbb1813c07da39e0c Author: Sébastien Fabbro gentoo org> AuthorDate: Wed Jun 28 17:57:58 2017 + Commit: Sebastien Fabbro gentoo org> CommitDate: Wed Jun 28 18:20:41 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=113b53dc dev-python/naima: added python-3.6 Package-Manager: Portage-2.3.6, Repoman-2.3.2 dev-python/naima/Manifest| 1 - dev-python/naima/naima-0.7.1.ebuild | 56 dev-python/naima/naima-0.8-r1.ebuild | 4 +-- 3 files changed, 2 insertions(+), 59 deletions(-) diff --git a/dev-python/naima/Manifest b/dev-python/naima/Manifest index 80bc19ec6e7..8d35799aeeb 100644 --- a/dev-python/naima/Manifest +++ b/dev-python/naima/Manifest @@ -1,2 +1 @@ -DIST naima-0.7.1.tar.gz 4876886 SHA256 686b0c9ded61099bc0021a9ccd252004c7f56beca2ef32220e54ef8ca007f89a SHA512 c157be2bb3dfd9ebdedf757a401343f2ca7a338f210686e49119accd75a12fe5172dfa0859ed326d910e1dbb27a09f3f5f40ee8a87d4938a1267024d4f72caa7 WHIRLPOOL ce0dade3afb95a6f004de480f5713d6888d2eea817a0b09b1e9759a56fba8ef52b7c729c0a156f95aa866bc41b6bd004ad451fa5a748158ddfbf5c0bc2130bdd DIST naima-0.8.tar.gz 5485631 SHA256 9e2e4e8b4d1a64a213fd52fb681440f7c7b23e994bbde76f3c5b8926b46160af SHA512 38ac487ffaf3169f6e351ac1abb22244a90a872661627bd784ff0b37068e6155cc504756440db55b481e249fa8df97530e6074ff382d98e8d142aa5fa607f99d WHIRLPOOL d03bc8f98fd456ef609f344d584cf0b86d98701089310bf7554665595beda523597f56d9212f853780b660570605ad97801c99a97c60a616163eb854fe25f991 diff --git a/dev-python/naima/naima-0.7.1.ebuild b/dev-python/naima/naima-0.7.1.ebuild deleted file mode 100644 index ee1eb8b8446..000 --- a/dev-python/naima/naima-0.7.1.ebuild +++ /dev/null @@ -1,56 +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 eutils xdg-utils - -DESCRIPTION="Python package for gamma-ray astronomy" -HOMEPAGE="http://naima.readthedocs.io/; -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/emcee[${PYTHON_USEDEP}] - >=dev-python/numpy-1.10[${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}] )" - -DOCS=( README.rst CHANGES.rst ) - -python_prepare_all() { - sed -e '/auto_use/s/True/False/' -i 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() { - esetup.py test -} - -python_install_all() { - use doc && local HTML_DOCS=( docs/_build/html/. ) - distutils-r1_python_install_all -} diff --git a/dev-python/naima/naima-0.8-r1.ebuild b/dev-python/naima/naima-0.8-r1.ebuild index 9a4f22ab1e4..255a8055631 100644 --- a/dev-python/naima/naima-0.8-r1.ebuild +++ b/dev-python/naima/naima-0.8-r1.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2016 Gentoo Foundation +# 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} ) +PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} ) inherit distutils-r1 eutils xdg-utils
[gentoo-commits] repo/gentoo:master commit in: dev-python/naima/
commit: 1716512bc179c748c3bbc75b9fec4e1aceee2f6c Author: Sébastien Fabbro gentoo org> AuthorDate: Thu Dec 29 18:05:40 2016 + Commit: Sebastien Fabbro gentoo org> CommitDate: Thu Dec 29 19:56:01 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1716512b dev-python/naima: add addpredict workaround during install Bug hard to reproduce. Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=604012 Package-Manager: Portage-2.3.3, Repoman-2.3.1 dev-python/naima/metadata.xml | 1 + dev-python/naima/{naima-0.8.ebuild => naima-0.8-r1.ebuild} | 12 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/dev-python/naima/metadata.xml b/dev-python/naima/metadata.xml index 4744569..a8f7917 100644 --- a/dev-python/naima/metadata.xml +++ b/dev-python/naima/metadata.xml @@ -13,6 +13,7 @@ Markov Chain Monte Carlo. +zblz/naima naima diff --git a/dev-python/naima/naima-0.8.ebuild b/dev-python/naima/naima-0.8-r1.ebuild similarity index 80% rename from dev-python/naima/naima-0.8.ebuild rename to dev-python/naima/naima-0.8-r1.ebuild index 6052c8e..749dafc 100644 --- a/dev-python/naima/naima-0.8.ebuild +++ b/dev-python/naima/naima-0.8-r1.ebuild @@ -20,22 +20,26 @@ DOCS=( README.rst ) RDEPEND=" dev-python/astropy[${PYTHON_USEDEP}] + dev-python/corner[${PYTHON_USEDEP}] dev-python/emcee[${PYTHON_USEDEP}] - >=dev-python/numpy-1.10[${PYTHON_USEDEP}]" + dev-python/h5py[${PYTHON_USEDEP}] + dev-python/numpy[${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/h5py[${PYTHON_USEDEP}] - dev-python/pytest[${PYTHON_USEDEP}] )" + test? ( dev-python/pytest[${PYTHON_USEDEP}] )" DOCS=( README.rst CHANGES.rst ) python_prepare_all() { sed -e '/auto_use/s/True/False/' -i setup.cfg || die xdg_environment_reset + # issues during install time (bug #604012) + addpredict /proc/mtrr + addpredict /sys/devices/system/cpu/ distutils-r1_python_prepare_all }
[gentoo-commits] repo/gentoo:master commit in: dev-python/naima/
commit: 41e63563648e3b66212a57eb6c76077979dbe47d Author: Sébastien Fabbro gentoo org> AuthorDate: Thu Dec 29 01:05:06 2016 + Commit: Sebastien Fabbro gentoo org> CommitDate: Thu Dec 29 07:01:26 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=41e63563 dev-python/naima: version bump Package-Manager: Portage-2.3.3, Repoman-2.3.1 dev-python/naima/Manifest | 1 + dev-python/naima/naima-0.8.ebuild | 59 +++ 2 files changed, 60 insertions(+) diff --git a/dev-python/naima/Manifest b/dev-python/naima/Manifest index e79926f..80bc19e 100644 --- a/dev-python/naima/Manifest +++ b/dev-python/naima/Manifest @@ -1 +1,2 @@ DIST naima-0.7.1.tar.gz 4876886 SHA256 686b0c9ded61099bc0021a9ccd252004c7f56beca2ef32220e54ef8ca007f89a SHA512 c157be2bb3dfd9ebdedf757a401343f2ca7a338f210686e49119accd75a12fe5172dfa0859ed326d910e1dbb27a09f3f5f40ee8a87d4938a1267024d4f72caa7 WHIRLPOOL ce0dade3afb95a6f004de480f5713d6888d2eea817a0b09b1e9759a56fba8ef52b7c729c0a156f95aa866bc41b6bd004ad451fa5a748158ddfbf5c0bc2130bdd +DIST naima-0.8.tar.gz 5485631 SHA256 9e2e4e8b4d1a64a213fd52fb681440f7c7b23e994bbde76f3c5b8926b46160af SHA512 38ac487ffaf3169f6e351ac1abb22244a90a872661627bd784ff0b37068e6155cc504756440db55b481e249fa8df97530e6074ff382d98e8d142aa5fa607f99d WHIRLPOOL d03bc8f98fd456ef609f344d584cf0b86d98701089310bf7554665595beda523597f56d9212f853780b660570605ad97801c99a97c60a616163eb854fe25f991 diff --git a/dev-python/naima/naima-0.8.ebuild b/dev-python/naima/naima-0.8.ebuild new file mode 100644 index ..6052c8e --- /dev/null +++ b/dev-python/naima/naima-0.8.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +PYTHON_COMPAT=( python{2_7,3_4,3_5} ) + +inherit distutils-r1 eutils xdg-utils + +DESCRIPTION="Python package for gamma-ray astronomy" +HOMEPAGE="http://naima.readthedocs.io/; +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/emcee[${PYTHON_USEDEP}] + >=dev-python/numpy-1.10[${PYTHON_USEDEP}]" + +DEPEND="${RDEPEND} + dev-python/astropy-helpers[${PYTHON_USEDEP}] + dev-python/setuptools[${PYTHON_USEDEP}] + doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) + test? ( + dev-python/h5py[${PYTHON_USEDEP}] + dev-python/pytest[${PYTHON_USEDEP}] )" + +DOCS=( README.rst CHANGES.rst ) + +python_prepare_all() { + sed -e '/auto_use/s/True/False/' -i 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() { + esetup.py test +} + +python_install_all() { + use doc && local HTML_DOCS=( docs/_build/html/. ) + distutils-r1_python_install_all +}
[gentoo-commits] repo/gentoo:master commit in: dev-python/naima/
commit: 8ffcf6e12b968b948f9107e8ed0781e33f25776c Author: Sébastien Fabbro gentoo org> AuthorDate: Thu Sep 1 16:01:11 2016 + Commit: Sebastien Fabbro gentoo org> CommitDate: Thu Sep 1 17:00:09 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8ffcf6e1 dev-python/naima: fix xdg sandbox violation (bug #586620) Package-Manager: portage-2.3.0 dev-python/naima/naima-0.7.1.ebuild | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dev-python/naima/naima-0.7.1.ebuild b/dev-python/naima/naima-0.7.1.ebuild index b0887c9..bb686cf 100644 --- a/dev-python/naima/naima-0.7.1.ebuild +++ b/dev-python/naima/naima-0.7.1.ebuild @@ -6,7 +6,7 @@ EAPI=6 PYTHON_COMPAT=( python{2_7,3_4,3_5} ) -inherit distutils-r1 eutils +inherit distutils-r1 eutils xdg-utils DESCRIPTION="Python package for gamma-ray astronomy" HOMEPAGE="http://naima.readthedocs.io/; @@ -33,6 +33,7 @@ DOCS=( README.rst CHANGES.rst ) python_prepare_all() { sed -e '/auto_use/s/True/False/' -i setup.cfg || die + xdg_environment_reset distutils-r1_python_prepare_all }
[gentoo-commits] repo/gentoo:master commit in: dev-python/naima/
commit: 8a4c919f8039d337b602a705d5b590ab3b844d20 Author: Sébastien Fabbro gentoo org> AuthorDate: Thu Jun 9 16:51:58 2016 + Commit: Sebastien Fabbro gentoo org> CommitDate: Thu Jun 9 17:23:50 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8a4c919f dev-python/naima: fix homepage Package-Manager: portage-2.3.0_rc1 dev-python/naima/naima-0.7.1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/naima/naima-0.7.1.ebuild b/dev-python/naima/naima-0.7.1.ebuild index accceac..b0887c9 100644 --- a/dev-python/naima/naima-0.7.1.ebuild +++ b/dev-python/naima/naima-0.7.1.ebuild @@ -9,7 +9,7 @@ PYTHON_COMPAT=( python{2_7,3_4,3_5} ) inherit distutils-r1 eutils DESCRIPTION="Python package for gamma-ray astronomy" -HOMEPAGE="https://gammapy.readthedocs.org/; +HOMEPAGE="http://naima.readthedocs.io/; SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
[gentoo-commits] repo/gentoo:master commit in: dev-python/naima/
commit: 6742b0a334a7f354c390e7e454cfb81c1a8160e2 Author: Sébastien Fabbro gentoo org> AuthorDate: Tue Mar 22 17:23:33 2016 + Commit: Sebastien Fabbro gentoo org> CommitDate: Tue Mar 22 17:48:56 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6742b0a3 dev-python/naima: numpy depedency increasede to 1.10 Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=577990 Package-Manager: portage-2.2.28 dev-python/naima/naima-0.7.1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/naima/naima-0.7.1.ebuild b/dev-python/naima/naima-0.7.1.ebuild index f0dbe3b..accceac 100644 --- a/dev-python/naima/naima-0.7.1.ebuild +++ b/dev-python/naima/naima-0.7.1.ebuild @@ -21,7 +21,7 @@ DOCS=( README.rst ) RDEPEND=" dev-python/astropy[${PYTHON_USEDEP}] dev-python/emcee[${PYTHON_USEDEP}] - dev-python/numpy[${PYTHON_USEDEP}]" + >=dev-python/numpy-1.10[${PYTHON_USEDEP}]" DEPEND="${RDEPEND} dev-python/astropy-helpers[${PYTHON_USEDEP}]
[gentoo-commits] repo/gentoo:master commit in: dev-python/naima/
commit: eb9adef7aafc4697dd493585bade15e7b49d4ece Author: Sébastien Fabbro gentoo org> AuthorDate: Mon Mar 21 18:27:23 2016 + Commit: Sebastien Fabbro gentoo org> CommitDate: Tue Mar 22 00:02:46 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eb9adef7 dev-python/naima: initial import Package-Manager: portage-2.2.28 dev-python/naima/Manifest | 1 + dev-python/naima/metadata.xml | 18 dev-python/naima/naima-0.7.1.ebuild | 56 + 3 files changed, 75 insertions(+) diff --git a/dev-python/naima/Manifest b/dev-python/naima/Manifest new file mode 100644 index 000..e79926f --- /dev/null +++ b/dev-python/naima/Manifest @@ -0,0 +1 @@ +DIST naima-0.7.1.tar.gz 4876886 SHA256 686b0c9ded61099bc0021a9ccd252004c7f56beca2ef32220e54ef8ca007f89a SHA512 c157be2bb3dfd9ebdedf757a401343f2ca7a338f210686e49119accd75a12fe5172dfa0859ed326d910e1dbb27a09f3f5f40ee8a87d4938a1267024d4f72caa7 WHIRLPOOL ce0dade3afb95a6f004de480f5713d6888d2eea817a0b09b1e9759a56fba8ef52b7c729c0a156f95aa866bc41b6bd004ad451fa5a748158ddfbf5c0bc2130bdd diff --git a/dev-python/naima/metadata.xml b/dev-python/naima/metadata.xml new file mode 100644 index 000..4744569 --- /dev/null +++ b/dev-python/naima/metadata.xml @@ -0,0 +1,18 @@ + +http://www.gentoo.org/dtd/metadata.dtd;> + + +sci-astron...@gentoo.org +Gentoo Astronomy Project + + +naima is a Python package for computation of non-thermal radiation +from relativistic particle populations. It includes tools to +perform MCMC fitting of radiative models to X-ray, GeV, and TeV +spectra using emcee, an affine-invariant ensemble sampler for +Markov Chain Monte Carlo. + + +naima + + diff --git a/dev-python/naima/naima-0.7.1.ebuild b/dev-python/naima/naima-0.7.1.ebuild new file mode 100644 index 000..f0dbe3b --- /dev/null +++ b/dev-python/naima/naima-0.7.1.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +PYTHON_COMPAT=( python{2_7,3_4,3_5} ) + +inherit distutils-r1 eutils + +DESCRIPTION="Python package for gamma-ray astronomy" +HOMEPAGE="https://gammapy.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/emcee[${PYTHON_USEDEP}] + dev-python/numpy[${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}] )" + +DOCS=( README.rst CHANGES.rst ) + +python_prepare_all() { + sed -e '/auto_use/s/True/False/' -i 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() { + esetup.py test +} + +python_install_all() { + use doc && local HTML_DOCS=( docs/_build/html/. ) + distutils-r1_python_install_all +}