Accepting request 1113626 from home:mcalabkova:branches:devel:languages:python

- Don't import deprecated imp module

OBS-URL: https://build.opensuse.org/request/show/1113626
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyxdg?expand=0&rev=36
This commit is contained in:
Dirk Mueller 2023-09-27 09:14:40 +00:00 committed by Git OBS Bridge
parent 2164c44e0f
commit 5ae0d457e8
2 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Sep 26 08:43:46 UTC 2023 - Markéta Machová <mmachova@suse.com>
- Don't import deprecated imp module
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Apr 21 12:32:33 UTC 2023 - Dirk Müller <dmueller@suse.com> Fri Apr 21 12:32:33 UTC 2023 - Dirk Müller <dmueller@suse.com>

View File

@ -54,6 +54,7 @@ PyXDG is a python library to access freedesktop.org standards. Currently support
%setup -q -n pyxdg-%{version} -b 1 %setup -q -n pyxdg-%{version} -b 1
%autopatch -p1 %autopatch -p1
cp -r ../pyxdg-rel-%{version}-test-example/test/example test/ cp -r ../pyxdg-rel-%{version}-test-example/test/example test/
sed -i 's/imp /importlib /' test/test_basedirectory.py
%build %build
%python_build %python_build