From 117fea7fe64073cb47953fbd63816eeb9d4b7d90 Mon Sep 17 00:00:00 2001 From: David Seifert Date: Sun, 19 Feb 2017 11:47:53 +0100 Subject: dev-tex/texamator: Add missing Python variables Package-Manager: Portage-2.3.3, Repoman-2.3.1 --- dev-tex/texamator/texamator-1.7.5-r1.ebuild | 41 --------------------------- dev-tex/texamator/texamator-1.7.5-r2.ebuild | 44 +++++++++++++++++++++++++++++ 2 files changed, 44 insertions(+), 41 deletions(-) delete mode 100644 dev-tex/texamator/texamator-1.7.5-r1.ebuild create mode 100644 dev-tex/texamator/texamator-1.7.5-r2.ebuild (limited to 'dev-tex/texamator') diff --git a/dev-tex/texamator/texamator-1.7.5-r1.ebuild b/dev-tex/texamator/texamator-1.7.5-r1.ebuild deleted file mode 100644 index 94f1c410ffe9..000000000000 --- a/dev-tex/texamator/texamator-1.7.5-r1.ebuild +++ /dev/null @@ -1,41 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=6 -PYTHON_COMPAT=( python2_7 ) - -inherit python-single-r1 - -MY_PN=TeXamator - -DESCRIPTION="A program aimed at helping you making your exercise sheets" -HOMEPAGE="http://snouffy.free.fr/blog-en/index.php/category/TeXamator" -SRC_URI="http://snouffy.free.fr/blog-en/public/${MY_PN}/${MY_PN}.v.${PV}.tar.gz" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="" - -DEPEND="app-text/dvipng - dev-python/PyQt4[${PYTHON_USEDEP}] - virtual/latex-base" -RDEPEND="${DEPEND}" - -S=${WORKDIR}/${MY_PN} - -src_compile() { - cat >> ${PN} <<-_EOF_ || die - #!/bin/sh - cd /usr/lib/${MY_PN} && - exec "${EPYTHON}" ${MY_PN}.py - _EOF_ -} - -src_install() { - dobin ${PN} - - python_moduleinto /usr/lib/${MY_PN} - python_domodule ${MY_PN}.py partielatormods {ts,ui}_files -} diff --git a/dev-tex/texamator/texamator-1.7.5-r2.ebuild b/dev-tex/texamator/texamator-1.7.5-r2.ebuild new file mode 100644 index 000000000000..e75a0d077307 --- /dev/null +++ b/dev-tex/texamator/texamator-1.7.5-r2.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +PYTHON_COMPAT=( python2_7 ) + +inherit python-single-r1 + +MY_PN=TeXamator + +DESCRIPTION="A program aimed at helping you making your exercise sheets" +HOMEPAGE="http://snouffy.free.fr/blog-en/index.php/category/TeXamator" +SRC_URI="http://snouffy.free.fr/blog-en/public/${MY_PN}/${MY_PN}.v.${PV}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +DEPEND="app-text/dvipng + dev-python/PyQt4[${PYTHON_USEDEP}] + virtual/latex-base + ${PYTHON_DEPS}" +RDEPEND="${DEPEND}" + +S=${WORKDIR}/${MY_PN} + +src_compile() { + cat >> ${PN} <<-_EOF_ || die + #!/bin/sh + cd /usr/lib/${MY_PN} && + exec "${EPYTHON}" ${MY_PN}.py + _EOF_ +} + +src_install() { + dobin ${PN} + + python_moduleinto /usr/lib/${MY_PN} + python_domodule ${MY_PN}.py partielatormods {ts,ui}_files +} -- cgit v1.2.3-65-gdbad