afew: add python 3.8 compability patch
This commit is contained in:
parent
c05b7b8115
commit
cc48cd207d
2 changed files with 9 additions and 1 deletions
8
srcpkgs/afew/patches/afew-python-3.8.patch
Normal file
8
srcpkgs/afew/patches/afew-python-3.8.patch
Normal file
|
@ -0,0 +1,8 @@
|
|||
--- afew/filters/__init__.py
|
||||
+++ afew/filters/__init__.py
|
||||
@@ -6,4 +6,4 @@
|
||||
|
||||
__all__ = list(filename[:-3]
|
||||
for filename in glob.glob1(os.path.dirname(__file__), '*.py')
|
||||
- if filename is not '__init__.py')
|
||||
+ if filename != '__init__.py')
|
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'afew'
|
||||
pkgname=afew
|
||||
version=2.0.0
|
||||
revision=3
|
||||
revision=4
|
||||
archs=noarch
|
||||
build_style=python3-module
|
||||
pycompile_module="afew"
|
||||
|
|
Loading…
Reference in a new issue