diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-tex/texamator/texamator-1.7.5-r2.ebuild |
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-tex/texamator/texamator-1.7.5-r2.ebuild')
-rw-r--r-- | dev-tex/texamator/texamator-1.7.5-r2.ebuild | 43 |
1 files changed, 43 insertions, 0 deletions
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..2812db36b950 --- /dev/null +++ b/dev-tex/texamator/texamator-1.7.5-r2.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +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 +} |