logo

overlay

My (experimental) gentoo overlay
commit: 3d90c77c05b33f5b5b754e636881ce1b2d0305b1
parent: 79411c32bf8444d5128b628741e755b71bbeb44b
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Fri, 29 Mar 2019 02:51:20 +0100

dev-tex/dot2tex: Bump to 2.11.2 (based on ::gentoo)

Diffstat:

Adev-tex/dot2tex/Manifest1+
Adev-tex/dot2tex/dot2tex-2.11.2.ebuild45+++++++++++++++++++++++++++++++++++++++++++++
Adev-tex/dot2tex/metadata.xml11+++++++++++
3 files changed, 57 insertions(+), 0 deletions(-)

diff --git a/dev-tex/dot2tex/Manifest b/dev-tex/dot2tex/Manifest @@ -0,0 +1 @@ +DIST dot2tex-2.11.2.tar.gz 664140 BLAKE2B fb249a8cad0f9f47344d4eff2fd96ed33c4e31084d614d4745131f884f0e05af37679157488b72270529cf777154184d3105fa4b79342ba5e7dca3cc954bfecb SHA512 163fd120adf1e9e5abd5992dc1355cc673591cdb0438eb7ad50af5b8a08a30fbb1f710c94465999d98cf5b9f2d38e19e04e1d78f8a5fcf5173b5e25833ef7adb diff --git a/dev-tex/dot2tex/dot2tex-2.11.2.ebuild b/dev-tex/dot2tex/dot2tex-2.11.2.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2018 Gentoo Authors +# Copyright 2019 Haelwenn (lanodan) Monnier <contact@hacktivis.me> +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +# Upstream supports python-3.7 +PYTHON_COMPAT=( python2_7 python3_{5,6} ) + +inherit distutils-r1 + +DESCRIPTION="A Graphviz to LaTeX converter" +HOMEPAGE="https://dot2tex.readthedocs.org/ https://github.com/kjellmf/dot2tex" +SRC_URI="https://github.com/kjellmf/dot2tex/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris" +IUSE="doc examples" + +DEPEND="dev-python/pyparsing[${PYTHON_USEDEP}]" +RDEPEND=" + dev-python/pydot[${PYTHON_USEDEP}] + media-gfx/graphviz" +DEPEND="${DEPEND} + doc? ( dev-python/sphinx )" + +python_compile_all() { + if use doc ; then + cd "${S}/docs" + emake html + fi +} + +python_install_all() { + distutils-r1_python_install_all + + if use doc; then + dodoc -r docs/_build/html/* + fi + if use examples; then + dodoc -r examples + docompress -x /usr/share/doc/${PF}/examples + fi +} diff --git a/dev-tex/dot2tex/metadata.xml b/dev-tex/dot2tex/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>contact@hacktivis.me</email> + <name>Haelwenn (lanodan) Monnier</name> + </maintainer> + <upstream> + <remote-id type="github">kjellmf/dot2tex</remote-id> + </upstream> +</pkgmetadata>