Compare commits
8 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| 72f5d031ab | |||
| 57e835e7b1 | |||
| d5889df017 | |||
| 22429e35dd | |||
| 2bda56fafe | |||
| 5519977846 | |||
| 1fa13707cc | |||
| da38441cfe |
@@ -1,3 +1,35 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 18 13:45:53 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||
|
||||
- Update to 5.2.0
|
||||
* Support for validating %A %a in strptime #161
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 22 12:35:47 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||
|
||||
- Update to 5.1.0
|
||||
* Fix compare datetime with diffrent timezones #159
|
||||
* Drop Python 3.8 support
|
||||
* Add support for Python 3.13
|
||||
- Drop py313-support.patch, merged upstream
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Nov 21 09:48:56 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- add py313-support.patch to fix tests with python 3.13
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Oct 30 12:34:59 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- update to 5.0.0:
|
||||
* Add support for Python 3.12
|
||||
* BREAKING CHANGE: Arithmetic operations on `date`/`datetime`
|
||||
against an unknown type will now return `NotImplemented`
|
||||
instead of raising `TypeError`
|
||||
* Drop Python 3.7 support
|
||||
* Move jalali.py to jalali_core dependency due to licensing
|
||||
issues #148
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Dec 7 22:26:41 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-jdatetime
|
||||
#
|
||||
# Copyright (c) 2023 SUSE LLC
|
||||
# Copyright (c) 2025 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -16,34 +16,38 @@
|
||||
#
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: python-jdatetime
|
||||
Version: 4.1.1
|
||||
Version: 5.2.0
|
||||
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 jalali-core}
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module pytzdata}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module wheel}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: glibc-locale
|
||||
BuildRequires: python-rpm-macros
|
||||
BuildArch: noarch
|
||||
Requires: python-jalali-core
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
jdatetime is the Jalali implementation of Python's datetime module.
|
||||
|
||||
%prep
|
||||
%setup -q -n python-jalali-%{version}
|
||||
%autosetup -p1 -n python-jalali-%{version}
|
||||
|
||||
%build
|
||||
%python_build
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
%python_install
|
||||
%pyproject_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
@@ -52,6 +56,7 @@ jdatetime is the Jalali implementation of Python's datetime module.
|
||||
%files %{python_files}
|
||||
%doc README.rst CHANGELOG.md
|
||||
%license LICENSE
|
||||
%{python_sitelib}/*
|
||||
%{python_sitelib}/jdatetime
|
||||
%{python_sitelib}/jdatetime-%{version}.dist-info
|
||||
|
||||
%changelog
|
||||
|
||||
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:3f9f08742b322bd6e4ac4e0fda778f0e2fa7fd7d4cc3cfc368de851b002c974e
|
||||
size 23202
|
||||
3
v5.2.0.tar.gz
Normal file
3
v5.2.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:e58b973f04d0389bc3f84975b0b522634826b47a85d9103509fddaa61f1fd263
|
||||
size 22589
|
||||
Reference in New Issue
Block a user