projects
/
shuber-gentoo-overlay.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Bump PYTHON_COMPAT to 10
[shuber-gentoo-overlay.git]
/
media-gfx
/
svgtoipe
/
svgtoipe-9999.ebuild
diff --git
a/media-gfx/svgtoipe/svgtoipe-9999.ebuild
b/media-gfx/svgtoipe/svgtoipe-9999.ebuild
index 358c973f05633ee4daded20676486d647b1b12c7..d2668761a39630fc5791b780e9dd9c8a95040b4d 100644
(file)
--- 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: $
# Distributed under the terms of the GNU General Public License v2
# $Header: $
-EAPI=
2
+EAPI=
6
-inherit git-2
+PYTHON_COMPAT=( python3_{8..10} )
+inherit git-r3 python-single-r1
DESCRIPTION="Converts SVG files to Ipe xml files"
HOMEPAGE="https://github.com/otfried/ipe-tools/tree/master/figtoipe"
DESCRIPTION="Converts SVG files to Ipe xml files"
HOMEPAGE="https://github.com/otfried/ipe-tools/tree/master/figtoipe"
@@
-15,13
+16,16
@@
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
KEYWORDS="~amd64 ~x86"
IUSE=""
-DEPEND="|| ( dev-lang/python:2.6[xml] dev-lang/python:2.7[xml] )"
+DEPEND="dev-lang/python[xml]
+ !media-gfx/ipe-tools"
RDEPEND="${DEPEND}"
BASEDIR="${WORKDIR}/${P}/${PN}"
src_install() {
cd ${BASEDIR}
RDEPEND="${DEPEND}"
BASEDIR="${WORKDIR}/${P}/${PN}"
src_install() {
cd ${BASEDIR}
+ python_fix_shebang .
+
mv ${PN}.py ${PN}
exeinto /usr/bin/
doexe ${PN}
mv ${PN}.py ${PN}
exeinto /usr/bin/
doexe ${PN}