From 4d30abbdf1e4c7d29aac6b6205c7a2e29d6322cd Mon Sep 17 00:00:00 2001 From: Alessio Sergi Date: Fri, 25 Aug 2017 16:15:25 +0200 Subject: [PATCH] variety: update to 0.6.5 Fix pycompile_module, add pycompile_dirs. --- srcpkgs/variety/patches/fix-vauleerror.patch | 11 +++++++++++ srcpkgs/variety/template | 14 +++++++------- 2 files changed, 18 insertions(+), 7 deletions(-) create mode 100644 srcpkgs/variety/patches/fix-vauleerror.patch diff --git a/srcpkgs/variety/patches/fix-vauleerror.patch b/srcpkgs/variety/patches/fix-vauleerror.patch new file mode 100644 index 00000000000..c4ee05ece22 --- /dev/null +++ b/srcpkgs/variety/patches/fix-vauleerror.patch @@ -0,0 +1,11 @@ +--- variety/indicator.py.orig 2017-04-29 07:23:37.000000000 +0200 ++++ variety/indicator.py 2017-04-29 13:30:24.341703536 +0200 +@@ -33,6 +33,8 @@ + use_appindicator = True + except ImportError: + use_appindicator = False ++except ValueError: ++ use_appindicator = False + + from variety_lib import varietyconfig + diff --git a/srcpkgs/variety/template b/srcpkgs/variety/template index 14ffe0b3ec3..dce029523ac 100644 --- a/srcpkgs/variety/template +++ b/srcpkgs/variety/template @@ -1,18 +1,18 @@ # Template file for 'variety' pkgname=variety -version=0.6.0 +version=0.6.5 revision=1 -wrksrc="variety" noarch=yes build_style=python2-module -pycompile_module='variety' +pycompile_module="jumble variety variety_lib" +pycompile_dirs="usr/share/variety/plugins" hostmakedepends="python-distutils-extra intltool" -depends="desktop-file-utils gtk+3 ImageMagick libnotify python-BeautifulSoup4 - python-cairo python-configobj python-dbus exiv2 python-gobject python-httplib2 - python-Pillow python-lxml python-curl webkitgtk" +depends="gtk+3 ImageMagick libgexiv2 libnotify python-BeautifulSoup4 + python-configobj python-dbus python-gobject python-httplib2 + python-Pillow python-curl python-requests" short_desc="Changes the wallpaper on a regular interval" maintainer="Diogo Leal " license="GPL-3" homepage="https://launchpad.net/variety/" distfiles="https://launchpad.net/variety/trunk/${version}/+download/variety_${version}.tar.gz" -checksum=f3760ac546073bb68f840f5eafffaf6a265e5be39aaa36462ff74547fe0594d0 +checksum=d3eeb5b800d881fc0e1055f5614e65b6b6f64e0f1eb5b72fdf2869ae50c51bcc