# Distributed under the terms of the GNU General Public License v2 # $Header: $ EAPI=6 PYTHON_COMPAT=( python2_7 ) inherit git-r3 python-single-r1 DESCRIPTION="Converts SVG files to Ipe xml files" HOMEPAGE="https://github.com/otfried/ipe-tools/tree/master/figtoipe" EGIT_REPO_URI="https://github.com/otfried/ipe-tools.git" SRC_URI="" LICENSE="GPL-3" SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="" DEPEND="|| ( dev-lang/python:2.6[xml] dev-lang/python:2.7[xml] )" RDEPEND="${DEPEND}" BASEDIR="${WORKDIR}/${P}/${PN}" src_install() { cd ${BASEDIR} python_fix_shebang . mv ${PN}.py ${PN} exeinto /usr/bin/ doexe ${PN} doman ${PN}.1 }