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

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7f57ad3ed2aa00fbed2893d82cdd2000e0723a5dbe167e1b7f847cc555596f65
size 204416

3
astral-2.2.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e41d9967d5c48be421346552f0f4dedad43ff39a83574f5ff2ad32b6627b6fbe
size 578223

View File

@@ -1,3 +1,12 @@
-------------------------------------------------------------------
Fri Jun 12 15:00:14 UTC 2020 - Antonio Larrosa <alarrosa@suse.com>
- 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.
-------------------------------------------------------------------
Fri Mar 6 18:24:26 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>

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