From d42200bec37eef2a7478d88988ff00addd0a9202 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 25 Jan 2020 11:50:47 +0000 Subject: gentoo resync : 25.01.2020 --- dev-python/pweave/pweave-0.30.3.ebuild | 57 ++++++++++++++++++++++++++++++++++ 1 file changed, 57 insertions(+) create mode 100644 dev-python/pweave/pweave-0.30.3.ebuild (limited to 'dev-python/pweave/pweave-0.30.3.ebuild') diff --git a/dev-python/pweave/pweave-0.30.3.ebuild b/dev-python/pweave/pweave-0.30.3.ebuild new file mode 100644 index 000000000000..3cc22bcf1260 --- /dev/null +++ b/dev-python/pweave/pweave-0.30.3.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6,7} ) + +DISTUTILS_USE_SETUPTOOLS=rdepend + +inherit distutils-r1 + +MY_PN="Pweave" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="Scientific report generator and literate programming tool" +HOMEPAGE="http://mpastell.com/pweave + https://github.com/mpastell/Pweave" +SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz -> ${P}.tar.gz" + +IUSE="examples" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +PATCHES=( + "${FILESDIR}/${P}-docs.patch" + "${FILESDIR}/${P}-rm-online-tests.patch" ) + +RDEPEND="dev-python/ipython[${PYTHON_USEDEP}] + dev-python/ipykernel[${PYTHON_USEDEP}] + dev-python/jupyter_client[${PYTHON_USEDEP}] + dev-python/markdown[${PYTHON_USEDEP}] + dev-python/nbconvert[${PYTHON_USEDEP}] + dev-python/nbformat[${PYTHON_USEDEP}] + dev-python/pygments[${PYTHON_USEDEP}]" + +DEPEND="test? ( + dev-python/coverage[${PYTHON_USEDEP}] + dev-python/matplotlib[${PYTHON_USEDEP}] + dev-python/nose[${PYTHON_USEDEP}] + dev-python/notebook[${PYTHON_USEDEP}] + sci-libs/scipy[${PYTHON_USEDEP}] )" + +S="${WORKDIR}/${MY_P}" + +distutils_enable_sphinx doc/source dev-python/sphinx_rtd_theme +distutils_enable_tests pytest + +python_install_all() { + if use examples; then + insinto /usr/share/${PN} + doins -r doc/examples + fi + + distutils-r1_python_install_all +} -- cgit v1.2.3