Accepting request 611402 from devel:languages:python
- 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/request/show/611402 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pyxdg?expand=0&rev=4
This commit is contained in:
commit
ae1f6c1ff0
@ -1,3 +1,25 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue May 22 19:10:38 UTC 2018 - tchvatal@suse.com
|
||||||
|
|
||||||
|
- 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.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue May 22 19:07:50 UTC 2018 - tchvatal@suse.com
|
||||||
|
|
||||||
|
- Fix provides/obsoletes to actually provide python2-xdg too
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Oct 2 14:02:20 UTC 2017 - jmatejek@suse.com
|
Mon Oct 2 14:02:20 UTC 2017 - jmatejek@suse.com
|
||||||
|
|
||||||
|
@ -1,30 +0,0 @@
|
|||||||
-----BEGIN PGP PUBLIC KEY BLOCK-----
|
|
||||||
Version: GnuPG v2
|
|
||||||
|
|
||||||
mQENBE6rQUABCACtxN2foEwHsAJjj5CcAkYYK562693x/EXAU1rexS3QebtH7Wtn
|
|
||||||
bOhQaZFU22u/9RKqEGK/eLGXw9XB70BIZJeIoB9Ca5yorvhHsrw5ud7ECx2OLsVQ
|
|
||||||
HlIfweSvjkvEpg/sTjXp8naVvBX4Tm5WTGCuCNuBxw5jQ6mjIL2flEDh/C2KuDq2
|
|
||||||
boZJahGEkube1ZVJqR2n8W62x4AHZ+5Jxb5RC5HNCBB32bueubZ4MkFHLORkJ/bz
|
|
||||||
gUHk9YBCUTfWrmBHJeN25l6pmf6k7Fs6UHktgeNWe5Q2nPQ2ei7SMgumlmvDzOzE
|
|
||||||
pa38J2RXvQZeRIHW0eMcuUhulqcJ4t8gvhW1ABEBAAG0JVRob21hcyBLbHV5dmVy
|
|
||||||
IDx0aG9tYXNAa2x1eXZlci5tZS51az6JATgEEwECACIFAk6rQUACGwMGCwkIBwMC
|
|
||||||
BhUIAgkKCwQWAgMBAh4BAheAAAoJEK+Is6xd7LIkoQkH/jRV+Cd7qSON+tfJrYNk
|
|
||||||
iF3lqog/8gqKM4bznVRaoWHUpGkxMNc5+5oDKddrD1tB3c9e0gwgDjvr9pTyiE2A
|
|
||||||
XGBP+/QUVv6gk4y8tfcC2zjDA52XW/rIncRpdGjCxo4DbPPE+DY2U+TZLO9OqEjR
|
|
||||||
5z+Ebgmxmq2bK++sAYyFXWaJRjBK5KTKtj8lcKjfqz92imMC461rk1A7efpysNce
|
|
||||||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 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-pyxdg
|
# spec file for package python-pyxdg
|
||||||
#
|
#
|
||||||
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -16,41 +16,29 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%if 0%{?sle_version} > 120100 || 0%{?suse_version} > 1320
|
|
||||||
%bcond_without tests
|
|
||||||
%else
|
|
||||||
%bcond_with tests
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
%define oldpython python
|
%define oldpython python
|
||||||
Name: python-pyxdg
|
Name: python-pyxdg
|
||||||
Version: 0.25
|
Version: 0.26
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Implementations of freedesktop.org standards in python
|
Summary: Implementations of freedesktop.org standards in python
|
||||||
License: LGPL-2.1
|
License: LGPL-2.1-only
|
||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
Url: http://freedesktop.org/wiki/Software/pyxdg
|
URL: http://freedesktop.org/wiki/Software/pyxdg
|
||||||
Source: https://files.pythonhosted.org/packages/source/p/pyxdg/pyxdg-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/p/pyxdg/pyxdg-%{version}.tar.gz
|
||||||
Source1: http://people.freedesktop.org/~takluyver/pyxdg-%{version}.tar.gz.asc
|
|
||||||
Source2: %{name}.keyring
|
|
||||||
BuildRequires: %{python_module devel}
|
BuildRequires: %{python_module devel}
|
||||||
%if %{with tests}
|
|
||||||
BuildRequires: %{python_module nose}
|
BuildRequires: %{python_module nose}
|
||||||
%endif
|
BuildRequires: hicolor-icon-theme
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
BuildRequires: shared-mime-info
|
BuildRequires: shared-mime-info
|
||||||
|
Requires: hicolor-icon-theme
|
||||||
Requires: shared-mime-info
|
Requires: shared-mime-info
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
Provides: python-xdg = %{version}
|
||||||
|
Obsoletes: python-xdg < %{version}
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
# Change <= to < after version 0.25
|
|
||||||
%ifpython2
|
%ifpython2
|
||||||
Obsoletes: %{oldpython}-xdg < %{version}
|
Obsoletes: %{oldpython}-xdg < %{version}
|
||||||
Provides: %{oldpython}-xdg <= %{version}
|
Provides: %{oldpython}-xdg = %{version}
|
||||||
%endif
|
|
||||||
%ifpython3
|
|
||||||
Provides: python3-xdg = %{version}
|
|
||||||
Obsoletes: python3-xdg <= %{version}
|
|
||||||
%endif
|
%endif
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
@ -72,17 +60,13 @@ PyXDG is a python library to access freedesktop.org standards. Currently support
|
|||||||
%install
|
%install
|
||||||
%python_install
|
%python_install
|
||||||
|
|
||||||
%if %{with tests}
|
|
||||||
%check
|
%check
|
||||||
# test-icon fails because it's testing against spec version 0.8
|
# test_get_type{,2} both fail but come from s-m-i package for data
|
||||||
# and our files moved to 0.9
|
%python_expand nosetests-%{$python_bin_suffix} -e test_get_type*
|
||||||
rm test/test-icon.py
|
|
||||||
%python_expand nosetests-%{$python_bin_suffix}
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%defattr(-,root,root,-)
|
%license COPYING
|
||||||
%doc README AUTHORS COPYING ChangeLog
|
%doc README AUTHORS ChangeLog
|
||||||
%{python_sitelib}/xdg
|
%{python_sitelib}/xdg
|
||||||
%{python_sitelib}/pyxdg-%{version}-py*.egg-info
|
%{python_sitelib}/pyxdg-%{version}-py*.egg-info
|
||||||
|
|
||||||
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:81e883e0b9517d624e8b0499eb267b82a815c0b7146d5269f364988ae031279d
|
|
||||||
size 48935
|
|
@ -1,11 +0,0 @@
|
|||||||
-----BEGIN PGP SIGNATURE-----
|
|
||||||
Version: GnuPG v1.4.11 (GNU/Linux)
|
|
||||||
|
|
||||||
iQEcBAABAgAGBQJQwRnbAAoJEK+Is6xd7LIk7lgH/0wa4H+dv9o6tg5OqW4MafiM
|
|
||||||
CE9iSeFavYExyyoBD7K1XYcmEbhfmZrbBLC02+UG0VOOxfm2So4Nxe3SzE2UBZlf
|
|
||||||
sxhWQiL2sVstzi/X2TT+6c548vG0vKenU0UYPeuudSlhBMsPhOeWuPRYwxsA/uau
|
|
||||||
Nwi9T1Gf7GuvegnyhUhgO5RqUwMt+4NOkWcPjMujN82A9AoU8Twnm9E5j14DmIFF
|
|
||||||
vceC70Oonzhk3uktaNRLYAH/w4KGMqwQLfVmFRqmKisBR5bTGarsOEoxbqh70spB
|
|
||||||
+rXF69WXQwdyOzGWIzyXMRu4fXNqe6aWyjECw+PQHNx7cuOqkQvvO9FpnDg00eg=
|
|
||||||
=eHCq
|
|
||||||
-----END PGP SIGNATURE-----
|
|
3
pyxdg-0.26.tar.gz
Normal file
3
pyxdg-0.26.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:fe2928d3f532ed32b39c32a482b54136fe766d19936afc96c8f00645f9da1a06
|
||||||
|
size 57879
|
Loading…
x
Reference in New Issue
Block a user