coccigrep: rebuild for Python 3.12
This commit is contained in:
parent
0d2725a1b1
commit
1f1177e069
11
srcpkgs/coccigrep/patches/python3.12.patch
Normal file
11
srcpkgs/coccigrep/patches/python3.12.patch
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
--- ./src/coccigrep.py.orig 2023-09-29 14:43:43.818620944 -0400
|
||||||
|
+++ ./src/coccigrep.py 2023-09-29 14:44:02.016730018 -0400
|
||||||
|
@@ -15,7 +15,7 @@
|
||||||
|
# 02110-1301, USA.
|
||||||
|
|
||||||
|
try:
|
||||||
|
- from configparser import SafeConfigParser
|
||||||
|
+ from configparser import ConfigParser as SafeConfigParser
|
||||||
|
except Exception:
|
||||||
|
from ConfigParser import SafeConfigParser
|
||||||
|
from os import unlink, path, listdir, getcwd
|
@ -1,7 +1,7 @@
|
|||||||
# Template file for 'coccigrep'
|
# Template file for 'coccigrep'
|
||||||
pkgname=coccigrep
|
pkgname=coccigrep
|
||||||
version=1.20
|
version=1.20
|
||||||
revision=4
|
revision=5
|
||||||
build_style=python3-module
|
build_style=python3-module
|
||||||
hostmakedepends="python3-setuptools"
|
hostmakedepends="python3-setuptools"
|
||||||
depends="coccinelle python3-Pygments"
|
depends="coccinelle python3-Pygments"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user