From 411553e47f4d81f3013242046a86fd297794a210 Mon Sep 17 00:00:00 2001 From: Joel Beckmeyer Date: Fri, 24 Mar 2023 12:02:32 -0400 Subject: [PATCH] variety: update to 0.8.10. --- srcpkgs/variety/patches/pylint.patch | 13 +++++++++++++ srcpkgs/variety/template | 13 +++++++------ 2 files changed, 20 insertions(+), 6 deletions(-) create mode 100644 srcpkgs/variety/patches/pylint.patch diff --git a/srcpkgs/variety/patches/pylint.patch b/srcpkgs/variety/patches/pylint.patch new file mode 100644 index 000000000000..70d6dffae4a5 --- /dev/null +++ b/srcpkgs/variety/patches/pylint.patch @@ -0,0 +1,13 @@ +diff --git a/tests/test_lint.py b/tests/test_lint.py +index c81efe5..5c5ed64 100644 +--- a/tests/test_lint.py ++++ b/tests/test_lint.py +@@ -25,7 +25,7 @@ class TestPylint(unittest.TestCase): + + your code may well work even with pylint errors + but have some unusual code""" +- return_code = subprocess.call(["pylint3", "-E", "variety"]) ++ return_code = subprocess.call(["pylint", "-E", "variety"]) + # not needed because nosetests displays pylint console output + # self.assertEqual(return_code, 0) + diff --git a/srcpkgs/variety/template b/srcpkgs/variety/template index 02d548f9d8df..619fd032a40f 100644 --- a/srcpkgs/variety/template +++ b/srcpkgs/variety/template @@ -1,17 +1,18 @@ # Template file for 'variety' pkgname=variety -version=0.8.9 -revision=2 +version=0.8.10 +revision=1 build_style=python3-module pycompile_dirs="usr/share/variety/plugins" -hostmakedepends="python3-distutils-extra intltool" +hostmakedepends="python3-setuptools python3-distutils-extra intltool" depends="ImageMagick gtk+3 libgexiv2 libnotify python3-BeautifulSoup4 - python3-Pillow python3-configobj python3-curl python3-dbus python3-gobject - python3-httplib2 python3-lxml python3-requests" + python3-Pillow python3-configobj python3-dbus python3-gobject python3-httplib2 + python3-lxml python3-requests python3-cairo" +checkdepends="python3-pytest pylint $depends" short_desc="Changes the wallpaper on a regular interval" maintainer="Ishaan Bhimwal " license="GPL-3.0-only" homepage="https://peterlevi.com/variety/" changelog="https://raw.githubusercontent.com/varietywalls/variety/master/data/ui/changes.txt" distfiles="https://github.com/varietywalls/variety/archive/${version}.tar.gz" -checksum=bcb5d41e0903734c0ac1015b0e599bf99eb1975bcbdcbce623eb42d230532595 +checksum=9f312571b92032faf1d3eca62f3800a583e5a90b82a68b6dcd18362120fcda6c