forked from pool/python-jdatetime
- 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
This commit is contained in:
@@ -1,3 +1,15 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
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>
|
Thu Dec 7 22:26:41 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-jdatetime
|
# spec file for package python-jdatetime
|
||||||
#
|
#
|
||||||
# Copyright (c) 2023 SUSE LLC
|
# Copyright (c) 2024 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
|
||||||
@@ -16,21 +16,25 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
%{?sle15_python_module_pythons}
|
||||||
Name: python-jdatetime
|
Name: python-jdatetime
|
||||||
Version: 4.1.1
|
Version: 5.0.0
|
||||||
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 jalali-core}
|
||||||
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: %{python_module pytzdata}
|
BuildRequires: %{python_module pytzdata}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
|
BuildRequires: %{python_module wheel}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: glibc-locale
|
BuildRequires: glibc-locale
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
Requires: python-jalali-core
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@@ -40,10 +44,10 @@ jdatetime is the Jalali implementation of Python's datetime module.
|
|||||||
%setup -q -n python-jalali-%{version}
|
%setup -q -n python-jalali-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%python_build
|
%pyproject_wheel
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%python_install
|
%pyproject_install
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
@@ -52,6 +56,7 @@ jdatetime is the Jalali implementation of Python's datetime module.
|
|||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%doc README.rst CHANGELOG.md
|
%doc README.rst CHANGELOG.md
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%{python_sitelib}/*
|
%{python_sitelib}/jdatetime
|
||||||
|
%{python_sitelib}/jdatetime-%{version}.dist-info
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
|||||||
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:3f9f08742b322bd6e4ac4e0fda778f0e2fa7fd7d4cc3cfc368de851b002c974e
|
|
||||||
size 23202
|
|
||||||
3
v5.0.0.tar.gz
Normal file
3
v5.0.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:8e25070f0a9296c258af05a6bcedab37f335666ae0ae9963fec9ea947063ab83
|
||||||
|
size 22217
|
||||||
Reference in New Issue
Block a user