diff --git a/jdatetime-3.2.0.tar.gz b/jdatetime-3.2.0.tar.gz deleted file mode 100644 index 1ceb787..0000000 --- a/jdatetime-3.2.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:42d0d08c0d36dcf1c4e1ddb1d10338d0dffb94105a02d74b6ea655ee8dd93cc2 -size 10652 diff --git a/python-jdatetime.changes b/python-jdatetime.changes index 918ace5..eae3791 100644 --- a/python-jdatetime.changes +++ b/python-jdatetime.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Fri Sep 13 12:28:42 UTC 2019 - Tomáš Chvátal + +- 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 diff --git a/python-jdatetime.spec b/python-jdatetime.spec index d6a89c3..16c3130 100644 --- a/python-jdatetime.spec +++ b/python-jdatetime.spec @@ -18,13 +18,13 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-jdatetime -Version: 3.2.0 +Version: 3.6.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://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: fdupes BuildRequires: python-rpm-macros @@ -35,7 +35,7 @@ BuildArch: noarch Jalali datetime binding for python %prep -%setup -q -n jdatetime-%{version} +%setup -q -n python-jalali-%{version} %build %python_build @@ -44,8 +44,12 @@ Jalali datetime binding for python %python_install %python_expand %fdupes %{buildroot}%{$python_sitelib} +%check +%python_exec t/test.py + %files %{python_files} -%doc README +%doc README.rst CHANGELOG.md +%license LICENSE %{python_sitelib}/* %changelog diff --git a/v3.6.0.tar.gz b/v3.6.0.tar.gz new file mode 100644 index 0000000..b6a1891 --- /dev/null +++ b/v3.6.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4fbce6b6893f23b9a12fd64de846fe821e148de3b4cd6b77fb62de0ffe97e048 +size 16842