15
0
forked from pool/python-astral

Accepting request 814186 from home:alarrosa:branches:devel:languages:python

- Update to 2.2:
  * Fix for bug #48. As per the bug report the angle to adjust for
    the effect of elevation should have been θ (not α).
  * The sun functions can now also be passed the timezone as a
    string. Previously only a pytz timezone was accepted.

OBS-URL: https://build.opensuse.org/request/show/814186
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-astral?expand=0&rev=18
This commit is contained in:
Tomáš Chvátal
2020-06-13 13:54:09 +00:00
committed by Git OBS Bridge
parent 057b38609d
commit 40bf1a35bb
4 changed files with 13 additions and 7 deletions

View File

@@ -19,7 +19,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
Name: python-astral
Version: 2.1
Version: 2.2
Release: 0
Summary: Calculations for the position of the sun and moon
License: Apache-2.0
@@ -55,9 +55,6 @@ For documentation see the http://astral.readthedocs.io/en/latest/index.html
%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