python-pyxdg

Edit Package python-pyxdg
No description set
Refresh
Refresh
Source Files
Filename Size Changed
new-api.patch 0000001614 1.58 KB
python-pyxdg.changes 0000003963 3.87 KB
python-pyxdg.spec 0000002818 2.75 KB
pyxdg-0.26.tar.gz 0000057879 56.5 KB
resource_leak.patch 0000006729 6.57 KB
Latest Revision
Gustavo Yokoyama Ribeiro's avatar Gustavo Yokoyama Ribeiro (gyribeiro) committed (revision 2)
TW submission to fix provides/requires in order to make Leap builds working again.
No effect or impact on customers.

- Add setuptools dependency
- Use pytest to run tests rather than nose that will break with
  python 3.10

- Fix Menu.py using attributes that no longer exist
  Patch from https://gitlab.freedesktop.org/xdg/pyxdg/-/merge_requests/2
  * new-api.patch

- Fix test data to use sys.executable

- add resource_leak.patch - Fix several ResourceWarnings: unclosed file 

- Remove superfluous devel dependency for noarch package

- Update to 0.26.0:
  * IconTheme: Add support for Scale and ScaledDirectories keys.
  * DesktopEntry: New method findTryExec()
  * Menu: More efficient processing of filter rules by building a Python AST
  * Mime: Prefer the first mimetype found for a file extension, instead of the last
  * Mime: Allow unknown magic-matching rule formats
  * Mime: GlobDB has new methods first_match and all_matches for matching paths
  * Mime: New function get_extensions to get extensions for a given mime type
  * Mime: Fix MagicDB.match_data crashing with an unknown 'possible' mimetype
  * Mime: Correctly handle __NOMAGIC__ rule removing previous magic matches
  * Menu: XML parsing reworked
  * BaseDirectory: More secure creation of a fallback runtime directory with get_runtime_dir(strict=False)
  * Various miscellaneous improvements to testing.

- Fix provides/obsoletes to actually provide python2-xdg too
Comments 0
openSUSE Build Service is sponsored by