Hello community,

here is the log from the commit of package python-astral for openSUSE:Factory 
checked in at 2019-03-06 15:52:34
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-astral (Old)
 and      /work/SRC/openSUSE:Factory/.python-astral.new.28833 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-astral"

Wed Mar  6 15:52:34 2019 rev:5 rq:682135 version:1.10.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-astral/python-astral.changes      
2018-12-12 17:25:16.647121373 +0100
+++ /work/SRC/openSUSE:Factory/.python-astral.new.28833/python-astral.changes   
2019-03-06 15:52:43.548419874 +0100
@@ -1,0 +2,12 @@
+Wed Mar  6 12:19:26 UTC 2019 - Tomáš Chvátal <[email protected]>
+
+- Update to 1.10.1:
+  * Keywords arguments to Astral init are now passed to the geocoder 
+  * Added method to AstralGeocoder to add locations to the database
+  * Version 1.9 broke the sun_utc method. Sun UTC calculation passed incorrect 
parameter
+  * Corrected version number in module source code
+  * Sun calculations now take into account the elevation of the location
+  * Added command line interface to return sun information as json
+- Run tests
+
+-------------------------------------------------------------------

Old:
----
  LICENSE
  astral-1.7.1.tar.gz

New:
----
  astral-1.10.1.tar.gz

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

Other differences:
------------------
++++++ python-astral.spec ++++++
--- /var/tmp/diff_new_pack.aVF4Fm/_old  2019-03-06 15:52:44.868419608 +0100
+++ /var/tmp/diff_new_pack.aVF4Fm/_new  2019-03-06 15:52:44.872419608 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-astral
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -18,21 +18,21 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-astral
-Version:        1.7.1
+Version:        1.10.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
+URL:            https://github.com/sffjunkie/astral
 Source:         
https://files.pythonhosted.org/packages/source/a/astral/astral-%{version}.tar.gz
-Source99:       
https://raw.githubusercontent.com/sffjunkie/astral/master/LICENSE
+BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module pytz}
+BuildRequires:  %{python_module requests}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
-BuildRequires:  unzip
 Requires:       python-pytz
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
+Requires:       python-requests
 BuildArch:      noarch
 %python_subpackages
 
@@ -45,21 +45,20 @@
 
 For documentation see the http://astral.readthedocs.io/en/latest/index.html
 
-
 %prep
 %setup -q -n astral-%{version}
-cp %{S:99} .
 
 %build
 %python_build
 
 %install
 %python_install
-%python_expand %fdupes -s %{buildroot}/%{$python_sitelib}
+%python_expand %fdupes %{buildroot}/%{$python_sitelib}
+
+%check
+%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} 
py.test-%{$python_bin_suffix} -v -m "not webtest"
 
-%{?!license:%define license %doc}
 %files %{python_files}
-%defattr(-,root,root,-)
 %doc README.rst
 %license LICENSE
 %{python_sitelib}/*

++++++ astral-1.7.1.tar.gz -> astral-1.10.1.tar.gz ++++++
++++ 1660 lines of diff (skipped)


Reply via email to