From 2962a8e89d0cc41f1c79e95687883b85da9c1853eebe1f68c40eb89634698d2f Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Thu, 27 Jan 2022 20:16:22 +0000 Subject: [PATCH] - update to 3.8.2: * Fix older version objects unpickling problem * Fixed pickle problem of jdate and jdatetime objects(#108) * Fixed unicode literal problem in isoformat * Add ZoneInfo support * Add date.min based on cpython implementation * Add date.max based on cpython implementation * Run test and publish package from github action OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-jdatetime?expand=0&rev=8 --- python-jdatetime.changes | 12 ++++++++++++ python-jdatetime.spec | 8 +++++--- v3.6.2.tar.gz | 3 --- v3.8.2.tar.gz | 3 +++ 4 files changed, 20 insertions(+), 6 deletions(-) delete mode 100644 v3.6.2.tar.gz create mode 100644 v3.8.2.tar.gz diff --git a/python-jdatetime.changes b/python-jdatetime.changes index 949abb4..5a73b30 100644 --- a/python-jdatetime.changes +++ b/python-jdatetime.changes @@ -1,3 +1,15 @@ +------------------------------------------------------------------- +Thu Jan 27 20:11:23 UTC 2022 - Dirk Müller + +- update to 3.8.2: + * Fix older version objects unpickling problem + * Fixed pickle problem of jdate and jdatetime objects(#108) + * Fixed unicode literal problem in isoformat + * Add ZoneInfo support + * Add date.min based on cpython implementation + * Add date.max based on cpython implementation + * Run test and publish package from github action + ------------------------------------------------------------------- Mon Mar 2 04:02:53 UTC 2020 - Steve Kowalik diff --git a/python-jdatetime.spec b/python-jdatetime.spec index d1442be..383c18f 100644 --- a/python-jdatetime.spec +++ b/python-jdatetime.spec @@ -1,7 +1,7 @@ # # spec file for package python-jdatetime # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,15 +18,17 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-jdatetime -Version: 3.6.2 +Version: 3.8.2 Release: 0 Summary: Jalali datetime binding for python License: Python-2.0 Group: Development/Languages/Python URL: https://github.com/slashmili/python-jalali Source: https://github.com/slashmili/python-jalali/archive/v%{version}.tar.gz +BuildRequires: %{python_module pytzdata} BuildRequires: %{python_module setuptools} BuildRequires: fdupes +BuildRequires: glibc-locale BuildRequires: python-rpm-macros BuildArch: noarch %python_subpackages @@ -45,7 +47,7 @@ jdatetime is the Jalali implementation of Python's datetime module. %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -%python_exec t/test.py +%python_exec -m unittest discover tests -v %files %{python_files} %doc README.rst CHANGELOG.md diff --git a/v3.6.2.tar.gz b/v3.6.2.tar.gz deleted file mode 100644 index 6abc0a6..0000000 --- a/v3.6.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:fe446810a171f5f6840f395ad623832ab7ab408b998703e262dff99752b7f969 -size 16931 diff --git a/v3.8.2.tar.gz b/v3.8.2.tar.gz new file mode 100644 index 0000000..ae3d396 --- /dev/null +++ b/v3.8.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:206b50de037c2d94ce06661880454d89fd8dae1a4757d8646f515ba3cadf378c +size 21323