forked from pool/python-convertdate
- Update to 2.3.2:
* Switch Persian calendar to astronomical computation (was non-canonical algorithmic method) * Fix inappropriate uses of trunc, which caused several errors before the Julian Day epoch (#39, #40, #42) * Fix bug in julian.leap (#43) * Add official suppport and tests for Python 3.9 * Raise ValueError for attempted conversion of dates before the Mayan epoch * Fix bug in Bahai calculations during Ayyám-i-Há (#32). Thanks @chiuczek * Regularize variable names: * coptic: rename MONTH_NAMES to MONTHS, rename DAY_NAMES to WEEKDAYS * french_republican: add MONTHS * mayan: rename HAAB_MONTHS to HAAB, rename TZOLKIN_NAMES to TZOLKIN * Add some Jewish and Islamic holidays to holidays: shemini_azeret, lag_baomer, tu_beshvat, tisha_bav, ramadan, ashura, eid_alfitr, eid_aladha * Add docs. See https://convertdate.readthedocs.io/ * Fix December 31st bug in ordinal (#34) * Add Indigenous Peoples' Day and Juneteenth to holidays, deprecate Columbus day - Switch to using pytest OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-convertdate?expand=0&rev=13
This commit is contained in:
parent
1a24f37066
commit
36833afcd9
@ -1,3 +1,23 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Mar 17 05:48:21 UTC 2021 - Steve Kowalik <steven.kowalik@suse.com>
|
||||
|
||||
- Update to 2.3.2:
|
||||
* Switch Persian calendar to astronomical computation (was non-canonical algorithmic method)
|
||||
* Fix inappropriate uses of trunc, which caused several errors before the Julian Day epoch (#39, #40, #42)
|
||||
* Fix bug in julian.leap (#43)
|
||||
* Add official suppport and tests for Python 3.9
|
||||
* Raise ValueError for attempted conversion of dates before the Mayan epoch
|
||||
* Fix bug in Bahai calculations during Ayyám-i-Há (#32). Thanks @chiuczek
|
||||
* Regularize variable names:
|
||||
* coptic: rename MONTH_NAMES to MONTHS, rename DAY_NAMES to WEEKDAYS
|
||||
* french_republican: add MONTHS
|
||||
* mayan: rename HAAB_MONTHS to HAAB, rename TZOLKIN_NAMES to TZOLKIN
|
||||
* Add some Jewish and Islamic holidays to holidays: shemini_azeret, lag_baomer, tu_beshvat, tisha_bav, ramadan, ashura, eid_alfitr, eid_aladha
|
||||
* Add docs. See https://convertdate.readthedocs.io/
|
||||
* Fix December 31st bug in ordinal (#34)
|
||||
* Add Indigenous Peoples' Day and Juneteenth to holidays, deprecate Columbus day
|
||||
- Switch to using pytest
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon May 4 10:38:40 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-convertdate
|
||||
#
|
||||
# Copyright (c) 2020 SUSE LLC
|
||||
# Copyright (c) 2021 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -18,7 +18,7 @@
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-convertdate
|
||||
Version: 2.2.0
|
||||
Version: 2.3.2
|
||||
Release: 0
|
||||
Summary: Module for date conversions from and to Gregorian calendar
|
||||
License: MIT
|
||||
@ -32,6 +32,7 @@ Requires: python-pytz >= 2014.10
|
||||
BuildArch: noarch
|
||||
# SECTION test requirements
|
||||
BuildRequires: %{python_module PyMeeus >= 0.3.6}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module pytz >= 2014.10}
|
||||
# /SECTION
|
||||
%python_subpackages
|
||||
@ -56,7 +57,7 @@ export LC_ALL="en_US.UTF8"
|
||||
|
||||
%check
|
||||
export LC_ALL="en_US.UTF8"
|
||||
%python_exec setup.py test
|
||||
%pytest
|
||||
|
||||
%files %{python_files}
|
||||
%doc README.md
|
||||
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:9b465dfeaad6575826c46e1196afb8f8bcfc46b3c9a631a0c4b934a09526d0f2
|
||||
size 37221
|
3
v2.3.2.tar.gz
Normal file
3
v2.3.2.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:ec0757193a5263647ae8ecb26ca1cd7c0f9da9f81a287cfd515ab176e62ebe86
|
||||
size 52155
|
Loading…
x
Reference in New Issue
Block a user