diff --git a/srcpkgs/safeeyes/patches/fix-getargspec.patch b/srcpkgs/safeeyes/patches/fix-getargspec.patch new file mode 100644 index 00000000000..fcef27fa8b1 --- /dev/null +++ b/srcpkgs/safeeyes/patches/fix-getargspec.patch @@ -0,0 +1,13 @@ +diff --git a/safeeyes/utility.py b/safeeyes/utility.py +index bf2dede..7e08735 100644 +--- a/safeeyes/utility.py ++++ b/safeeyes/utility.py +@@ -666,7 +666,7 @@ def has_method(module, method_name, no_of_args=0): + Check whether the given function is defined in the module or not. + """ + if hasattr(module, method_name): +- if len(inspect.getargspec(getattr(module, method_name)).args) == no_of_args: ++ if len(inspect.getfullargspec(getattr(module, method_name)).args) == no_of_args: + return True + return False + diff --git a/srcpkgs/safeeyes/template b/srcpkgs/safeeyes/template index a11542556b6..0011b9c9c07 100644 --- a/srcpkgs/safeeyes/template +++ b/srcpkgs/safeeyes/template @@ -1,7 +1,7 @@ # Template file for 'safeeyes' pkgname=safeeyes -version=2.1.3 -revision=3 +version=2.1.4 +revision=1 build_style=python3-module hostmakedepends="python3-setuptools python3-pip python3-devel pkg-config" makedepends="python3-devel cairo-devel libgirepository-devel" @@ -12,5 +12,5 @@ short_desc="Tool to reduce and prevent repetitive strain injury" maintainer="Orphaned " license="GPL-3.0-or-later" homepage="https://slgobinath.github.io/SafeEyes/" -distfiles="${PYPI_SITE}/s/${pkgname}/${pkgname}-${version}.tar.gz" -checksum=3db101a4ae86e824937b7ddfb56e7e464f5b2dc96a351feaccadee080f42bcac +distfiles="${PYPI_SITE}/s/safeeyes/safeeyes-${version}.tar.gz" +checksum=4ac651c8e0de611424da956ca4acdf25b4915ffce30fe33e69a2be6173eee821