diff options
Diffstat (limited to 'dev-python/pylatex/pylatex-1.4.1.ebuild')
-rw-r--r-- | dev-python/pylatex/pylatex-1.4.1.ebuild | 59 |
1 files changed, 0 insertions, 59 deletions
diff --git a/dev-python/pylatex/pylatex-1.4.1.ebuild b/dev-python/pylatex/pylatex-1.4.1.ebuild deleted file mode 100644 index 55e919e2046a..000000000000 --- a/dev-python/pylatex/pylatex-1.4.1.ebuild +++ /dev/null @@ -1,59 +0,0 @@ -# Copyright 2020-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -MY_PN="PyLaTeX" -MY_P="${MY_PN}-${PV}" - -PYTHON_COMPAT=( python3_{9..11} ) -DISTUTILS_USE_PEP517=setuptools - -inherit distutils-r1 optfeature - -DESCRIPTION="A Python library for creating LaTeX files and snippets" -HOMEPAGE="https://github.com/JelteF/PyLaTeX" -SRC_URI="https://github.com/JelteF/${MY_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" -S="${WORKDIR}/${MY_P}" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 x86" -IUSE="examples" - -RDEPEND=" - dev-python/ordered-set[${PYTHON_USEDEP}] -" - -distutils_enable_tests pytest - -BDEPEND+=" - test? ( - dev-python/quantities[${PYTHON_USEDEP}] - dev-python/matplotlib[${PYTHON_USEDEP}] - dev-python/numpy[${PYTHON_USEDEP}] - app-text/texlive - dev-texlive/texlive-latexextra - )" - -python_prepare_all() { - sed -i -e 's:description-file:description_file:' setup.cfg || die # bug 798381 - - distutils-r1_python_prepare_all -} - -python_install_all() { - if use examples ; then - dodoc -r examples - docompress -x /usr/share/doc/"${PF}"/examples - fi - - distutils-r1_python_install_all -} - -pkg_postinst() { - optfeature "compiling generated files" "app-text/texlive dev-texlive/texlive-latexextra dev-texlive/texlive-mathscience" - optfeature "matplotlib support" dev-python/matplotlib - optfeature "numpy support" dev-python/numpy - optfeature "quantities support" dev-python/quantities -} |