From 55a3b16eb457b2b0ea12742104798c874e12c1a6 Mon Sep 17 00:00:00 2001 From: Alessio Sergi Date: Sun, 16 Oct 2016 23:05:35 +0200 Subject: [PATCH] python-efl: rebuild for Python 3.5 Switch to python3-* pkgs. Convert python3.4-* pkg into dummy pkg. --- srcpkgs/python-efl/template | 20 ++++++++++++-------- srcpkgs/python3-efl | 1 + 2 files changed, 13 insertions(+), 8 deletions(-) create mode 120000 srcpkgs/python3-efl diff --git a/srcpkgs/python-efl/template b/srcpkgs/python-efl/template index fef59a7df46..217d55cc5c7 100644 --- a/srcpkgs/python-efl/template +++ b/srcpkgs/python-efl/template @@ -1,10 +1,9 @@ # Template file for 'python-efl' pkgname=python-efl version=1.18.0 -revision=1 +revision=2 build_style=python-module -python_versions="2.7 3.4" -hostmakedepends="pkg-config python-devel python3.4-devel" +hostmakedepends="pkg-config python-devel python3-devel" makedepends="efl-devel python-dbus-devel" depends="python-dbus" pycompile_module="evas efl edje emotion ecore elementary e_dbus" @@ -15,12 +14,17 @@ license="LGPL-3" distfiles="http://download.enlightenment.org/rel/bindings/python/${pkgname}-${version}.tar.gz" checksum=39d873343bf524237ad289c2c95427d462d4b3c829a43ac495da9f5ecfca8974 -python3.4-efl_package() { - depends="python3.4-dbus" - pycompile_version="3.4" +python3-efl_package() { + depends="python3-dbus" pycompile_module="evas efl edje emotion ecore elementary e_dbus" - short_desc="${short_desc/Python2/Python3.4}" + replaces="python3.4-efl>=0" + short_desc="${short_desc/Python2/Python3}" pkg_install() { - vmove usr/lib/python3.4 + vmove usr/lib/python3* } } +python3.4-efl_package() { + build_style=meta + short_desc="${short_desc/Python2/Python3.4} (transitional dummy package)" + depends="python3-efl>=${version}_${revision}" +} diff --git a/srcpkgs/python3-efl b/srcpkgs/python3-efl new file mode 120000 index 00000000000..d79626106dc --- /dev/null +++ b/srcpkgs/python3-efl @@ -0,0 +1 @@ +python-efl \ No newline at end of file