Commit Graph

22 Commits

Author SHA256 Message Date
5ae0d457e8 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
2023-09-27 09:14:40 +00:00
2164c44e0f Accepting request 1081576 from home:dirkmueller:acdc:as_python3_module
SR for python stack proposal

OBS-URL: https://build.opensuse.org/request/show/1081576
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyxdg?expand=0&rev=34
2023-04-21 13:21:31 +00:00
7285bde151 - update to 0.28:
* BaseDirectory: Add support for $XDG_STATE_DIR

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyxdg?expand=0&rev=32
2022-09-24 11:20:03 +00:00
38d005463d Accepting request 889227 from home:mcalabkova:branches:devel:languages:python
- Obsolete python-xdg to resolve conflicting state (boo#1178803)
  * see https://bbs.archlinux.org/viewtopic.php?id=262403 for a workaround

OBS-URL: https://build.opensuse.org/request/show/889227
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyxdg?expand=0&rev=30
2021-04-29 08:36:54 +00:00
56f490636f Accepting request 852787 from home:bnavigator:branches:devel:languages:python
- Update to version 0.27
  * Menu: Fix compatibility with Python >= 3.8.4
  * Menu: Fix several AttributeErrors
  * Menu: Fix duplication of menu entries due when Layout is provided
  * MenuEditor: Fix fromstring typo
  * Certain tests are more independent of external system conditions
  * Standardise shebangs to /usr/bin/env python3 
- drop new-api.patch, resource_leak.patch merged upstream
- get example test data from gitlab repository -- pass all tests

OBS-URL: https://build.opensuse.org/request/show/852787
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyxdg?expand=0&rev=28
2020-12-03 06:13:28 +00:00
Tomáš Chvátal
3849b67da2 - Also conflict with the python-xdg as we provide same namespace
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyxdg?expand=0&rev=26
2020-10-05 12:47:38 +00:00
Tomáš Chvátal
87d24f69a3 - Do not provide xdg namespace as there is python-xdg package now
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyxdg?expand=0&rev=25
2020-09-30 08:39:08 +00:00
3dac9b9552 - Skip over RulesTest.test_rule_from_node test
(https://gitlab.freedesktop.org/xdg/pyxdg/-/issues/20)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyxdg?expand=0&rev=23
2020-07-16 12:13:56 +00:00
Tomáš Chvátal
d919a4253c - Add setuptools dependency
- Use pytest to run tests rather than nose that will break with
  python 3.10
  * new-api.patch

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyxdg?expand=0&rev=21
2020-03-02 08:29:17 +00:00
Tomáš Chvátal
17e8901053 Accepting request 780590 from home:mookmoz:branches:devel:languages:python
- Fix Menu.py using attributes that no longer exist
  Patch from https://gitlab.freedesktop.org/xdg/pyxdg/-/merge_requests/2

Upstream has had a merge request open since Nov 2018 for some obvious errors; this appears to have came from the Fedora package ( https://src.fedoraproject.org/rpms/pyxdg/blob/master/f/pyxdg-0.26-getType-fix.patch ): the author seems to be the Fedora maintainer.

I'm still new-ish to the OBS process; please let me know if you'd like changes. Not entirely happy with the patch name, but I have not found a good way to get a patch URL out of a GitLab merge request either.

Thanks!

OBS-URL: https://build.opensuse.org/request/show/780590
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyxdg?expand=0&rev=20
2020-03-02 08:24:33 +00:00
Tomáš Chvátal
7cbdcbae01 Accepting request 731044 from home:jayvdb:py3only
- Fix test data to use sys.executable

OBS-URL: https://build.opensuse.org/request/show/731044
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyxdg?expand=0&rev=18
2019-09-16 07:35:14 +00:00
02f40cb47b - add resource_leak.patch - Fix several ResourceWarnings: unclosed file
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyxdg?expand=0&rev=16
2019-04-24 13:12:48 +00:00
53704df736 Remove superfluous devel dependency for noarch package
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyxdg?expand=0&rev=14
2018-12-04 13:57:48 +00:00
Tomáš Chvátal
4a2f42ed2f OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyxdg?expand=0&rev=12 2018-05-22 19:26:50 +00:00
Tomáš Chvátal
7830c5ca30 - 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

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyxdg?expand=0&rev=11
2018-05-22 19:18:42 +00:00
Jan Matejek
3eda7ac35f - drop test-icon test that fails because its standard is too old
- drop hicolor-icon-theme requirement which was needed for that test

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyxdg?expand=0&rev=9
2017-10-02 14:03:14 +00:00
Todd R
d7f50ce6f1 Accepting request 493089 from home:TheBlackCat:branches:devel:languages:python
- Don't provide python2-xdg. Singlespec packages should use the correct name.

OBS-URL: https://build.opensuse.org/request/show/493089
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyxdg?expand=0&rev=7
2017-05-05 21:49:29 +00:00
Todd R
984536dbfb Accepting request 492346 from home:TheBlackCat:branches:devel:languages:python
Add literal python-xdg provides

OBS-URL: https://build.opensuse.org/request/show/492346
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyxdg?expand=0&rev=6
2017-05-01 19:10:46 +00:00
Todd R
c3fb7f790a Accepting request 490831 from home:TheBlackCat:branches:devel:languages:python
- Fix source URL
- Various small spec file cleanups.

OBS-URL: https://build.opensuse.org/request/show/490831
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyxdg?expand=0&rev=5
2017-04-24 17:36:28 +00:00
Todd R
a198c1fc19 Accepting request 487790 from home:alois:branches:devel:languages:python
2nd attempt

OBS-URL: https://build.opensuse.org/request/show/487790
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyxdg?expand=0&rev=4
2017-04-24 16:29:37 +00:00
Todd R
3dff08533c Accepting request 340364 from home:TheBlackCat:branches:devel:languages:python
- It doesn't need a shared-mime-info version that high. 
  The unit tests just compare against pre-set values based on that version.  So remove BuildRequires version check and disable tests for earlier openSUSE versions.

OBS-URL: https://build.opensuse.org/request/show/340364
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyxdg?expand=0&rev=2
2015-10-22 09:24:38 +00:00
Todd R
03d883a9fe Accepting request 339295 from home:matwey
I've added archive signature.

OBS-URL: https://build.opensuse.org/request/show/339295
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyxdg?expand=0&rev=1
2015-10-22 09:12:45 +00:00