- Update to version 0.0.32

* Update build.yaml
  * Updates
  * Bump publish
  * Update publish with 3.10 (quotes)
- from version 0.0.31
  * Create LICENSE
  * Replace import of “src.pycomposefile” in a test
  * Resolved error when environment variable value contains equal sign
- Refresh p_fix-version-number.patch

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pycomposefile?expand=0&rev=5
This commit is contained in:
2025-02-13 20:49:16 +00:00
committed by Git OBS Bridge
commit 2d112a5a56
7 changed files with 133 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,12 @@
diff -Nru pycomposefile-0.0.32.orig/setup.py pycomposefile-0.0.32/setup.py
--- pycomposefile-0.0.32.orig/setup.py 2024-10-22 21:45:01.000000000 +0200
+++ pycomposefile-0.0.32/setup.py 2025-02-13 09:44:53.716839775 +0100
@@ -3,7 +3,7 @@
long_desc = open("README.md").read()
required = ['pyyaml'] # Comma seperated dependent libraries name
-version = os.environ.get("BUILD_TAG", "0.0.1a1").lstrip("v")
+version = os.environ.get("BUILD_TAG", "0.0.32").lstrip("v")
setuptools.setup(
name="pycomposefile",

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:190a2920ef05f86e620f3e0d1761931c2a57a38baa2877472337df69c8a1ca53
size 15893

BIN
pycomposefile-0.0.32.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@@ -0,0 +1,25 @@
-------------------------------------------------------------------
Thu Feb 13 20:48:26 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to version 0.0.32
* Update build.yaml
* Updates
* Bump publish
* Update publish with 3.10 (quotes)
- from version 0.0.31
* Create LICENSE
* Replace import of “src.pycomposefile” in a test
* Resolved error when environment variable value contains equal sign
- Refresh p_fix-version-number.patch
-------------------------------------------------------------------
Wed Mar 6 14:58:59 UTC 2024 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Switch package to modern Python Stack on SLE-15
+ Add %{?sle15_python_module_pythons}
-------------------------------------------------------------------
Wed Oct 4 13:22:09 UTC 2023 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Initial build
+ Version 0.0.30

66
python-pycomposefile.spec Normal file
View File

@@ -0,0 +1,66 @@
#
# spec file for package python-pycomposefile
#
# 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/
#
%{?sle15_python_module_pythons}
Name: python-pycomposefile
Version: 0.0.32
Release: 0
Summary: Structured deserialization of Docker Compose files
License: MIT
URL: https://github.com/smurawski/pycomposefile
Source: https://files.pythonhosted.org/packages/source/p/pycomposefile/pycomposefile-%{version}.tar.gz
# PATCH-FIX-UPSTREAM p_fix-version-number.patch
# https://github.com/smurawski/pycomposefile/issues/29
Patch: p_fix-version-number.patch
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: python-rpm-macros
# SECTION test requirements
BuildRequires: %{python_module PyYAML}
# /SECTION
BuildRequires: fdupes
Requires: python-PyYAML
BuildArch: noarch
%python_subpackages
%description
Structured deserialization of Docker Compose files.
%prep
%autosetup -p1 -n pycomposefile-%{version}
%build
%pyproject_wheel
%install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
# Tests currently fail due to missing files in PyPi tarball
# see: https://github.com/smurawski/pycomposefile/issues/28
#%%check
#%%pyunittest -v
%files %{python_files}
%doc README.md
%exclude %{python_sitelib}/tests
%{python_sitelib}/pycomposefile
%{python_sitelib}/pycomposefile-%{version}.dist-info
%changelog