[packages/python3-dictdiffer] - up to 0.9.0

baggins baggins at pld-linux.org
Sat Apr 5 23:29:20 CEST 2025


commit e930f45c44f20e537343db683d66be1b1ba50c8a
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Sun Apr 6 00:29:18 2025 +0200

    - up to 0.9.0

 python-dictdiffer.spec  | 97 -------------------------------------------------
 python3-dictdiffer.spec | 48 ++++++++++++++++++++++++
 2 files changed, 48 insertions(+), 97 deletions(-)
---
diff --git a/python-dictdiffer.spec b/python-dictdiffer.spec
deleted file mode 100644
index ced75b8..0000000
--- a/python-dictdiffer.spec
+++ /dev/null
@@ -1,97 +0,0 @@
-#
-# Conditional build:
-%bcond_without	python2 # CPython 2.x module
-%bcond_without	python3 # CPython 3.x module
-
-%define		module		dictdiffer
-Summary:	Dictdiffer - a library that helps you to diff and patch dictionaries
-Summary(pl.UTF-8):	Dictdiffer - biblioteka pomagająca porównywać i łatać słowniki
-Name:		python-%{module}
-# keep 0.8.x here for python2 support
-Version:	0.8.1
-Release:	8
-License:	MIT
-Group:		Libraries/Python
-#Source0Download: https://pypi.org/simple/dictdiffer/
-Source0:	https://files.pythonhosted.org/packages/source/d/dictdiffer/%{module}-%{version}.tar.gz
-# Source0-md5:	3185fe683d976282bf6313de14b7c7e9
-URL:		https://github.com/inveniosoftware/dictdiffer
-%if %{with python2}
-BuildRequires:	python-modules >= 1:2.7
-BuildRequires:	python-setuptools
-%endif
-%if %{with python3}
-BuildRequires:	python3-modules >= 1:3.4
-BuildRequires:	python3-setuptools
-%endif
-BuildRequires:	rpm-pythonprov
-BuildRequires:	rpmbuild(macros) >= 1.714
-Requires:	python-modules >= 1:2.7
-BuildArch:	noarch
-BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
-
-%description
-Dictdiffer is a helper module that helps you to diff and patch
-dictionaries.
-
-%description -l pl.UTF-8
-Dictdiffer to moduł pomocniczy, pomagający porównywać i łatać
-słowniki.
-
-%package -n python3-%{module}
-Summary:	Dictdiffer - a library that helps you to diff and patch dictionaries
-Summary(pl.UTF-8):	Dictdiffer - biblioteka pomagająca porównywać i łatać słowniki
-Group:		Libraries/Python
-Requires:	python3-modules >= 1:3.4
-
-%description -n python3-%{module}
-Dictdiffer is a helper module that helps you to diff and patch
-dictionaries.
-
-%description -n python3-%{module} -l pl.UTF-8
-Dictdiffer to moduł pomocniczy, pomagający porównywać i łatać
-słowniki.
-
-%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 AUTHORS CHANGES CONTRIBUTING.rst MAINTAINERS README.rst
-%{py_sitescriptdir}/%{module}
-%{py_sitescriptdir}/%{module}-%{version}-py*.egg-info
-%endif
-
-%if %{with python3}
-%files -n python3-%{module}
-%defattr(644,root,root,755)
-%doc AUTHORS CHANGES CONTRIBUTING.rst MAINTAINERS README.rst
-%{py3_sitescriptdir}/%{module}
-%{py3_sitescriptdir}/%{module}-%{version}-py*.egg-info
-%endif
diff --git a/python3-dictdiffer.spec b/python3-dictdiffer.spec
new file mode 100644
index 0000000..d83e4c9
--- /dev/null
+++ b/python3-dictdiffer.spec
@@ -0,0 +1,48 @@
+%define		module		dictdiffer
+Summary:	Dictdiffer - a library that helps you to diff and patch dictionaries
+Summary(pl.UTF-8):	Dictdiffer - biblioteka pomagająca porównywać i łatać słowniki
+Name:		python3-%{module}
+Version:	0.9.0
+Release:	1
+License:	MIT
+Group:		Libraries/Python
+#Source0Download: https://pypi.org/simple/dictdiffer/
+Source0:	https://files.pythonhosted.org/packages/source/d/dictdiffer/%{module}-%{version}.tar.gz
+# Source0-md5:	524b353b969300d4dc6aa6720c953657
+URL:		https://github.com/inveniosoftware/dictdiffer
+BuildRequires:	python3-modules >= 1:3.4
+BuildRequires:	python3-pytest-runner >= 2.7
+BuildRequires:	python3-setuptools
+BuildRequires:	rpm-pythonprov
+BuildRequires:	rpmbuild(macros) >= 1.714
+Requires:	python-modules >= 1:2.7
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Dictdiffer is a helper module that helps you to diff and patch
+dictionaries.
+
+%description -l pl.UTF-8
+Dictdiffer to moduł pomocniczy, pomagający porównywać i łatać
+słowniki.
+
+%prep
+%setup -q -n %{module}-%{version}
+
+%build
+%py3_build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%py3_install
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files -n python3-%{module}
+%defattr(644,root,root,755)
+%doc AUTHORS CHANGES CONTRIBUTING.rst MAINTAINERS README.rst
+%{py3_sitescriptdir}/%{module}
+%{py3_sitescriptdir}/%{module}-%{version}-py*.egg-info
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python3-dictdiffer.git/commitdiff/e930f45c44f20e537343db683d66be1b1ba50c8a



More information about the pld-cvs-commit mailing list