coccigrep: rebuild for Python 3.12

This commit is contained in:
Andrew J. Hesford 2023-09-23 21:04:07 -04:00
parent 0d2725a1b1
commit 1f1177e069
2 changed files with 12 additions and 1 deletions

View 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

View File

@ -1,7 +1,7 @@
# Template file for 'coccigrep'
pkgname=coccigrep
version=1.20
revision=4
revision=5
build_style=python3-module
hostmakedepends="python3-setuptools"
depends="coccinelle python3-Pygments"