commit 8822ebb0883aa044532a4bc71b69f6bcb4d0e278ee89e1b3ae391fa55093bd61 Author: Markéta Machová Date: Thu Jun 12 08:17:19 2025 +0000 - Convert to pip-based build OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ruamel.base?expand=0&rev=9 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-ruamel.base.changes b/python-ruamel.base.changes new file mode 100644 index 0000000..bbb3975 --- /dev/null +++ b/python-ruamel.base.changes @@ -0,0 +1,30 @@ +------------------------------------------------------------------- +Thu Jun 12 08:15:55 UTC 2025 - Markéta Machová + +- Convert to pip-based build + +------------------------------------------------------------------- +Mon Oct 14 14:41:47 UTC 2019 - Matej Cepl + +- Replace %fdupes -s with plain %fdupes; hardlinks are better. + +------------------------------------------------------------------- +Mon Jul 15 15:06:26 UTC 2019 - John Vandenberg + +- Replace namespace nspkg.pth and --single-version-externally-managed + with a normal namespace __init__.py +- Bumped version to 1.0.0+post1 due to incompatible namespace technique +- Tidy spec + +------------------------------------------------------------------- +Mon Apr 24 13:16:01 UTC 2017 - aloisio@gmx.com + +- Converted to single-spec + +------------------------------------------------------------------- +Tue Oct 11 18:24:27 UTC 2016 - rjschwei@suse.com + +- Initial build (FATE#321630, bsc#1002895) + + Include in SLES 12 + + Version 1.0.0 + diff --git a/python-ruamel.base.spec b/python-ruamel.base.spec new file mode 100644 index 0000000..cf322b1 --- /dev/null +++ b/python-ruamel.base.spec @@ -0,0 +1,60 @@ +# +# spec file for package python-ruamel.base +# +# 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-ruamel.base +Version: 1.0.0+post1 +Release: 0 +Summary: Shared ruamel routines +License: MIT +URL: https://bitbucket.org/ruamel/base +Source: https://files.pythonhosted.org/packages/source/r/ruamel.base/ruamel.base-1.0.0.tar.gz +BuildRequires: %{python_module pip} +BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} +BuildRequires: fdupes +BuildRequires: python-rpm-macros +BuildArch: noarch +%python_subpackages + +%description +This is a common package for the "ruamel" namespace. + +%prep +%setup -q -n ruamel.base-1.0.0 +rm -rf *.egg-info +# https://bitbucket.org/ruamel/base/issues/1 +sed -i '/sys.exit/d' setup.py +# Use normal namespaces with a __init__.py, so it is easier to +# managed the ordereddict and yaml packages which also include .so files +sed -i '/namespace_packages=/d' setup.py + +%build +%pyproject_wheel + +%install +export RUAMEL_NO_PIP_INSTALL_CHECK=1 +%pyproject_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} + +%files %{python_files} +%doc README.rst +%license LICENSE +%{python_sitelib}/ruamel +%{python_sitelib}/ruamel.base-1.0.0*-info + +%changelog diff --git a/ruamel.base-1.0.0.tar.gz b/ruamel.base-1.0.0.tar.gz new file mode 100644 index 0000000..cc5194f --- /dev/null +++ b/ruamel.base-1.0.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c041333a0f0f00cd6593eb36aa83abb1a9e7544e83ba7a42aa7ac7476cee5cf3 +size 5219