[packages/python3-ruamel.yaml] - python-ruamel.yaml.spec updated to 0.18.14 for python 3.9+
qboosh
qboosh at pld-linux.org
Sun Jul 6 20:56:18 CEST 2025
commit c7bc7a0df36884e2d575222b34a9d1ac69ffb032
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Sun Jul 6 20:57:48 2025 +0200
- python-ruamel.yaml.spec updated to 0.18.14 for python 3.9+
python-ruamel.yaml.spec | 98 ------------------------------------------------
python3-ruamel.yaml.spec | 47 +++++++++++++++++++++++
2 files changed, 47 insertions(+), 98 deletions(-)
---
diff --git a/python-ruamel.yaml.spec b/python-ruamel.yaml.spec
deleted file mode 100644
index 5bfeada..0000000
--- a/python-ruamel.yaml.spec
+++ /dev/null
@@ -1,98 +0,0 @@
-#
-# Conditional build:
-%bcond_without python2 # CPython 2.x module
-%bcond_without python3 # CPython 3.x module
-
-%define module ruamel.yaml
-Summary: YAML 1.2 loader/dumper for Python 2
-Summary(pl.UTF-8): Biblioteka do wczytywania/zrzucania YAML-a 1.2 dla Pythona 2
-Name: python-%{module}
-Version: 0.16.13
-Release: 1
-License: MIT
-Group: Libraries/Python
-#Source0Download: https://pypi.org/simple/ruamel.yaml/
-Source0: https://files.pythonhosted.org/packages/source/r/ruamel.yaml/%{module}-%{version}.tar.gz
-# Source0-md5: fa6c72a79b9f420628d83c2d50f9e4c7
-URL: https://pypi.org/project/ruamel.yaml/
-BuildRequires: rpm-pythonprov
-BuildRequires: rpmbuild(macros) >= 1.714
-%if %{with python2}
-BuildRequires: python-modules >= 1:2.7
-BuildRequires: python-setuptools >= 1:28.7.0
-%endif
-%if %{with python3}
-BuildRequires: python3-modules >= 1:3.5
-BuildRequires: python3-setuptools >= 1:28.7.0
-%endif
-Requires: python-modules >= 1:2.7
-BuildArch: noarch
-BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
-
-%description
-YAML parser/emitter that supports roundtrip preservation of comments,
-seq/map flow style and map key order.
-
-%description -l pl.UTF-8
-Biblioteka do analizy/tworzenia YAML-a zachowująca komentarze i
-kolejność kluczy w mapach.
-
-%package -n python3-%{module}
-Summary: YAML 1.2 loader/dumper for Python 3
-Summary(pl.UTF-8): Biblioteka do wczytywania/zrzucania YAML-a 1.2 dla Pythona 3
-Group: Libraries/Python
-Requires: python3-modules >= 1:3.5
-
-%description -n python3-%{module}
-YAML parser/emitter that supports roundtrip preservation of comments,
-seq/map flow style and map key order.
-
-%description -n python3-%{module} -l pl.UTF-8
-Biblioteka do analizy/tworzenia YAML-a zachowująca komentarze i
-kolejność kluczy w mapach.
-
-%prep
-%setup -q -n %{module}-%{version}
-
-%build
-%if %{with python2}
-%py_build
-%endif
-
-%if %{with python3}
-%py3_build
-%endif
-
-%install
-rm -rf $RPM_BUILD_ROOT
-
-%if %{with python2}
-%py_install
-
-%py_postclean
-%endif
-
-%if %{with python3}
-%py3_install
-%endif
-
-%clean
-rm -rf $RPM_BUILD_ROOT
-
-%if %{with python2}
-%files
-%defattr(644,root,root,755)
-%doc CHANGES LICENSE README.rst
-%{py_sitescriptdir}/ruamel/yaml
-%{py_sitescriptdir}/ruamel.yaml-%{version}-py*.egg-info
-%{py_sitescriptdir}/ruamel.yaml-%{version}-py*-nspkg.pth
-%endif
-
-%if %{with python3}
-%files -n python3-%{module}
-%defattr(644,root,root,755)
-%doc CHANGES LICENSE README.rst
-%{py3_sitescriptdir}/ruamel/yaml
-%{py3_sitescriptdir}/ruamel.yaml-%{version}-py*.egg-info
-%{py3_sitescriptdir}/ruamel.yaml-%{version}-py*-nspkg.pth
-%endif
diff --git a/python3-ruamel.yaml.spec b/python3-ruamel.yaml.spec
new file mode 100644
index 0000000..1fe1aa5
--- /dev/null
+++ b/python3-ruamel.yaml.spec
@@ -0,0 +1,47 @@
+%define module ruamel.yaml
+Summary: YAML 1.2 loader/dumper for Python 3
+Summary(pl.UTF-8): Biblioteka do wczytywania/zrzucania YAML-a 1.2 dla Pythona 3
+Name: python3-%{module}
+Version: 0.18.14
+Release: 1
+License: MIT
+Group: Libraries/Python
+#Source0Download: https://pypi.org/simple/ruamel.yaml/
+Source0: https://files.pythonhosted.org/packages/source/r/ruamel.yaml/%{module}-%{version}.tar.gz
+# Source0-md5: 367c7a1c5cad44704ee06ee625e5a06e
+URL: https://pypi.org/project/ruamel.yaml/
+BuildRequires: python3-modules >= 1:3.9
+BuildRequires: python3-setuptools >= 1:28.7.0
+BuildRequires: rpm-pythonprov
+BuildRequires: rpmbuild(macros) >= 1.714
+Requires: python3-modules >= 1:3.9
+BuildArch: noarch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+YAML parser/emitter that supports roundtrip preservation of comments,
+seq/map flow style and map key order.
+
+%description -l pl.UTF-8
+Biblioteka do analizy/tworzenia YAML-a zachowująca komentarze i
+kolejność kluczy w mapach.
+
+%prep
+%setup -q -n %{module}-%{version}
+
+%build
+%py3_build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%py3_install
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc CHANGES LICENSE README.md
+%{py3_sitescriptdir}/ruamel/yaml
+%{py3_sitescriptdir}/ruamel.yaml-%{version}-py*.egg-info
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python3-ruamel.yaml.git/commitdiff/c7bc7a0df36884e2d575222b34a9d1ac69ffb032
More information about the pld-cvs-commit
mailing list