From c7bd299595181cae9f77afee727ff2884b3c5276 Mon Sep 17 00:00:00 2001 From: Antoine Brodin Date: Mon, 11 Dec 2017 16:48:54 +0000 Subject: [PATCH] Fix packaging with python3 --- chinese/ibus-libpinyin/Makefile | 1 + chinese/ibus-pinyin/Makefile | 3 ++- devel/d-feet/Makefile | 3 ++- devel/gtranslator/Makefile | 1 + 4 files changed, 6 insertions(+), 2 deletions(-) diff --git a/chinese/ibus-libpinyin/Makefile b/chinese/ibus-libpinyin/Makefile index d1bae508ca83..2137785d4524 100644 --- a/chinese/ibus-libpinyin/Makefile +++ b/chinese/ibus-libpinyin/Makefile @@ -18,6 +18,7 @@ LIB_DEPENDS= libsqlite3.so:databases/sqlite3 \ USES= compiler:c++11-lib gmake python pkgconfig gettext USE_GNOME= glib20 +USE_PYTHON= py3kplist WRKSRC= ${WRKDIR}/${DISTNAME} diff --git a/chinese/ibus-pinyin/Makefile b/chinese/ibus-pinyin/Makefile index c43b2c7450ab..75252fe4d9f3 100644 --- a/chinese/ibus-pinyin/Makefile +++ b/chinese/ibus-pinyin/Makefile @@ -11,7 +11,7 @@ COMMENT= PinYin engine for IBus LICENSE= GPLv2 -RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}xdg>0:devel/py-xdg \ +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}xdg>0:devel/py-xdg@${PY_FLAVOR} \ ${LOCALBASE}/share/gir-1.0/IBus-1.0.gir:textproc/ibus LIB_DEPENDS= libpyzy-1.0.so:chinese/pyzy \ libibus-1.0.so:textproc/ibus \ @@ -19,6 +19,7 @@ LIB_DEPENDS= libpyzy-1.0.so:chinese/pyzy \ USES= compiler:c++11-lib gmake pkgconfig python autoreconf libtool USE_GNOME= glib20 +USE_PYTHON= py3kplist GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-dependency-tracking --disable-lua-extension diff --git a/devel/d-feet/Makefile b/devel/d-feet/Makefile index 84dc8a95a052..a008795ae88e 100644 --- a/devel/d-feet/Makefile +++ b/devel/d-feet/Makefile @@ -15,8 +15,9 @@ LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= itstool:textproc/itstool NO_ARCH= yes -USES= gettext gmake gnome perl5 pkgconfig python:2.7+ tar:xz +USES= gettext gmake gnome perl5 pkgconfig python tar:xz USE_GNOME= gtk30 intlhack introspection:build libxml2:build libwnck3 +USE_PYTHON= py3kplist GNU_CONFIGURE= yes USE_PERL5= build INSTALLS_ICONS= yes diff --git a/devel/gtranslator/Makefile b/devel/gtranslator/Makefile index 9aa74363635f..f18c7669f2e4 100644 --- a/devel/gtranslator/Makefile +++ b/devel/gtranslator/Makefile @@ -24,6 +24,7 @@ USE_GNOME= intlhack gnomeprefix gtk30 libgda5 gtksourceview3 libxml2 \ introspection:build USES= desktop-file-utils gettext gmake libtool pathfix \ pkgconfig python tar:xz +USE_PYTHON= py3kplist GNU_CONFIGURE= yes USE_LDCONFIG= yes INSTALLS_ICONS= yes