forked from pool/python-xdg-base-dirs
- update to 6.0.2:
* Use GitHub's alert syntax for rename warning * Test with Python 3.12 in CI * Check `# type: ignore` directives include error code * Add Python 3.13 to CI * Bump version to 6.0.2 - Update to version 5.1.1 * No upstream changelog OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-xdg-base-dirs?expand=0&rev=7
This commit is contained in:
commit
8011c9793e
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.osc
|
44
python-xdg-base-dirs.changes
Normal file
44
python-xdg-base-dirs.changes
Normal file
@ -0,0 +1,44 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Nov 23 16:46:37 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- update to 6.0.2:
|
||||
* Use GitHub's alert syntax for rename warning
|
||||
* Test with Python 3.12 in CI
|
||||
* Check `# type: ignore` directives include error code
|
||||
* Add Python 3.13 to CI
|
||||
* Bump version to 6.0.2
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri May 31 21:11:37 UTC 2024 - Matej Cepl <mcepl@cepl.eu>
|
||||
|
||||
- Add %{?sle15_python_module_pythons}
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri May 24 05:27:16 UTC 2024 - Thomas Bechtold <thomasbechtold@jpberlin.de>
|
||||
|
||||
- Update to version 6.0.1:
|
||||
- This patch release no longer installs the LICENSE file into
|
||||
the site-packages directory.
|
||||
- Update to version 6.0.0:
|
||||
- This major release renames xdg to xdg-base-dirs due to
|
||||
an import collision with PyXDG. If you used xdg prior
|
||||
to the rename, update by changing the dependency name
|
||||
from xdg to xdg-base-dirs and the import from xdg to
|
||||
xdg_base_dirs.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Oct 11 17:22:17 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>
|
||||
|
||||
- Update to version 5.1.1
|
||||
* This patch release moves to using pathlib.Path.home() to get the home directory.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Nov 9 04:44:33 UTC 2020 - Steve Kowalik <steven.kowalik@suse.com>
|
||||
|
||||
- Update to 5.0.0:
|
||||
* No upstream changelog
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Aug 4 11:59:44 UTC 2020 - Antonio Larrosa <alarrosa@suse.com>
|
||||
|
||||
- Initial release of python-xdg 4.0.1
|
67
python-xdg-base-dirs.spec
Normal file
67
python-xdg-base-dirs.spec
Normal file
@ -0,0 +1,67 @@
|
||||
#
|
||||
# spec file for package python-xdg-base-dirs
|
||||
#
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
%{?sle15_python_module_pythons}
|
||||
%define modname xdg-base-dirs
|
||||
Name: python-xdg-base-dirs
|
||||
Version: 6.0.2
|
||||
Release: 0
|
||||
Summary: Variables defined by the XDG Base Directory Specification
|
||||
License: ISC
|
||||
URL: https://github.com/srstevenson/xdg-base-dirs
|
||||
Source: https://github.com/srstevenson/%{modname}/archive/refs/tags/%{version}.tar.gz#/%{modname}-%{version}.tar.gz
|
||||
BuildRequires: %{python_module base >= 3.10}
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module poetry-core}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module wheel}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
BuildArch: noarch
|
||||
Provides: python-xdg = %{version}-%{release}
|
||||
Obsoletes: python-xdg < %{version}-%{release}
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
xdg is a Python module which provides the variables defined by the
|
||||
XDG Base Directory Specification, to save you from duplicating the
|
||||
same snippet of logic in every Python utility you write that deals
|
||||
with user cache, configuration, or data files. It has no external
|
||||
dependencies.
|
||||
|
||||
%prep
|
||||
%autosetup -p1 -n %{modname}-%{version}
|
||||
|
||||
sed -i -e '/addopts.*--cov/d' pyproject.toml
|
||||
|
||||
%build
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
%pyproject_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
%pytest
|
||||
|
||||
%files %{python_files}
|
||||
%doc README.md
|
||||
%{python_sitelib}/xdg_base_dirs
|
||||
%{python_sitelib}/xdg_base_dirs-%{version}*-info
|
||||
|
||||
%changelog
|
3
xdg-base-dirs-6.0.1.tar.gz
Normal file
3
xdg-base-dirs-6.0.1.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:a17ea2cf804233aa994c59c03a2a80c7b5635c5240db4ef59bf2e93a6c421efd
|
||||
size 17048
|
3
xdg-base-dirs-6.0.2.tar.gz
Normal file
3
xdg-base-dirs-6.0.2.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:2acedeb4e5723f90194325d4a6b39263f05a81b143fa1299ac31b167933fe829
|
||||
size 17642
|
Loading…
Reference in New Issue
Block a user