From 88bd55a86f13f9b4ace1fc108564314075f19efa Mon Sep 17 00:00:00 2001 From: Mohammed Anas Date: Fri, 20 Oct 2023 19:41:49 +0100 Subject: [PATCH] bleachbit: fix error on Python 3.12. Fixes #46798. --- srcpkgs/bleachbit/patches/python-3.12.diff | 13 +++++++++++++ srcpkgs/bleachbit/template | 2 +- 2 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 srcpkgs/bleachbit/patches/python-3.12.diff diff --git a/srcpkgs/bleachbit/patches/python-3.12.diff b/srcpkgs/bleachbit/patches/python-3.12.diff new file mode 100644 index 00000000000..7609a603c52 --- /dev/null +++ b/srcpkgs/bleachbit/patches/python-3.12.diff @@ -0,0 +1,13 @@ +diff --git a/bleachbit/__init__.py b/bleachbit/__init__.py +index 3cf173bd..e9c9a27a 100644 +--- a/bleachbit/__init__.py ++++ b/bleachbit/__init__.py +@@ -30,7 +30,7 @@ import sys + import platform + + from bleachbit import Log +-from configparser import RawConfigParser, NoOptionError, SafeConfigParser ++from configparser import RawConfigParser, NoOptionError + + APP_VERSION = "4.4.2" + APP_NAME = "BleachBit" diff --git a/srcpkgs/bleachbit/template b/srcpkgs/bleachbit/template index aa52017171a..2c8dd9d4c73 100644 --- a/srcpkgs/bleachbit/template +++ b/srcpkgs/bleachbit/template @@ -1,7 +1,7 @@ # Template file for 'bleachbit' pkgname=bleachbit version=4.4.2 -revision=1 +revision=2 build_style=gnu-makefile hostmakedepends="python3 gettext desktop-file-utils" depends="gtk+3 python3-gobject python3-scandir python3-chardet"