Hello community,

here is the log from the commit of package python-astral for openSUSE:Factory 
checked in at 2020-03-06 21:27:37
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-astral (Old)
 and      /work/SRC/openSUSE:Factory/.python-astral.new.26092 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-astral"

Fri Mar  6 21:27:37 2020 rev:6 rq:782231 version:2.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-astral/python-astral.changes      
2019-03-06 15:52:43.548419874 +0100
+++ /work/SRC/openSUSE:Factory/.python-astral.new.26092/python-astral.changes   
2020-03-06 21:27:43.285565758 +0100
@@ -1,0 +2,14 @@
+Fri Mar  6 18:24:26 UTC 2020 - Tomáš Chvátal <tchva...@suse.com>
+
+- Do not install doc and test folders to sitelib
+
+-------------------------------------------------------------------
+Thu Mar  5 09:52:44 UTC 2020 - pgaj...@suse.com
+
+- version update to 2.1
+  * v2.0 - Python 3 only
+  * Fix for documentation on PyPi
+  * Added python to code-block directives
+  * Fix for bug #44
+
+-------------------------------------------------------------------

Old:
----
  astral-1.10.1.tar.gz

New:
----
  astral-2.1.tar.gz

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

Other differences:
------------------
++++++ python-astral.spec ++++++
--- /var/tmp/diff_new_pack.XC2OSC/_old  2020-03-06 21:27:44.109566266 +0100
+++ /var/tmp/diff_new_pack.XC2OSC/_new  2020-03-06 21:27:44.109566266 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-astral
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,14 +17,15 @@
 
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
+%define skip_python2 1
 Name:           python-astral
-Version:        1.10.1
+Version:        2.1
 Release:        0
 Summary:        Calculations for the position of the sun and moon
 License:        Apache-2.0
-Group:          Development/Languages/Python
 URL:            https://github.com/sffjunkie/astral
 Source:         
https://files.pythonhosted.org/packages/source/a/astral/astral-%{version}.tar.gz
+BuildRequires:  %{python_module freezegun}
 BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module pytz}
 BuildRequires:  %{python_module requests}
@@ -33,6 +34,7 @@
 BuildRequires:  python-rpm-macros
 Requires:       python-pytz
 Requires:       python-requests
+Recommends:     python-dataclasses
 BuildArch:      noarch
 %python_subpackages
 
@@ -53,10 +55,13 @@
 
 %install
 %python_install
+# do not install bogus doc module
+%python_expand rm -r %{buildroot}/%{$python_sitelib}/doc
+%python_expand rm -r %{buildroot}/%{$python_sitelib}/test
 %python_expand %fdupes %{buildroot}/%{$python_sitelib}
 
 %check
-%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} 
py.test-%{$python_bin_suffix} -v -m "not webtest"
+%pytest -m "not webtest"
 
 %files %{python_files}
 %doc README.rst

++++++ astral-1.10.1.tar.gz -> astral-2.1.tar.gz ++++++
++++ 11120 lines of diff (skipped)


Reply via email to