From 7ba2519216c1096676b722ada93853f829aa09ad05c32759002f068b3b06f012 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20Schr=C3=B6ter?= Date: Fri, 3 May 2024 23:26:54 +0200 Subject: [PATCH] Sync from SUSE:SLFO:Main python-versioneer revision cd2cbc15f2a4f0728903ebd9bdc01563 --- .gitattributes | 23 ++++++++++ python-versioneer.changes | 83 +++++++++++++++++++++++++++++++++++ python-versioneer.spec | 91 +++++++++++++++++++++++++++++++++++++++ versioneer-0.29.tar.gz | 3 ++ 4 files changed, 200 insertions(+) create mode 100644 .gitattributes create mode 100644 python-versioneer.changes create mode 100644 python-versioneer.spec create mode 100644 versioneer-0.29.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/python-versioneer.changes b/python-versioneer.changes new file mode 100644 index 0000000..c3acce9 --- /dev/null +++ b/python-versioneer.changes @@ -0,0 +1,83 @@ +------------------------------------------------------------------- +Mon Sep 25 06:39:53 UTC 2023 - Ondřej Súkup + +- update to 0.29 + * FIX: Add error output when pyproject.toml is malformed + * FIX: Add name to setup.py to work around a github dependency graph bug. + * ENH: Add basic type information throughout project. + * ENH: Detect pyproject.toml as project root (to support PDM). + * MNT: Overwrite version file instead of delete/unlink. + * MNT: Use https for the unlicense url. + +------------------------------------------------------------------- +Fri May 26 20:12:38 UTC 2023 - Ben Greiner + +- Update to 0.28 + * FIX: handle unset versionfile_build in build_ext by @mgorny in + #347 + * ENH: support built-in tomllib for Python 3.11+ by @mgorny in + #348 +- Release 0.27 + * FIX: Always bootstrap in setup.py to avoid incompatibility with + old versioneer by @mgorny (#344) + * FIX: Mixup between _egg_info and _sdist by @DimitriPapadopoulos + (#342) + * STY: Merge endswith checks by @DimitriPapadopoulos (#337) + * STY: Useless inheritance from object by @DimitriPapadopoulos + (#336) +- Provide [toml] extra as subpackage + +------------------------------------------------------------------- +Mon May 22 08:54:51 UTC 2023 - Dirk Müller + +- add sle15_python_module_pythons (jsc#PED-68) + +------------------------------------------------------------------- +Tue Oct 11 16:50:13 UTC 2022 - Yogalakshmi Arunachalam + +- Update to version 0.24 + * MNT: Relicense to Unlicense by @effigies in #317 + * ENH: in verbose mode do not hide stderr of git rev-parse by @yarikoptic in #318 + * DOC: clarify upgrading to 0.23 doesn't require special actions by @sappelhoff in #321 + * ENH: Prepare for py2exe dropping distutils support by @effigies in #319 + * ENH: Allow versioneer to be used as a module in PEP-518 mode by @effigies in #294 + +------------------------------------------------------------------- +Sat Aug 28 10:09:10 UTC 2021 - Matej Cepl + +- Make testing more verbose + +------------------------------------------------------------------- +Thu Aug 26 09:23:44 UTC 2021 - pgajdos@suse.com + +- version update to 0.20 + Release 0.20 (13-Jul-2020) + * Respect versionfile_source in __init__.py snippet (#241) + * Add pep440-branch and pep440-post-branch styles (#164) + * Stop testing deprecated easy_install, support left in for now (#237) + * Use versionfile_build instead of versionfile_source where needed (#242) + * Improve handling of refname edge cases (#229) + * Clarify installation in docs (#235) + * Play nicely with custom build_exts (#232) + Release 0.19 (10-Nov-2020) + * Drop support for Python < 3.6, test up to Python 3.9 + * Strip GPG signature information from date (#222) + * Add bdist_ext cmdclass, to support native code extensions (#171) + * Canonicalize pep440-pre style (#163) + * Take arguments to get_cmdclass +- test the package a bit at least + +------------------------------------------------------------------- +Tue Dec 4 12:55:48 UTC 2018 - Matej Cepl + +- Remove superfluous devel dependency for noarch package + +------------------------------------------------------------------- +Wed Jun 6 20:44:55 UTC 2018 - jengelh@inai.de + +- Ensure neutrality/accuracy of description + +------------------------------------------------------------------- +Mon Feb 19 17:44:38 UTC 2018 - arun@gmx.de + +- initial version diff --git a/python-versioneer.spec b/python-versioneer.spec new file mode 100644 index 0000000..319d46b --- /dev/null +++ b/python-versioneer.spec @@ -0,0 +1,91 @@ +# +# spec file for package python-versioneer +# +# Copyright (c) 2023 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} +Name: python-versioneer +Version: 0.29 +Release: 0 +Summary: VCS-based management of project version strings +License: Unlicense +Group: Development/Languages/Python +URL: https://github.com/warner/python-versioneer +Source: https://files.pythonhosted.org/packages/source/v/versioneer/versioneer-%{version}.tar.gz +BuildRequires: %{python_module pip} +BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module testsuite} +BuildRequires: %{python_module tomli if %python-base < 3.11} +BuildRequires: %{python_module wheel} +BuildRequires: fdupes +BuildRequires: python-rpm-macros +Requires(post): update-alternatives +Requires(postun):update-alternatives +BuildArch: noarch +%python_subpackages + +%description +Versioneer is a tool to automatically update version strings (in +setup.py and the conventional ‘from PROJECT import _version’ pattern) +by asking the version control system about the current tree. + +%package toml +Summary: VCS-based management of project version strings [toml] extra +Requires: python-versioneer = %{version} +Requires: (python-tomli if python-base < 3.11) + +%description toml +Versioneer is a tool to automatically update version strings (in +setup.py and the conventional ‘from PROJECT import _version’ pattern) +by asking the version control system about the current tree. + +This package provides the [toml] extra + +%prep +%setup -q -n versioneer-%{version} + +%build +%pyproject_wheel + +%install +%pyproject_install +%python_expand sed -i '1{/^#!/d}' %{buildroot}%{$python_sitelib}/versioneer.py +%python_compileall +%python_clone -a %{buildroot}%{_bindir}/versioneer +%python_expand %fdupes %{buildroot}%{$python_sitelib} + +%check +%pyunittest -v test/test_file.py + +%post +%python_install_alternative versioneer + +%postun +%python_uninstall_alternative versioneer + +%files %{python_files} +%doc README.md +%license LICENSE +%{python_sitelib}/versioneer.py* +%pycache_only %{python_sitelib}/__pycache__/versioneer*.pyc +%{python_sitelib}/versioneer-%{version}.dist-info +%python_alternative %{_bindir}/versioneer + +%files %{python_files toml} +%doc README.md +%license LICENSE + +%changelog diff --git a/versioneer-0.29.tar.gz b/versioneer-0.29.tar.gz new file mode 100644 index 0000000..2137301 --- /dev/null +++ b/versioneer-0.29.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5ab283b9857211d61b53318b7c792cf68e798e765ee17c27ade9f6c924235731 +size 75141