17
0

Compare commits

8 Commits

Author SHA256 Message Date
72f5d031ab Accepting request 1246714 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1246714
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-jdatetime?expand=0&rev=10
2025-02-18 18:13:03 +00:00
57e835e7b1 Accepting request 1246686 from home:glaubitz:branches:devel:languages:python
- Update to 5.2.0
  * Support for validating %A %a in strptime #161

OBS-URL: https://build.opensuse.org/request/show/1246686
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-jdatetime?expand=0&rev=19
2025-02-18 14:54:04 +00:00
d5889df017 Accepting request 1239519 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1239519
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-jdatetime?expand=0&rev=9
2025-01-22 15:39:25 +00:00
22429e35dd Accepting request 1239515 from home:glaubitz:branches:devel:languages:python
- 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

OBS-URL: https://build.opensuse.org/request/show/1239515
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-jdatetime?expand=0&rev=17
2025-01-22 13:00:45 +00:00
2bda56fafe Accepting request 1225505 from devel:languages:python
- add py313-support.patch to fix tests with python 3.13

OBS-URL: https://build.opensuse.org/request/show/1225505
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-jdatetime?expand=0&rev=8
2024-11-21 14:19:34 +00:00
5519977846 - add py313-support.patch to fix tests with python 3.13
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-jdatetime?expand=0&rev=15
2024-11-21 09:49:09 +00:00
1fa13707cc Accepting request 1219555 from devel:languages:python
- 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

OBS-URL: https://build.opensuse.org/request/show/1219555
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-jdatetime?expand=0&rev=7
2024-11-14 15:08:30 +00:00
da38441cfe - 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

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-jdatetime?expand=0&rev=13
2024-10-30 12:36:33 +00:00
4 changed files with 47 additions and 10 deletions

View File

@@ -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>

View File

@@ -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

View File

@@ -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
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e58b973f04d0389bc3f84975b0b522634826b47a85d9103509fddaa61f1fd263
size 22589