diff --git a/python-convertdate.changes b/python-convertdate.changes index e8653a6..a607f2d 100644 --- a/python-convertdate.changes +++ b/python-convertdate.changes @@ -1,3 +1,23 @@ +------------------------------------------------------------------- +Wed Mar 17 05:48:21 UTC 2021 - Steve Kowalik + +- 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 diff --git a/python-convertdate.spec b/python-convertdate.spec index 05cb9a5..c75eef3 100644 --- a/python-convertdate.spec +++ b/python-convertdate.spec @@ -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 diff --git a/v2.2.0.tar.gz b/v2.2.0.tar.gz deleted file mode 100644 index 18afe58..0000000 --- a/v2.2.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:9b465dfeaad6575826c46e1196afb8f8bcfc46b3c9a631a0c4b934a09526d0f2 -size 37221 diff --git a/v2.3.2.tar.gz b/v2.3.2.tar.gz new file mode 100644 index 0000000..c9589c9 --- /dev/null +++ b/v2.3.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ec0757193a5263647ae8ecb26ca1cd7c0f9da9f81a287cfd515ab176e62ebe86 +size 52155