From 8011c9793e8d253b679561704e080ddd43bac75403e85cd8d7a50dd85dce8395 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Sat, 23 Nov 2024 16:47:26 +0000 Subject: [PATCH] - 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 --- .gitattributes | 23 +++++++++++++ .gitignore | 1 + python-xdg-base-dirs.changes | 44 +++++++++++++++++++++++ python-xdg-base-dirs.spec | 67 ++++++++++++++++++++++++++++++++++++ xdg-base-dirs-6.0.1.tar.gz | 3 ++ xdg-base-dirs-6.0.2.tar.gz | 3 ++ 6 files changed, 141 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 python-xdg-base-dirs.changes create mode 100644 python-xdg-base-dirs.spec create mode 100644 xdg-base-dirs-6.0.1.tar.gz create mode 100644 xdg-base-dirs-6.0.2.tar.gz diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -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 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/python-xdg-base-dirs.changes b/python-xdg-base-dirs.changes new file mode 100644 index 0000000..b73d188 --- /dev/null +++ b/python-xdg-base-dirs.changes @@ -0,0 +1,44 @@ +------------------------------------------------------------------- +Sat Nov 23 16:46:37 UTC 2024 - Dirk Müller + +- 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 + +- Add %{?sle15_python_module_pythons} + +------------------------------------------------------------------- +Fri May 24 05:27:16 UTC 2024 - Thomas Bechtold + +- 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 + +- 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 + +- Update to 5.0.0: + * No upstream changelog + +------------------------------------------------------------------- +Tue Aug 4 11:59:44 UTC 2020 - Antonio Larrosa + +- Initial release of python-xdg 4.0.1 diff --git a/python-xdg-base-dirs.spec b/python-xdg-base-dirs.spec new file mode 100644 index 0000000..37c11bd --- /dev/null +++ b/python-xdg-base-dirs.spec @@ -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 diff --git a/xdg-base-dirs-6.0.1.tar.gz b/xdg-base-dirs-6.0.1.tar.gz new file mode 100644 index 0000000..1a3c8cd --- /dev/null +++ b/xdg-base-dirs-6.0.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a17ea2cf804233aa994c59c03a2a80c7b5635c5240db4ef59bf2e93a6c421efd +size 17048 diff --git a/xdg-base-dirs-6.0.2.tar.gz b/xdg-base-dirs-6.0.2.tar.gz new file mode 100644 index 0000000..7aea391 --- /dev/null +++ b/xdg-base-dirs-6.0.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2acedeb4e5723f90194325d4a6b39263f05a81b143fa1299ac31b167933fe829 +size 17642