aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorĐoàn Trần Công Danh <congdanhqx@gmail.com>2019-12-28 04:04:29 +0000
committerJuan RP <xtraeme@gmail.com>2019-12-28 17:02:29 +0000
commitcc48cd207d9995e56b4b54c065965f85eaa9569c (patch)
tree5dcdee9eb64c1e047a3ec475b56677dcaa45a241
parentc05b7b81150ade126fe642dd09bba789a0315f72 (diff)
downloadvoid-packages-cc48cd207d9995e56b4b54c065965f85eaa9569c.tar
void-packages-cc48cd207d9995e56b4b54c065965f85eaa9569c.tar.gz
void-packages-cc48cd207d9995e56b4b54c065965f85eaa9569c.tar.bz2
void-packages-cc48cd207d9995e56b4b54c065965f85eaa9569c.tar.lz
void-packages-cc48cd207d9995e56b4b54c065965f85eaa9569c.tar.xz
void-packages-cc48cd207d9995e56b4b54c065965f85eaa9569c.tar.zst
void-packages-cc48cd207d9995e56b4b54c065965f85eaa9569c.zip
afew: add python 3.8 compability patch
-rw-r--r--srcpkgs/afew/patches/afew-python-3.8.patch8
-rw-r--r--srcpkgs/afew/template2
2 files changed, 9 insertions, 1 deletions
diff --git a/srcpkgs/afew/patches/afew-python-3.8.patch b/srcpkgs/afew/patches/afew-python-3.8.patch
new file mode 100644
index 00000000000..6275d8f9d07
--- /dev/null
+++ b/srcpkgs/afew/patches/afew-python-3.8.patch
@@ -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')
diff --git a/srcpkgs/afew/template b/srcpkgs/afew/template
index 9f5020c9f21..9861d25fd5e 100644
--- a/srcpkgs/afew/template
+++ b/srcpkgs/afew/template
@@ -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"