Revisions of python-pyxdg

Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 1005764 from Dirk Mueller's avatar Dirk Mueller (dirkmueller) (revision 13)
- update to 0.28:
  * BaseDirectory: Add support for $XDG_STATE_DIR
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 839568 from Tomáš Chvátal's avatar Tomáš Chvátal (scarabeus_iv) (revision 10)
- Also conflict with the python-xdg as we provide same namespace

- Do not provide xdg namespace as there is python-xdg package now
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 821300 from Matej Cepl's avatar Matej Cepl (mcepl) (revision 9)
- Skip over RulesTest.test_rule_from_node test
  (https://gitlab.freedesktop.org/xdg/pyxdg/-/issues/20)
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 780849 from Tomáš Chvátal's avatar Tomáš Chvátal (scarabeus_iv) (revision 8)
- 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
Yuchen Lin's avatar Yuchen Lin (maxlin_factory) accepted request 697506 from Ondřej Súkup's avatar Ondřej Súkup (mimi_vx) (revision 6)
- add resource_leak.patch - Fix several ResourceWarnings: unclosed file
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 659628 from Matej Cepl's avatar Matej Cepl (mcepl) (revision 5)
Remove superfluous devel dependency for noarch package
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 611402 from Tomáš Chvátal's avatar Tomáš Chvátal (scarabeus_iv) (revision 4)
- 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
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 530488 from Jan Matejek's avatar Jan Matejek (matejcik) (revision 3)
- drop test-icon test that fails because its standard is too old
- drop hicolor-icon-theme requirement which was needed for that test
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 340367 from Todd R's avatar Todd R (TheBlackCat) (revision 1)
This replaces the current python-xdg package.  This is the same program, but conforms to openSUSE python package naming conventions, has a more up-to-date, easy-to-maintain spec file, and implements unit tests.
Displaying all 15 revisions
openSUSE Build Service is sponsored by