commit 53014760e9132820ce5c8c554fb4272b350cda394955f911818e3401613a6f61 Author: Markéta Machová Date: Thu Jun 12 10:51:05 2025 +0000 - Convert to pip-based build OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-setuptools-version-command?expand=0&rev=5 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-setuptools-version-command.changes b/python-setuptools-version-command.changes new file mode 100644 index 0000000..e9dfda2 --- /dev/null +++ b/python-setuptools-version-command.changes @@ -0,0 +1,22 @@ +------------------------------------------------------------------- +Thu Jun 12 10:49:16 UTC 2025 - Markéta Machová + +- Convert to pip-based build + +------------------------------------------------------------------- +Fri Oct 7 15:29:06 UTC 2022 - Yogalakshmi Arunachalam + +- Update to version 99.9 + * Add deprecation warning to code + * Add deprecation notice to README + * Final bump of version + +------------------------------------------------------------------- +Sun Oct 11 06:38:02 UTC 2020 - John Vandenberg + +- Activate test suite + +------------------------------------------------------------------- +Tue Jan 7 10:49:46 AM UTC 2020 - John Vandenberg + +- Initial spec for v2.2 diff --git a/python-setuptools-version-command.spec b/python-setuptools-version-command.spec new file mode 100644 index 0000000..e9db694 --- /dev/null +++ b/python-setuptools-version-command.spec @@ -0,0 +1,63 @@ +# +# spec file for package python-setuptools-version-command +# +# Copyright (c) 2025 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/ +# + + +Name: python-setuptools-version-command +Version: 99.9 +Release: 0 +Summary: Adds a command to dynamically get the version from the VCS of choice +License: MIT +Group: Development/Languages/Python +URL: https://github.com/j0057/setuptools-version-command +Source: https://github.com/j0057/setuptools-version-command/archive/%{version}.tar.gz#/setuptools-version-command-%{version}.tar.gz +BuildRequires: %{python_module pip} +BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} +BuildRequires: fdupes +BuildRequires: python-rpm-macros +Requires: python-setuptools +BuildArch: noarch +# SECTION test requirements +BuildRequires: %{python_module pytest} +# /SECTION +%python_subpackages + +%description +Adds a command to dynamically get the version from the VCS of choice. + +%prep +%setup -q -n setuptools-version-command-%{version} +rm setup.cfg + +%build +%pyproject_wheel + +%install +%pyproject_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} + +%check +%pytest + +%files %{python_files} +%doc AUTHORS README.rst +%license LICENSE +%{python_sitelib}/setuptools_version_command.py +%pycache_only %{python_sitelib}/__pycache__/setuptools_version_command* +%{python_sitelib}/setuptools[-_]version[-_]command-%{version}*-info + +%changelog diff --git a/setuptools-version-command-99.9.tar.gz b/setuptools-version-command-99.9.tar.gz new file mode 100644 index 0000000..3ccd254 --- /dev/null +++ b/setuptools-version-command-99.9.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8c69710b5d1483710552c4af8ed76def09b60dcd34fc3680b2444eff465364ba +size 58546