From 2b72e882705a31d22f1f480d32842f318fb89385 Mon Sep 17 00:00:00 2001 From: Michał Górny Date: Thu, 14 May 2020 12:37:37 +0200 Subject: sci-mathematics/pymc3: Remove unused dep on (re)commonmark MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit A quick grep suggests that (re)commonmark is used only for doc building. Signed-off-by: Michał Górny --- sci-mathematics/pymc3/pymc3-3.1-r1.ebuild | 58 ++++++++++++++++++++++++++++++ sci-mathematics/pymc3/pymc3-3.1.ebuild | 60 ------------------------------- 2 files changed, 58 insertions(+), 60 deletions(-) create mode 100644 sci-mathematics/pymc3/pymc3-3.1-r1.ebuild delete mode 100644 sci-mathematics/pymc3/pymc3-3.1.ebuild diff --git a/sci-mathematics/pymc3/pymc3-3.1-r1.ebuild b/sci-mathematics/pymc3/pymc3-3.1-r1.ebuild new file mode 100644 index 000000000000..b631808b810e --- /dev/null +++ b/sci-mathematics/pymc3/pymc3-3.1-r1.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python3_6 ) + +inherit distutils-r1 virtualx xdg-utils + +MYP=${P/_} +S="${WORKDIR}/${MYP}" + +DESCRIPTION="Bayesian Modeling and Probabilistic Machine Learning in Python" +HOMEPAGE="http://pymc-devs.github.io/pymc3/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${MYP}.tar.gz" + +SLOT=0 +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +LICENSE="AFL-3.0" + +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + >=dev-python/joblib-0.9[${PYTHON_USEDEP}] + >=dev-python/numpy-1.11[${PYTHON_USEDEP},lapack] + >=dev-python/matplotlib-1.5[${PYTHON_USEDEP}] + dev-python/nbsphinx[${PYTHON_USEDEP}] + dev-python/numpydoc[${PYTHON_USEDEP}] + >=dev-python/pandas-0.18[${PYTHON_USEDEP}] + >=dev-python/patsy-0.4[${PYTHON_USEDEP}] + dev-python/sphinx[${PYTHON_USEDEP}] + >=dev-python/theano-0.9[${PYTHON_USEDEP}] + >=dev-python/tqdm-4.8.4[${PYTHON_USEDEP}] + >=sci-libs/scipy-0.12[${PYTHON_USEDEP}] +" +DEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] + dev-python/cython[${PYTHON_USEDEP}] + test? ( + ${RDEPEND} + dev-python/nose[${PYTHON_USEDEP}] + dev-python/nose-parameterized[${PYTHON_USEDEP}] + ) +" + +DOCS=(CONTRIBUTING.md RELEASE-NOTES.md + CONDUCT.md GOVERNANCE.md README.rst) + +python_prepare_all() { + xdg_environment_reset + distutils-r1_python_prepare_all +} + +python_test() { + echo 'backend: agg' > matplotlibrc || die + virtx esetup.py test +} diff --git a/sci-mathematics/pymc3/pymc3-3.1.ebuild b/sci-mathematics/pymc3/pymc3-3.1.ebuild deleted file mode 100644 index 3c95b008123c..000000000000 --- a/sci-mathematics/pymc3/pymc3-3.1.ebuild +++ /dev/null @@ -1,60 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -PYTHON_COMPAT=( python3_6 ) - -inherit distutils-r1 virtualx xdg-utils - -MYP=${P/_} -S="${WORKDIR}/${MYP}" - -DESCRIPTION="Bayesian Modeling and Probabilistic Machine Learning in Python" -HOMEPAGE="http://pymc-devs.github.io/pymc3/" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${MYP}.tar.gz" - -SLOT=0 -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" -LICENSE="AFL-3.0" - -IUSE="test" -RESTRICT="!test? ( test )" - -RDEPEND=" - <=dev-python/commonmark-0.5.4[${PYTHON_USEDEP}] - >=dev-python/joblib-0.9[${PYTHON_USEDEP}] - >=dev-python/numpy-1.11[${PYTHON_USEDEP},lapack] - >=dev-python/matplotlib-1.5[${PYTHON_USEDEP}] - dev-python/nbsphinx[${PYTHON_USEDEP}] - dev-python/numpydoc[${PYTHON_USEDEP}] - >=dev-python/pandas-0.18[${PYTHON_USEDEP}] - >=dev-python/patsy-0.4[${PYTHON_USEDEP}] - >=dev-python/recommonmark-0.4[${PYTHON_USEDEP}] - dev-python/sphinx[${PYTHON_USEDEP}] - >=dev-python/theano-0.9[${PYTHON_USEDEP}] - >=dev-python/tqdm-4.8.4[${PYTHON_USEDEP}] - >=sci-libs/scipy-0.12[${PYTHON_USEDEP}] -" -DEPEND=" - dev-python/setuptools[${PYTHON_USEDEP}] - dev-python/cython[${PYTHON_USEDEP}] - test? ( - ${RDEPEND} - dev-python/nose[${PYTHON_USEDEP}] - dev-python/nose-parameterized[${PYTHON_USEDEP}] - ) -" - -DOCS=(CONTRIBUTING.md RELEASE-NOTES.md - CONDUCT.md GOVERNANCE.md README.rst) - -python_prepare_all() { - xdg_environment_reset - distutils-r1_python_prepare_all -} - -python_test() { - echo 'backend: agg' > matplotlibrc || die - virtx esetup.py test -} -- cgit v1.2.3-65-gdbad