2013-11-10 14:28:59 +01:00
|
|
|
# Copyright 1999-2013 Gentoo Foundation
|
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
|
|
|
|
EAPI=5
|
|
|
|
|
2014-03-26 02:31:53 +01:00
|
|
|
PYTHON_COMPAT=( python{2_7,3_2,3_3} )
|
2013-11-10 14:28:59 +01:00
|
|
|
|
2013-11-10 15:16:42 +01:00
|
|
|
inherit python-single-r1
|
2013-11-10 14:28:59 +01:00
|
|
|
|
|
|
|
DESCRIPTION="A tool to create LaTeX tables from python lists and arrays."
|
|
|
|
HOMEPAGE="https://code.google.com/p/matrix2latex/"
|
|
|
|
SRC_URI="https://matrix2latex.googlecode.com/files/"${PN}"Python2011-12-15.tar.gz"
|
|
|
|
|
|
|
|
LICENSE="GPL-3"
|
|
|
|
SLOT="0"
|
|
|
|
KEYWORDS="~amd64"
|
|
|
|
IUSE=""
|
|
|
|
|
|
|
|
RDEPEND=""
|
|
|
|
DEPEND=""
|
|
|
|
|
|
|
|
src_unpack() {
|
|
|
|
if [ "${A}" != "" ]; then
|
|
|
|
unpack ${A}
|
|
|
|
fi
|
|
|
|
S="${WORKDIR}/${PN}Python"
|
|
|
|
cd ${S}
|
|
|
|
}
|
2013-11-10 15:16:42 +01:00
|
|
|
|
|
|
|
src_install() {
|
|
|
|
python_optimize .
|
|
|
|
python_domodule "${S}"/matrix2latex.py
|
|
|
|
python_domodule "${S}"/fixEngineeringNotation.py
|
|
|
|
python_domodule "${S}"/error.py
|
|
|
|
python_domodule "${S}"/IOString.py
|
|
|
|
}
|