X-Git-Url: https://git.sthu.org/?p=shuber-gentoo-overlay.git;a=blobdiff_plain;f=media-gfx%2Fsvgtoipe%2Fsvgtoipe-9999.ebuild;h=3a6c70679c839e1ab3a22e12c576c20b0ebbffbd;hp=b33acd050ad95394fcf763840c48d9a9b1397169;hb=bc2881d77b976e4faa561f359c6690dcb66a1cd6;hpb=f603024ca1acd636b71026c164d99d58e149f658 diff --git a/media-gfx/svgtoipe/svgtoipe-9999.ebuild b/media-gfx/svgtoipe/svgtoipe-9999.ebuild index b33acd0..3a6c706 100644 --- a/media-gfx/svgtoipe/svgtoipe-9999.ebuild +++ b/media-gfx/svgtoipe/svgtoipe-9999.ebuild @@ -1,9 +1,10 @@ # Distributed under the terms of the GNU General Public License v2 # $Header: $ -EAPI=2 +EAPI=6 -inherit git-2 +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" @@ -18,13 +19,16 @@ IUSE="" DEPEND="|| ( dev-lang/python:2.6[xml] dev-lang/python:2.7[xml] )" RDEPEND="${DEPEND}" -BASEDIR="${WORKDIR}/${P}/ipe5toxml" +BASEDIR="${WORKDIR}/${P}/${PN}" src_install() { cd ${BASEDIR} - mv svgtoipe.py svgtoipe + python_fix_shebang . + + mv ${PN}.py ${PN} exeinto /usr/bin/ - doexe svgtoipe + doexe ${PN} + doman ${PN}.1 }