mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-12 08:33:15 -04:00
dev-python/pylatex: version bump
Package-Manager: Portage-2.3.100, Repoman-2.3.22 Signed-off-by: Andrew Ammerlaan <andrewammerlaan@riseup.net>
This commit is contained in:
@@ -1 +1 @@
|
||||
DIST PyLaTeX.tar.gz 300388 BLAKE2B fd3744afa43240e093de683ea14181da879b80e366357cc0d46bc49d6e3d23e47e2a0dd81e840a6df5a049055fac7049d3977e7c731e74f85749eff795345733 SHA512 b44ccecb81984613efe5c96f8f0e722fa7b1f4473b8f283196001cd38e062e2b78a4adb8e80c5fdd69558406bec482738520bb998f838d92c0af2b328eb74d07
|
||||
DIST pylatex-1.3.2.tar.gz 300576 BLAKE2B c096c3e182bdc13fc07c1c2b4bf6ce2e52c04fdd91da0c628d88b5fc1655c4236f468fb261b43882a41f38a389ebcc5c5f6248798df6a04e78b0cb9d4c12d2c4 SHA512 c2b7477e3f93f122865f8b68a4312d60b3548601040e51f6a80653bb5b2de8e516bb1f2d6b8ac48a5e0aba8d883c42c58757f6b1cffec5173e8edb071bf25351
|
||||
|
||||
@@ -12,45 +12,36 @@ inherit distutils-r1 eutils
|
||||
|
||||
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 -> ${MY_PN}.tar.gz"
|
||||
SRC_URI="https://github.com/JelteF/${MY_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="examples"
|
||||
|
||||
DEPEND="
|
||||
dev-python/ordered-set[${PYTHON_USEDEP}]
|
||||
RDEPEND="
|
||||
dev-python/ordered-set[${PYTHON_USEDEP}]
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
distutils_enable_sphinx docs
|
||||
DEPEND="test? (
|
||||
dev-python/quantities[${PYTHON_USEDEP}]
|
||||
dev-python/matplotlib[${PYTHON_USEDEP}]
|
||||
dev-python/numpy[${PYTHON_USEDEP}]
|
||||
app-text/texlive
|
||||
dev-texlive/texlive-latexextra
|
||||
)"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
distutils_enable_sphinx docs/source
|
||||
distutils_enable_tests nose
|
||||
|
||||
DEPEND+="
|
||||
test? (
|
||||
dev-python/quantities
|
||||
dev-python/matplotlib
|
||||
dev-python/numpy
|
||||
app-text/texlive
|
||||
dev-texlive/texlive-latexextra
|
||||
)
|
||||
"
|
||||
|
||||
src_prepare(){
|
||||
if use doc; then
|
||||
sphinx-apidoc -F -o docs "${S}"/pylatex # conf.py is not included in source
|
||||
fi
|
||||
|
||||
distutils-r1_src_prepare
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
if use examples ; then
|
||||
dodoc -r examples
|
||||
fi
|
||||
if use examples ; then
|
||||
dodoc -r examples
|
||||
fi
|
||||
|
||||
distutils-r1_python_install_all
|
||||
distutils-r1_python_install_all
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
Reference in New Issue
Block a user