Hello community,

here is the log from the commit of package python-pydantic for openSUSE:Factory 
checked in at 2020-12-12 20:28:50
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pydantic (Old)
 and      /work/SRC/openSUSE:Factory/.python-pydantic.new.2328 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-pydantic"

Sat Dec 12 20:28:50 2020 rev:7 rq:853456 version:1.6.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-pydantic/python-pydantic.changes  
2020-10-29 09:47:43.936136093 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-pydantic.new.2328/python-pydantic.changes    
    2020-12-12 20:31:12.021779172 +0100
@@ -1,0 +2,6 @@
+Mon Dec  7 01:00:22 UTC 2020 - Benjamin Greiner <c...@bnavigator.de>
+
+- Add dataclasses requirement for Python 3.6: Fixes Leap 15.2 build
+  and future TW python36 flavor gh#openSUSE/python-rpm-macros#66
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-pydantic.spec ++++++
--- /var/tmp/diff_new_pack.sHiq6w/_old  2020-12-12 20:31:12.661779840 +0100
+++ /var/tmp/diff_new_pack.sHiq6w/_new  2020-12-12 20:31:12.665779844 +0100
@@ -30,13 +30,17 @@
 # PATCH-FIX-UPSTREAM 
https://github.com/samuelcolvin/pydantic/commit/9c4860ce964a4eb2e22eedc21f21d406c596a82f
 Valdiate arguments config (#1663)
 Patch0:         validate-config.patch
 BuildRequires:  %{python_module email_validator >= 1.0.3}
-BuildRequires:  %{python_module mypy}
 BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module python-dotenv >= 0.10.4}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  %{python_module typing_extensions >= 3.7.2}
+BuildRequires:  (python36-dataclasses if python36-base)
+BuildRequires:  (python3-dataclasses if python3-base < 3.7)
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
+%if 0%{?python_version_nodots} == 36
+Requires:       python-dataclasses
+%endif
 Recommends:     python-typing_extensions >= 3.7.2
 Suggests:       python-email_validator >= 1.0.3
 Suggests:       python-python-dotenv >= 0.10.4
@@ -49,7 +53,6 @@
 %prep
 %setup -q -n pydantic-%{version}
 %patch0 -p1
-sed -i /dataclasses/d setup.py
 
 %build
 %python_build
@@ -64,6 +67,7 @@
 %files %{python_files}
 %license LICENSE
 %doc README.md HISTORY.md
-%{python_sitelib}/*
+%{python_sitelib}/pydantic
+%{python_sitelib}/pydantic-%{version}*-info
 
 %changelog
_______________________________________________
openSUSE Commits mailing list -- commit@lists.opensuse.org
To unsubscribe, email commit-le...@lists.opensuse.org
List Netiquette: https://en.opensuse.org/openSUSE:Mailing_list_netiquette
List Archives: 
https://lists.opensuse.org/archives/list/commit@lists.opensuse.org

Reply via email to