forked from pool/python-jdatetime
- Update to 3.6.0:
* improve fromgregorian to handle date and datetime input in Pythonic way * Adds support for '%-I' format token * support subtraction with python datetime * add isoformat for jdatetime.datetime OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-jdatetime?expand=0&rev=2
This commit is contained in:
committed by
Git OBS Bridge
parent
1544b0a7a0
commit
6c671f481c
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:42d0d08c0d36dcf1c4e1ddb1d10338d0dffb94105a02d74b6ea655ee8dd93cc2
|
|
||||||
size 10652
|
|
||||||
@@ -1,3 +1,12 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Sep 13 12:28:42 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
||||||
|
|
||||||
|
- Update to 3.6.0:
|
||||||
|
* improve fromgregorian to handle date and datetime input in Pythonic way
|
||||||
|
* Adds support for '%-I' format token
|
||||||
|
* support subtraction with python datetime
|
||||||
|
* add isoformat for jdatetime.datetime
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Apr 3 02:21:50 PM UTC 2019 - John Vandenberg <jayvdb@gmail.com>
|
Wed Apr 3 02:21:50 PM UTC 2019 - John Vandenberg <jayvdb@gmail.com>
|
||||||
|
|
||||||
|
|||||||
@@ -18,13 +18,13 @@
|
|||||||
|
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
Name: python-jdatetime
|
Name: python-jdatetime
|
||||||
Version: 3.2.0
|
Version: 3.6.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://files.pythonhosted.org/packages/source/j/jdatetime/jdatetime-%{version}.tar.gz
|
Source: https://github.com/slashmili/python-jalali/archive/v%{version}.tar.gz
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
@@ -35,7 +35,7 @@ BuildArch: noarch
|
|||||||
Jalali datetime binding for python
|
Jalali datetime binding for python
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n jdatetime-%{version}
|
%setup -q -n python-jalali-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%python_build
|
%python_build
|
||||||
@@ -44,8 +44,12 @@ Jalali datetime binding for python
|
|||||||
%python_install
|
%python_install
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
|
%check
|
||||||
|
%python_exec t/test.py
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%doc README
|
%doc README.rst CHANGELOG.md
|
||||||
|
%license LICENSE
|
||||||
%{python_sitelib}/*
|
%{python_sitelib}/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
|||||||
3
v3.6.0.tar.gz
Normal file
3
v3.6.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:4fbce6b6893f23b9a12fd64de846fe821e148de3b4cd6b77fb62de0ffe97e048
|
||||||
|
size 16842
|
||||||
Reference in New Issue
Block a user