diff --git a/pdd-1.3.1.tar.gz b/pdd-1.3.1.tar.gz deleted file mode 100644 index 5cd99ea..0000000 --- a/pdd-1.3.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:456e1c4b267d3943ec739c5c65d11fcc6321f29b342bb83da1f819323229285c -size 20964 diff --git a/pdd-1.4.tar.gz b/pdd-1.4.tar.gz new file mode 100644 index 0000000..a329108 --- /dev/null +++ b/pdd-1.4.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:bfdd2676875d99f8af6e85eb64dc2b0110ee6a8c90549de7eb08deef5b45791e +size 22115 diff --git a/python-pdd.changes b/python-pdd.changes index 05c3a9b..e83651c 100644 --- a/python-pdd.changes +++ b/python-pdd.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Wed Apr 24 09:21:19 UTC 2019 - pgajdos@suse.com + +- version update to 1.4 + - Command piggybacking with countdown timer + - Show current time for timers + - Disable showing epoch time on `pdd` +- run the test suite + ------------------------------------------------------------------- Wed Aug 8 16:43:20 UTC 2018 - dmarcoux@posteo.de diff --git a/python-pdd.spec b/python-pdd.spec index 1b40811..c1e8517 100644 --- a/python-pdd.spec +++ b/python-pdd.spec @@ -1,7 +1,7 @@ # # spec file for package python-pdd # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,29 +12,32 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + # pdd is not available for Python 2 %define skip_python2 1 %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-pdd -Version: 1.3.1 +Version: 1.4 Release: 0 -License: GPL-3.0 Summary: Tiny date, time diff calculator with timers -Url: https://github.com/jarun/pdd +License: GPL-3.0-only Group: Development/Languages/Python +Url: https://github.com/jarun/pdd Source: https://files.pythonhosted.org/packages/source/p/pdd/pdd-%{version}.tar.gz -BuildRequires: python-rpm-macros BuildRequires: %{python_module devel} BuildRequires: %{python_module setuptools} +BuildRequires: python-rpm-macros # SECTION test requirements -BuildRequires: %{python_module python-dateutil} BuildRequires: %{python_module pytest} +BuildRequires: %{python_module python-dateutil} # /SECTION BuildRequires: fdupes Requires: python-python-dateutil +Requires: python-setuptools BuildArch: noarch %python_subpackages @@ -46,12 +49,19 @@ pdd (Python3 Date Diff) is a small cmdline utility to calculate date and time di %setup -q -n pdd-%{version} %build +# this seems to be fixed in github (there is pdd instead of pdd.py, +# what setup.py expects, if I have not missed anything) +mv pdd.py pdd %python_build %install %python_install %python_expand %fdupes %{buildroot}%{$python_sitelib} +%check +chmod 755 pdd +%pytest test.py + %files %{python_files} %doc README.md CHANGELOG %license LICENSE