From f71407adc4a4f24757c6d5412f60e9694e59ff18 Mon Sep 17 00:00:00 2001 From: Emi Vasilek Date: Sun, 15 Oct 2023 12:02:35 +0200 Subject: [PATCH 1/2] New package: python3-zombie-imp-0.0.2 --- srcpkgs/python3-zombie-imp/template | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 srcpkgs/python3-zombie-imp/template diff --git a/srcpkgs/python3-zombie-imp/template b/srcpkgs/python3-zombie-imp/template new file mode 100644 index 0000000000000..595185e9af7ee --- /dev/null +++ b/srcpkgs/python3-zombie-imp/template @@ -0,0 +1,16 @@ +# Template file for 'python3-zombie-imp' +pkgname=python3-zombie-imp +version=0.0.2 +revision=1 +build_style=python3-pep517 +hostmakedepends="python3-setuptools python3-wheel" +short_desc="Copy of the imp module that was removed in Python 3.12" +maintainer="Emi Vasilek " +license="Python-2.0" +homepage="https://github.com/encukou/zombie-imp" +distfiles="https://github.com/encukou/zombie-imp/archive/refs/tags/v${version}.tar.gz" +checksum=08c6c53fc78f5ff45508b4d515f723f9dc07891e6b978435fb8eab1fe3185380 + +post_install() { + vlicense LICENSE +} From 9ea0a8fd1176d65751e2ddb35eff8cc6828593ae Mon Sep 17 00:00:00 2001 From: Emi Vasilek Date: Sun, 15 Oct 2023 12:02:42 +0200 Subject: [PATCH 2/2] gpodder: fix no such module imp with Python 3.12 --- srcpkgs/gpodder/template | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/srcpkgs/gpodder/template b/srcpkgs/gpodder/template index 7d4161ee3e429..8ad8b0b313cc4 100644 --- a/srcpkgs/gpodder/template +++ b/srcpkgs/gpodder/template @@ -1,11 +1,11 @@ # Template file for 'gpodder' pkgname=gpodder version=3.11.1 -revision=2 +revision=3 hostmakedepends="python3-setuptools intltool" depends="eyeD3 gtk+3 hicolor-icon-theme python3-dbus python3-gobject python3-html5lib python3-mygpoclient python3-podcastparser python3-mutagen - python3-requests" + python3-requests python3-zombie-imp" checkdepends="${depends} python3-MiniMock python3-coverage desktop-file-utils python3-pytest python3-pytest-httpserver python3-pytest-cov python3-requests which"