commit 4d80507bf6b8f07bfdf81dd46b1b537f9a625fdb Author: Adrian Schröter Date: Fri Jul 12 12:15:40 2024 +0200 Sync from SUSE:ALP:Source:Standard:1.0 saltbundlepy-appdirs revision 87f40751d1073915d6a02bf6347011f8 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..fecc750 --- /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/appdirs-1.4.4.tar.gz b/appdirs-1.4.4.tar.gz new file mode 100644 index 0000000..604cca9 --- /dev/null +++ b/appdirs-1.4.4.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7d5d0167b2b1ba821647616af46a749d1c653740dd0d2415100fe26e27afdf41 +size 13470 diff --git a/saltbundlepy-appdirs.changes b/saltbundlepy-appdirs.changes new file mode 100644 index 0000000..757b502 --- /dev/null +++ b/saltbundlepy-appdirs.changes @@ -0,0 +1,56 @@ +------------------------------------------------------------------- +Fri Aug 18 15:10:57 UTC 2023 - Victor Zhestkov + +- update to 1.4.4: + * Don't import appdirs from setup.py (PR#92) + +------------------------------------------------------------------- +Mon Apr 4 12:21:54 UTC 2022 - Victor Zhestkov + +- Strictly require Python 3.10 with saltbundlepy requrement + +------------------------------------------------------------------- +Tue Aug 8 06:11:57 UTC 2017 - tbechtold@suse.com + +- update to 1.4.3: + - [PR #76] Python 3.6 invalid escape sequence deprecation fixes + - Fix for Python 3.6 support + - [PR #84] Allow installing without setuptools + - [PR #86] Fix string delimiters in setup.py description + - Add Python 3.6 support +- drop desetuptoolize.patch . no longer needed. + +------------------------------------------------------------------- +Thu Feb 23 11:45:52 UTC 2017 - jmatejek@suse.com + +- update for single-spec +- desetuptoolize.patch : switch from setuptools to distutils.core + for installation, as this is now a setuptools dependency +- ensure egg-info is a directory (distutils would install it as file) +- update to 1.4.1 + * [issue 55] make appname optional + +------------------------------------------------------------------- +Wed Jun 3 14:17:22 UTC 2015 - tbechtold@suse.com + +- update to 1.4.0: + - [PR #42] AppAuthor is now optional on Windows + - [issue 41] Support Jython on Windows, Mac, and Unix-like platforms. Windows + support requires `JNA `_. + - [PR #44] Fix incorrect behaviour of the site_config_dir method + - [Unix, issue 16] Conform to XDG standard, instead of breaking it for + everybody + - [Unix] Removes gratuitous case mangling of the case, since \*nix-es are + usually case sensitive, so mangling is not wise + - [Unix] Fixes the uterly wrong behaviour in ``site_data_dir``, return result + based on XDG_DATA_DIRS and make room for respecting the standard which + specifies XDG_DATA_DIRS is a multiple-value variable + - [Issue 6] Add ``*_config_dir`` which are distinct on nix-es, according to + XDG specs; on Windows and Mac return the corresponding ``*_data_dir`` +- Remove unzip as BuildRequires. tar.gz file now provided and used + +------------------------------------------------------------------- +Mon Mar 24 13:08:43 UTC 2014 - toddrme2178@gmail.com + +- Initial version + diff --git a/saltbundlepy-appdirs.spec b/saltbundlepy-appdirs.spec new file mode 100644 index 0000000..6939143 --- /dev/null +++ b/saltbundlepy-appdirs.spec @@ -0,0 +1,73 @@ +# +# spec file for package saltbundlepy-appdirs +# +# Copyright (c) 2021 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/ +# + + +%{?!saltbundlepy_module:%define saltbundlepy_module() saltbundlepy-%{**}} +%define pythons saltbundlepy + +# Disable python bytecompile for all distros +# It's called explicitly in the spec +%global __brp_python_bytecompile %{nil} + +Name: saltbundlepy-appdirs +Version: 1.4.4 +Release: 0 +Summary: A small Python module for determining platform-specific dirs +License: MIT +Group: Development/Languages/Python +URL: http://github.com/ActiveState/appdirs +Source: https://files.pythonhosted.org/packages/source/a/appdirs/appdirs-%{version}.tar.gz +BuildRequires: %{saltbundlepy_module base >= 3.10} +BuildRequires: saltbundlepy-rpm-macros +Requires: saltbundlepy-base +BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildArch: noarch +%python_subpackages + +%description +``appdirs`` will +help you choose an appropriate: + +- user data dir (``user_data_dir``) +- user cache dir (``user_cache_dir``) +- site data dir (``site_data_dir``) +- user log dir (``user_log_dir``) + +%prep +%setup -q -n appdirs-%{version} + +# strip shebang +sed -r -i '1s/^#!.*$//' appdirs.py + +%build +%python_build + +%install +%python_install +# fix up egg-info because distutils is bad and should feel bad +%{python_expand rm %{buildroot}%{$python_sitelib}/*.egg-info +cp -r appdirs.egg-info %{buildroot}%{$python_sitelib}/appdirs-%{version}-py%{$python_version}.egg-info +} + +%files %{python_files} +%defattr(-,root,root,-) +%doc CHANGES.rst LICENSE.txt README.rst +%pycache_only %{python_sitelib}/__pycache__/* +%{python_sitelib}/appdirs.py* +%{python_sitelib}/appdirs-%{version}-py%{python_version}.egg-info + +%changelog