diff options
| author | Palica <palica+gitlab@liguros.net> | 2020-06-23 22:35:08 +0200 |
|---|---|---|
| committer | Palica <palica+gitlab@liguros.net> | 2020-06-23 22:35:08 +0200 |
| commit | ecdac123787b96ce6649f0f91da12ea6458cc2b1 (patch) | |
| tree | b89c74d9e6fe6e8aebc4c77bcbeb4ab73214127d /dev-tex/pythontex | |
| parent | 1be72aa41cf41dedadeecf59dca9f01de6381f5e (diff) | |
| download | baldeagleos-repo-ecdac123787b96ce6649f0f91da12ea6458cc2b1.tar.gz baldeagleos-repo-ecdac123787b96ce6649f0f91da12ea6458cc2b1.tar.xz baldeagleos-repo-ecdac123787b96ce6649f0f91da12ea6458cc2b1.zip | |
Updating liguros repo
Diffstat (limited to 'dev-tex/pythontex')
| -rw-r--r-- | dev-tex/pythontex/Manifest | 1 | ||||
| -rw-r--r-- | dev-tex/pythontex/metadata.xml | 15 | ||||
| -rw-r--r-- | dev-tex/pythontex/pythontex-0.17.ebuild | 50 |
3 files changed, 66 insertions, 0 deletions
diff --git a/dev-tex/pythontex/Manifest b/dev-tex/pythontex/Manifest new file mode 100644 index 000000000000..df4fd95cc1ce --- /dev/null +++ b/dev-tex/pythontex/Manifest @@ -0,0 +1 @@ +DIST pythontex-0.17.tar.gz 1800631 BLAKE2B 5c4ab31ccd890ca708142e83d047a46d704d2eaead611521a9f272f7a63cfb4016b991741c0338b1874d8cd2949c83b9c5ab59c3004e26540c171666a4f05e63 SHA512 ac248579f8645c225839ca9698b6193d2a7d8360a50e9a8406fae5616f54418a173635d1c2e8c47b18e85cdd1fa1e81c9435169c44f06fb19505c280f9bbaee5 diff --git a/dev-tex/pythontex/metadata.xml b/dev-tex/pythontex/metadata.xml new file mode 100644 index 000000000000..cedc6281d697 --- /dev/null +++ b/dev-tex/pythontex/metadata.xml @@ -0,0 +1,15 @@ +<?xml version='1.0' encoding='UTF-8'?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>sci@gentoo.org</email> + <name>Gentoo Science Project</name> + </maintainer> + <use> + <flag name="highlighting">Syntax highlighting using <pkg>dev-python/pygments</pkg></flag> + </use> + <upstream> + <remote-id type="github">gpoore/pythontex</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-tex/pythontex/pythontex-0.17.ebuild b/dev-tex/pythontex/pythontex-0.17.ebuild new file mode 100644 index 000000000000..31f770632569 --- /dev/null +++ b/dev-tex/pythontex/pythontex-0.17.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6,7} ) + +inherit latex-package python-r1 + +DESCRIPTION="Fast Access to Python from within LaTeX" +HOMEPAGE="https://github.com/gpoore/pythontex" +SRC_URI="https://github.com/gpoore/pythontex/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +SLOT="0" +LICENSE="LPPL-1.3 BSD" +KEYWORDS="~amd64 ~x86" +IUSE="doc highlighting" + +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +DEPEND="${PYTHON_DEPS} + >=dev-texlive/texlive-latexextra-2016 + dev-tex/pgf" +RDEPEND="${DEPEND} + dev-python/pygments[${PYTHON_USEDEP}]" + +TEXMF=/usr/share/texmf-site + +src_compile() { + cd ${PN} || die + rm ${PN}.sty || die + VARTEXFONTS="${T}/fonts" latex ${PN}.ins extra || die +} + +src_install() { + dodoc *rst + use doc && dodoc ${PN}_quickstart/*pdf ${PN}/*pdf + + cd ${PN} || die + + installation() { + python_domodule {de,}${PN}3.py + python_domodule ${PN}_{engines,utils}.py + python_doscript {de,}${PN}.py syncpdb.py + python_optimize + } + python_foreach_impl installation + + latex-package_src_doinstall sty +} |
