forked from pool/python-jdatetime
- 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
This commit is contained in:
@@ -1,3 +1,15 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Jan 27 20:11:23 UTC 2022 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
- 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 <steven.kowalik@suse.com>
|
Mon Mar 2 04:02:53 UTC 2020 - Steve Kowalik <steven.kowalik@suse.com>
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-jdatetime
|
# 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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -18,15 +18,17 @@
|
|||||||
|
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
Name: python-jdatetime
|
Name: python-jdatetime
|
||||||
Version: 3.6.2
|
Version: 3.8.2
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Jalali datetime binding for python
|
Summary: Jalali datetime binding for python
|
||||||
License: Python-2.0
|
License: Python-2.0
|
||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
URL: https://github.com/slashmili/python-jalali
|
URL: https://github.com/slashmili/python-jalali
|
||||||
Source: https://github.com/slashmili/python-jalali/archive/v%{version}.tar.gz
|
Source: https://github.com/slashmili/python-jalali/archive/v%{version}.tar.gz
|
||||||
|
BuildRequires: %{python_module pytzdata}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
|
BuildRequires: glibc-locale
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
@@ -45,7 +47,7 @@ jdatetime is the Jalali implementation of Python's datetime module.
|
|||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%python_exec t/test.py
|
%python_exec -m unittest discover tests -v
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%doc README.rst CHANGELOG.md
|
%doc README.rst CHANGELOG.md
|
||||||
|
|||||||
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:fe446810a171f5f6840f395ad623832ab7ab408b998703e262dff99752b7f969
|
|
||||||
size 16931
|
|
||||||
3
v3.8.2.tar.gz
Normal file
3
v3.8.2.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:206b50de037c2d94ce06661880454d89fd8dae1a4757d8646f515ba3cadf378c
|
||||||
|
size 21323
|
||||||
Reference in New Issue
Block a user