- update to 1.4.1:

* The enable command would fail when the pyproject.toml tables were out of order.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-poetry-dynamic-versioning?expand=0&rev=9
This commit is contained in:
Richard Rahl 2024-09-11 05:56:35 +00:00 committed by Git OBS Bridge
commit b91d0c2812
6 changed files with 139 additions and 0 deletions

23
.gitattributes vendored Normal file
View 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
View File

@ -0,0 +1 @@
.osc

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:725178bd50a22f2dd4035de7f965151e14ecf8f7f19996b9e536f4c5559669a7
size 32629

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:21584d21ca405aa7d83d23d38372e3c11da664a8742995bdd517577e8676d0e1
size 32806

View File

@ -0,0 +1,36 @@
-------------------------------------------------------------------
Wed Sep 11 05:43:07 UTC 2024 - Richard Rahl <rrahl0@opensuse.org>
- update to 1.4.1:
* The enable command would fail when the pyproject.toml tables were out of order.
-------------------------------------------------------------------
Sun Jun 30 20:01:26 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 1.4.0:
* The plugin now supports Poetry's upcoming PEP-621
functionality.
-------------------------------------------------------------------
Tue May 7 20:56:00 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 1.3.0:
* `pattern-prefix` option to add a prefix to the version tag
pattern.
* `ignore-untracked` option to control the detection of dirty
state.
* `from-file` config section to read a version from a file
instead of the VCS.
* `POETRY_DYNAMIC_VERSIONING_DEBUG` environment variable for
some logging.
* Updated Dunamai to 1.21.0+ for the latest features
-------------------------------------------------------------------
Fri Feb 23 18:14:04 UTC 2024 - Richard Rahl <rrahl0@proton.me>
- fix runtime dependencies
-------------------------------------------------------------------
Wed Dec 13 03:26:54 UTC 2023 - Richard Rahl <rrahl0@proton.me>
- initial packaging

View File

@ -0,0 +1,73 @@
#
# spec file for package python-poetry-dynamic-versioning
#
# 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}
Name: python-poetry-dynamic-versioning
Version: 1.4.1
Release: 0
Summary: Plugin for Poetry to enable dynamic versioning based on VCS tags
License: MIT
Group: Development/Libraries/Python
URL: https://github.com/mtkennerly/poetry-dynamic-versioning
Source: https://files.pythonhosted.org/packages/source/p/poetry-dynamic-versioning/poetry_dynamic_versioning-%{version}.tar.gz
BuildRequires: %{python_module devel}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module poetry-core >= 1.2.0}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-Jinja2
Requires: python-dunamai >= 1.21.0
Requires: python-tomlkit
Requires(post): update-alternatives
Requires(postun): update-alternatives
BuildArch: noarch
%python_subpackages
%description
%{summary}.
%prep
%autosetup -p1 -n poetry_dynamic_versioning-%{version}
%build
%pyproject_wheel
%install
%pyproject_install
%python_clone -a %{buildroot}%{_bindir}/poetry-dynamic-versioning
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%prepare_alternative poetry-dynamic-versioning
%{python_compileall}
%post
%python_install_alternative poetry-dynamic-versioning
%postun
%python_uninstall_alternative poetry-dynamic-versioning
%check
#every test reaches out to the internet
%files %{python_files}
%python_alternative %{_bindir}/poetry-dynamic-versioning
%{python_sitelib}/poetry_dynamic_versioning
%{python_sitelib}/poetry_dynamic_versioning-%{version}.dist-info
%changelog