forked from pool/python-pycomposefile
Accepting request 1115617 from home:glaubitz:branches:devel:languages:python
- Initial build + Version 0.0.30 OBS-URL: https://build.opensuse.org/request/show/1115617 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pycomposefile?expand=0&rev=1
This commit is contained in:
commit
7fd1ef03cf
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal 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
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
.osc
|
12
p_fix-version-number.patch
Normal file
12
p_fix-version-number.patch
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
diff -Nru pycomposefile-0.0.30.orig/setup.py pycomposefile-0.0.30/setup.py
|
||||||
|
--- pycomposefile-0.0.30.orig/setup.py 2023-01-17 17:59:29.000000000 +0100
|
||||||
|
+++ pycomposefile-0.0.30/setup.py 2023-10-04 15:16:46.064028015 +0200
|
||||||
|
@@ -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.30").lstrip("v")
|
||||||
|
|
||||||
|
setuptools.setup(
|
||||||
|
name="pycomposefile",
|
3
pycomposefile-0.0.30.tar.gz
Normal file
3
pycomposefile-0.0.30.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:190a2920ef05f86e620f3e0d1761931c2a57a38baa2877472337df69c8a1ca53
|
||||||
|
size 15893
|
5
python-pycomposefile.changes
Normal file
5
python-pycomposefile.changes
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Oct 4 13:22:09 UTC 2023 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||||
|
|
||||||
|
- Initial build
|
||||||
|
+ Version 0.0.30
|
65
python-pycomposefile.spec
Normal file
65
python-pycomposefile.spec
Normal file
@ -0,0 +1,65 @@
|
|||||||
|
#
|
||||||
|
# spec file for package python-pycomposefile
|
||||||
|
#
|
||||||
|
# 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/
|
||||||
|
#
|
||||||
|
|
||||||
|
|
||||||
|
Name: python-pycomposefile
|
||||||
|
Version: 0.0.30
|
||||||
|
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-rpm-macros
|
||||||
|
BuildRequires: %{python_module pip}
|
||||||
|
BuildRequires: %{python_module setuptools}
|
||||||
|
BuildRequires: %{python_module wheel}
|
||||||
|
# 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
|
Loading…
x
Reference in New Issue
Block a user