Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-pdd for openSUSE:Factory checked in at 2021-05-19 17:49:21 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-pdd (Old) and /work/SRC/openSUSE:Factory/.python-pdd.new.2988 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pdd" Wed May 19 17:49:21 2021 rev:4 rq:894193 version:1.5 Changes: -------- --- /work/SRC/openSUSE:Factory/python-pdd/python-pdd.changes 2020-05-26 17:17:55.331794458 +0200 +++ /work/SRC/openSUSE:Factory/.python-pdd.new.2988/python-pdd.changes 2021-05-19 17:49:32.549493784 +0200 @@ -1,0 +2,8 @@ +Tue May 18 21:10:24 UTC 2021 - Ferdinand Thiessen <r...@fthiessen.de> + +- Update to version 1.5 + * maintenance release + * updated auto-generated package list + * drop python 3.5 support, add 3.9 + +------------------------------------------------------------------- Old: ---- pdd-1.4.tar.gz New: ---- pdd-1.5.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-pdd.spec ++++++ --- /var/tmp/diff_new_pack.XUahPR/_old 2021-05-19 17:49:32.973492007 +0200 +++ /var/tmp/diff_new_pack.XUahPR/_new 2021-05-19 17:49:32.977491989 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-pdd # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -20,7 +20,7 @@ %define skip_python2 1 %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-pdd -Version: 1.4 +Version: 1.5 Release: 0 Summary: Tiny date, time diff calculator with timers License: GPL-3.0-only ++++++ pdd-1.4.tar.gz -> pdd-1.5.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pdd-1.4/CHANGELOG new/pdd-1.5/CHANGELOG --- old/pdd-1.4/CHANGELOG 2019-04-04 13:18:23.000000000 +0200 +++ new/pdd-1.5/CHANGELOG 2020-10-10 17:51:15.000000000 +0200 @@ -1,3 +1,12 @@ +pdd v1.5 +2020-10-10 + +- updated auto-generated package list +- drop python 3.5 support, add 3.9 +- maintenance release + +------------------------------------------------------------------------------- + pdd v1.4 2019-04-04 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pdd-1.4/PKG-INFO new/pdd-1.5/PKG-INFO --- old/pdd-1.4/PKG-INFO 2019-04-04 13:19:33.000000000 +0200 +++ new/pdd-1.5/PKG-INFO 2020-10-12 12:54:13.069662800 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: pdd -Version: 1.4 +Version: 1.5 Summary: Tiny date, time diff calculator with timers Home-page: https://github.com/jarun/pdd Author: Arun Prakash Jana @@ -10,26 +10,20 @@ <p align="center"> <a href="https://github.com/jarun/pdd/releases/latest"><img src="https://img.shields.io/github/release/jarun/pdd.svg?maxAge=600" alt="Latest release" /></a> - <a href="https://aur.archlinux.org/packages/pdd"><img src="https://img.shields.io/aur/version/pdd.svg?maxAge=600" alt="AUR" /></a> - <a href="https://pypi.python.org/pypi/pdd"><img src="https://img.shields.io/pypi/v/pdd.svg?maxAge=600" alt="PyPI" /></a> - <a href="https://packages.debian.org/search?keywords=pdd&searchon=names&exact=1"><img src="https://img.shields.io/badge/debian-10+-blue.svg?maxAge=2592000" alt="Debian Buster+" /></a> - <a href="https://apps.fedoraproject.org/packages/pdd"><img src="https://img.shields.io/badge/fedora-27+-blue.svg?maxAge=2592000" alt="Fedora 27+" /></a> - <a href="https://packages.ubuntu.com/search?keywords=pdd&searchon=names&exact=1"><img src="https://img.shields.io/badge/ubuntu-18.04+-blue.svg?maxAge=2592000" alt="Ubuntu Bionic+" /></a> - </p> - - <p align="center"> - <a href="https://repology.org/metapackage/pdd"><img src="https://repology.org/badge/tiny-repos/pdd.svg" alt="Availability"></a> - <a href="https://github.com/jarun/pdd/blob/master/LICENSE"><img src="https://img.shields.io/badge/license-GPLv3-yellow.svg?maxAge=2592000" alt="License" /></a> + <a href="https://repology.org/project/pdd/versions"><img src="https://repology.org/badge/tiny-repos/pdd.svg" alt="Availability"></a> + <a href="https://pypi.org/project/pdd/"><img src="https://img.shields.io/pypi/v/pdd.svg?maxAge=600" alt="PyPI" /></a> <a href="https://circleci.com/gh/jarun/workflows/pdd"><img src="https://img.shields.io/circleci/project/github/jarun/pdd.svg" alt="Build Status" /></a> + <a href="https://github.com/jarun/pdd/blob/master/LICENSE"><img src="https://img.shields.io/badge/license-GPLv3-yellowgreen.svg?maxAge=2592000" alt="License" /></a> + <a href="https://repl.it/github/jarun/pdd"><img src="https://repl.it/badge/github/jarun/pdd?maxAge=2592000" alt="Repl.it" /></a> </p> <p align="center"> <a href="https://asciinema.org/a/189581"><img src="https://asciinema.org/a/189581.png" alt="Asciicast" width="650"/></a> </p> - `pdd` (Python3 Date Diff) is a small cmdline utility to calculate date and time difference. It can also be used as a timer. If no program arguments are specified it shows the current date, time and timezone. + `pdd` (Python3 Date Diff) is a tiny command line utility to calculate date and time difference. It can also be used as a timer. If no program arguments are specified it shows the current date, time and timezone. - There are utilities and shell scripts which do what `pdd` does. However, `pdd` has been written with only one goal - simplicity. Users shouldn't have memorize anything. + `pdd` has been written with only one goal - simplicity. Users shouldn't have to memorize anything. *Love smart and efficient utilities? Explore [my repositories](https://github.com/jarun?tab=repositories). Buy me a cup of coffee if they help you.* @@ -62,12 +56,13 @@ - custom resolution stopwatch - non-verbose mode for background timers - show current date, time and timezone + - follows ISO 8601 ### Installation #### Dependencies - `pdd` requires Python 3.5 (or later) and the `dateutil` module. + `pdd` requires Python 3.6 (or later) and the `dateutil` module. To install `dateutil` on Ubuntu, run: @@ -79,16 +74,20 @@ #### From a package manager - - [AUR](https://aur.archlinux.org/packages/pdd/) (`yay -S pdd`) - - [Debian](https://packages.debian.org/search?keywords=pdd&searchon=names&exact=1) (`apt-get install pdd`) - - [Fedora](https://apps.fedoraproject.org/packages/pdd) (`dnf install pdd`) - - [NixOS](https://github.com/NixOS/nixpkgs/tree/master/pkgs/tools/misc/pdd) (`nix-env -i pdd`) - - [PyPI](https://pypi.org/project/pdd) (`pip3 install pdd`) - - [Raspbian Testing](https://archive.raspbian.org/raspbian/pool/main/p/pdd/) (`apt-get install pdd`) - - [Termux](https://termux.com/) (`pip3 install pdd`) - - [Ubuntu](https://packages.ubuntu.com/search?keywords=pdd&searchon=names&exact=1) (`apt-get install pdd`) - - [Ubuntu PPA](https://launchpad.net/~twodopeshaggy/+archive/ubuntu/jarun/) (`apt-get install pdd`) - - [Void Linux](https://github.com/void-linux/void-packages/tree/master/srcpkgs/pdd) (`xbps-install -S pdd`) + Install `pdd` from your package manager. If the version available is dated try an alternative installation method. + + <details><summary>Packaging status (expand)</summary> + <p> + <br> + <a href="https://repology.org/project/pdd/versions"><img src="https://repology.org/badge/vertical-allrepos/pdd.svg" alt="Packaging status"></a> + </p> + Unlisted packagers: + <p> + <br> + ??? <a href="https://pypi.org/project/pdd/">PyPI</a> (<code>pip3 install pdd</code>)<br> + ??? Termux (<code>pip3 install pdd</code>)<br> + </p> + </details> #### Release packages @@ -160,63 +159,90 @@ 1. Calculate diff from **today**: $ pdd 2014 Jan 15 + 5y 2m 21d + 1906d 2. Calculate diff from **now**: $ pdd 24:00:00 + 15:24:03 + 55443s + $ pdd 0 + 08:36:22 + 30982s 3. Calculate date diff: $ pdd -d 1983 jul 3 2014 1 15 + 30y 6m 12d + 11154d 4. Calculate time diff: $ pdd -t 45:50 6:17:33 + 05:31:43 + 19903s 5. Show current date, time and timezone: $ pdd + Fri 2019 Apr 5 08:37:25 IST 6. Specify time with roll-over: $ pdd -t 5:80:75 6:17:33 + 00:03:42 + 222s 7. Add a duration (3 years, 2 months, 1 day) to 28 Feb, 2000: $ pdd -d 2000 FEB 28 3 2 1 --add + Tue 2003 Apr 29 8. Add a timeslice (1 hour 2 mins 3 secs) to 23:45:37: $ pdd -t 23:45:37 1:2:3 --add + 1 day(s) later, 00:47:40 + 89260s 9. Add a duration (3 years, 2 months, 1 day) to **today**: $ pdd 3 2 1 --add + Mon 2022 Jun 06 10. Add a timeslice (1 hour 2 minutes 3 seconds) to **now**: $ pdd 1:2:3 --add + 09:41:26 + 34886s 11. Subtract a duration (1 day) from 1 Mar, 2000: $ pdd -d 2000 Mar 01 0 0 1 --sub + Tue 2000 Feb 29 12. Subtract a timeslice (1 sec) from midnight: $ pdd -t 00:00:00 0:0:1 --sub + 1 day(s) earlier, 23:59:59 + -1s 13. Subtract a duration (3 years, 2 months, 1 day) from **today**: $ pdd 3 2 1 --sub + Thu 2016 Feb 04 14. Subtract a timeslice (1 hour 2 minutes 3 seconds) from **now**: $ pdd 1:2:3 --sub + 07:40:02 + 27602s 15. Show the day of the week on 15 Jan 2014: $ pdd --day 2014 Jan 15 + Wed 16. Start a countdown timer or stopwatch in **quiet mode** in the background: @@ -244,10 +270,12 @@ Classifier: Operating System :: OS Independent Classifier: Programming Language :: Python :: 3 Classifier: Programming Language :: Python :: 3 :: Only -Classifier: Programming Language :: Python :: 3.5 Classifier: Programming Language :: Python :: 3.6 +Classifier: Programming Language :: Python :: 3.7 +Classifier: Programming Language :: Python :: 3.8 +Classifier: Programming Language :: Python :: 3.9 Classifier: Topic :: Utilities -Requires-Python: >=3.5 +Requires-Python: >=3.6 Description-Content-Type: text/markdown Provides-Extra: packaging Provides-Extra: tests diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pdd-1.4/README.md new/pdd-1.5/README.md --- old/pdd-1.4/README.md 2019-04-04 13:18:23.000000000 +0200 +++ new/pdd-1.5/README.md 2020-10-10 17:34:27.000000000 +0200 @@ -2,26 +2,20 @@ <p align="center"> <a href="https://github.com/jarun/pdd/releases/latest"><img src="https://img.shields.io/github/release/jarun/pdd.svg?maxAge=600" alt="Latest release" /></a> -<a href="https://aur.archlinux.org/packages/pdd"><img src="https://img.shields.io/aur/version/pdd.svg?maxAge=600" alt="AUR" /></a> -<a href="https://pypi.python.org/pypi/pdd"><img src="https://img.shields.io/pypi/v/pdd.svg?maxAge=600" alt="PyPI" /></a> -<a href="https://packages.debian.org/search?keywords=pdd&searchon=names&exact=1"><img src="https://img.shields.io/badge/debian-10+-blue.svg?maxAge=2592000" alt="Debian Buster+" /></a> -<a href="https://apps.fedoraproject.org/packages/pdd"><img src="https://img.shields.io/badge/fedora-27+-blue.svg?maxAge=2592000" alt="Fedora 27+" /></a> -<a href="https://packages.ubuntu.com/search?keywords=pdd&searchon=names&exact=1"><img src="https://img.shields.io/badge/ubuntu-18.04+-blue.svg?maxAge=2592000" alt="Ubuntu Bionic+" /></a> -</p> - -<p align="center"> -<a href="https://repology.org/metapackage/pdd"><img src="https://repology.org/badge/tiny-repos/pdd.svg" alt="Availability"></a> -<a href="https://github.com/jarun/pdd/blob/master/LICENSE"><img src="https://img.shields.io/badge/license-GPLv3-yellow.svg?maxAge=2592000" alt="License" /></a> +<a href="https://repology.org/project/pdd/versions"><img src="https://repology.org/badge/tiny-repos/pdd.svg" alt="Availability"></a> +<a href="https://pypi.org/project/pdd/"><img src="https://img.shields.io/pypi/v/pdd.svg?maxAge=600" alt="PyPI" /></a> <a href="https://circleci.com/gh/jarun/workflows/pdd"><img src="https://img.shields.io/circleci/project/github/jarun/pdd.svg" alt="Build Status" /></a> +<a href="https://github.com/jarun/pdd/blob/master/LICENSE"><img src="https://img.shields.io/badge/license-GPLv3-yellowgreen.svg?maxAge=2592000" alt="License" /></a> +<a href="https://repl.it/github/jarun/pdd"><img src="https://repl.it/badge/github/jarun/pdd?maxAge=2592000" alt="Repl.it" /></a> </p> <p align="center"> <a href="https://asciinema.org/a/189581"><img src="https://asciinema.org/a/189581.png" alt="Asciicast" width="650"/></a> </p> -`pdd` (Python3 Date Diff) is a small cmdline utility to calculate date and time difference. It can also be used as a timer. If no program arguments are specified it shows the current date, time and timezone. +`pdd` (Python3 Date Diff) is a tiny command line utility to calculate date and time difference. It can also be used as a timer. If no program arguments are specified it shows the current date, time and timezone. -There are utilities and shell scripts which do what `pdd` does. However, `pdd` has been written with only one goal - simplicity. Users shouldn't have memorize anything. +`pdd` has been written with only one goal - simplicity. Users shouldn't have to memorize anything. *Love smart and efficient utilities? Explore [my repositories](https://github.com/jarun?tab=repositories). Buy me a cup of coffee if they help you.* @@ -54,12 +48,13 @@ - custom resolution stopwatch - non-verbose mode for background timers - show current date, time and timezone +- follows ISO 8601 ### Installation #### Dependencies -`pdd` requires Python 3.5 (or later) and the `dateutil` module. +`pdd` requires Python 3.6 (or later) and the `dateutil` module. To install `dateutil` on Ubuntu, run: @@ -71,16 +66,20 @@ #### From a package manager -- [AUR](https://aur.archlinux.org/packages/pdd/) (`yay -S pdd`) -- [Debian](https://packages.debian.org/search?keywords=pdd&searchon=names&exact=1) (`apt-get install pdd`) -- [Fedora](https://apps.fedoraproject.org/packages/pdd) (`dnf install pdd`) -- [NixOS](https://github.com/NixOS/nixpkgs/tree/master/pkgs/tools/misc/pdd) (`nix-env -i pdd`) -- [PyPI](https://pypi.org/project/pdd) (`pip3 install pdd`) -- [Raspbian Testing](https://archive.raspbian.org/raspbian/pool/main/p/pdd/) (`apt-get install pdd`) -- [Termux](https://termux.com/) (`pip3 install pdd`) -- [Ubuntu](https://packages.ubuntu.com/search?keywords=pdd&searchon=names&exact=1) (`apt-get install pdd`) -- [Ubuntu PPA](https://launchpad.net/~twodopeshaggy/+archive/ubuntu/jarun/) (`apt-get install pdd`) -- [Void Linux](https://github.com/void-linux/void-packages/tree/master/srcpkgs/pdd) (`xbps-install -S pdd`) +Install `pdd` from your package manager. If the version available is dated try an alternative installation method. + +<details><summary>Packaging status (expand)</summary> +<p> +<br> +<a href="https://repology.org/project/pdd/versions"><img src="https://repology.org/badge/vertical-allrepos/pdd.svg" alt="Packaging status"></a> +</p> +Unlisted packagers: +<p> +<br> +??? <a href="https://pypi.org/project/pdd/">PyPI</a> (<code>pip3 install pdd</code>)<br> +??? Termux (<code>pip3 install pdd</code>)<br> +</p> +</details> #### Release packages @@ -152,63 +151,90 @@ 1. Calculate diff from **today**: $ pdd 2014 Jan 15 + 5y 2m 21d + 1906d 2. Calculate diff from **now**: $ pdd 24:00:00 + 15:24:03 + 55443s + $ pdd 0 + 08:36:22 + 30982s 3. Calculate date diff: $ pdd -d 1983 jul 3 2014 1 15 + 30y 6m 12d + 11154d 4. Calculate time diff: $ pdd -t 45:50 6:17:33 + 05:31:43 + 19903s 5. Show current date, time and timezone: $ pdd + Fri 2019 Apr 5 08:37:25 IST 6. Specify time with roll-over: $ pdd -t 5:80:75 6:17:33 + 00:03:42 + 222s 7. Add a duration (3 years, 2 months, 1 day) to 28 Feb, 2000: $ pdd -d 2000 FEB 28 3 2 1 --add + Tue 2003 Apr 29 8. Add a timeslice (1 hour 2 mins 3 secs) to 23:45:37: $ pdd -t 23:45:37 1:2:3 --add + 1 day(s) later, 00:47:40 + 89260s 9. Add a duration (3 years, 2 months, 1 day) to **today**: $ pdd 3 2 1 --add + Mon 2022 Jun 06 10. Add a timeslice (1 hour 2 minutes 3 seconds) to **now**: $ pdd 1:2:3 --add + 09:41:26 + 34886s 11. Subtract a duration (1 day) from 1 Mar, 2000: $ pdd -d 2000 Mar 01 0 0 1 --sub + Tue 2000 Feb 29 12. Subtract a timeslice (1 sec) from midnight: $ pdd -t 00:00:00 0:0:1 --sub + 1 day(s) earlier, 23:59:59 + -1s 13. Subtract a duration (3 years, 2 months, 1 day) from **today**: $ pdd 3 2 1 --sub + Thu 2016 Feb 04 14. Subtract a timeslice (1 hour 2 minutes 3 seconds) from **now**: $ pdd 1:2:3 --sub + 07:40:02 + 27602s 15. Show the day of the week on 15 Jan 2014: $ pdd --day 2014 Jan 15 + Wed 16. Start a countdown timer or stopwatch in **quiet mode** in the background: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pdd-1.4/pdd.egg-info/PKG-INFO new/pdd-1.5/pdd.egg-info/PKG-INFO --- old/pdd-1.4/pdd.egg-info/PKG-INFO 2019-04-04 13:19:33.000000000 +0200 +++ new/pdd-1.5/pdd.egg-info/PKG-INFO 2020-10-12 12:54:12.000000000 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: pdd -Version: 1.4 +Version: 1.5 Summary: Tiny date, time diff calculator with timers Home-page: https://github.com/jarun/pdd Author: Arun Prakash Jana @@ -10,26 +10,20 @@ <p align="center"> <a href="https://github.com/jarun/pdd/releases/latest"><img src="https://img.shields.io/github/release/jarun/pdd.svg?maxAge=600" alt="Latest release" /></a> - <a href="https://aur.archlinux.org/packages/pdd"><img src="https://img.shields.io/aur/version/pdd.svg?maxAge=600" alt="AUR" /></a> - <a href="https://pypi.python.org/pypi/pdd"><img src="https://img.shields.io/pypi/v/pdd.svg?maxAge=600" alt="PyPI" /></a> - <a href="https://packages.debian.org/search?keywords=pdd&searchon=names&exact=1"><img src="https://img.shields.io/badge/debian-10+-blue.svg?maxAge=2592000" alt="Debian Buster+" /></a> - <a href="https://apps.fedoraproject.org/packages/pdd"><img src="https://img.shields.io/badge/fedora-27+-blue.svg?maxAge=2592000" alt="Fedora 27+" /></a> - <a href="https://packages.ubuntu.com/search?keywords=pdd&searchon=names&exact=1"><img src="https://img.shields.io/badge/ubuntu-18.04+-blue.svg?maxAge=2592000" alt="Ubuntu Bionic+" /></a> - </p> - - <p align="center"> - <a href="https://repology.org/metapackage/pdd"><img src="https://repology.org/badge/tiny-repos/pdd.svg" alt="Availability"></a> - <a href="https://github.com/jarun/pdd/blob/master/LICENSE"><img src="https://img.shields.io/badge/license-GPLv3-yellow.svg?maxAge=2592000" alt="License" /></a> + <a href="https://repology.org/project/pdd/versions"><img src="https://repology.org/badge/tiny-repos/pdd.svg" alt="Availability"></a> + <a href="https://pypi.org/project/pdd/"><img src="https://img.shields.io/pypi/v/pdd.svg?maxAge=600" alt="PyPI" /></a> <a href="https://circleci.com/gh/jarun/workflows/pdd"><img src="https://img.shields.io/circleci/project/github/jarun/pdd.svg" alt="Build Status" /></a> + <a href="https://github.com/jarun/pdd/blob/master/LICENSE"><img src="https://img.shields.io/badge/license-GPLv3-yellowgreen.svg?maxAge=2592000" alt="License" /></a> + <a href="https://repl.it/github/jarun/pdd"><img src="https://repl.it/badge/github/jarun/pdd?maxAge=2592000" alt="Repl.it" /></a> </p> <p align="center"> <a href="https://asciinema.org/a/189581"><img src="https://asciinema.org/a/189581.png" alt="Asciicast" width="650"/></a> </p> - `pdd` (Python3 Date Diff) is a small cmdline utility to calculate date and time difference. It can also be used as a timer. If no program arguments are specified it shows the current date, time and timezone. + `pdd` (Python3 Date Diff) is a tiny command line utility to calculate date and time difference. It can also be used as a timer. If no program arguments are specified it shows the current date, time and timezone. - There are utilities and shell scripts which do what `pdd` does. However, `pdd` has been written with only one goal - simplicity. Users shouldn't have memorize anything. + `pdd` has been written with only one goal - simplicity. Users shouldn't have to memorize anything. *Love smart and efficient utilities? Explore [my repositories](https://github.com/jarun?tab=repositories). Buy me a cup of coffee if they help you.* @@ -62,12 +56,13 @@ - custom resolution stopwatch - non-verbose mode for background timers - show current date, time and timezone + - follows ISO 8601 ### Installation #### Dependencies - `pdd` requires Python 3.5 (or later) and the `dateutil` module. + `pdd` requires Python 3.6 (or later) and the `dateutil` module. To install `dateutil` on Ubuntu, run: @@ -79,16 +74,20 @@ #### From a package manager - - [AUR](https://aur.archlinux.org/packages/pdd/) (`yay -S pdd`) - - [Debian](https://packages.debian.org/search?keywords=pdd&searchon=names&exact=1) (`apt-get install pdd`) - - [Fedora](https://apps.fedoraproject.org/packages/pdd) (`dnf install pdd`) - - [NixOS](https://github.com/NixOS/nixpkgs/tree/master/pkgs/tools/misc/pdd) (`nix-env -i pdd`) - - [PyPI](https://pypi.org/project/pdd) (`pip3 install pdd`) - - [Raspbian Testing](https://archive.raspbian.org/raspbian/pool/main/p/pdd/) (`apt-get install pdd`) - - [Termux](https://termux.com/) (`pip3 install pdd`) - - [Ubuntu](https://packages.ubuntu.com/search?keywords=pdd&searchon=names&exact=1) (`apt-get install pdd`) - - [Ubuntu PPA](https://launchpad.net/~twodopeshaggy/+archive/ubuntu/jarun/) (`apt-get install pdd`) - - [Void Linux](https://github.com/void-linux/void-packages/tree/master/srcpkgs/pdd) (`xbps-install -S pdd`) + Install `pdd` from your package manager. If the version available is dated try an alternative installation method. + + <details><summary>Packaging status (expand)</summary> + <p> + <br> + <a href="https://repology.org/project/pdd/versions"><img src="https://repology.org/badge/vertical-allrepos/pdd.svg" alt="Packaging status"></a> + </p> + Unlisted packagers: + <p> + <br> + ??? <a href="https://pypi.org/project/pdd/">PyPI</a> (<code>pip3 install pdd</code>)<br> + ??? Termux (<code>pip3 install pdd</code>)<br> + </p> + </details> #### Release packages @@ -160,63 +159,90 @@ 1. Calculate diff from **today**: $ pdd 2014 Jan 15 + 5y 2m 21d + 1906d 2. Calculate diff from **now**: $ pdd 24:00:00 + 15:24:03 + 55443s + $ pdd 0 + 08:36:22 + 30982s 3. Calculate date diff: $ pdd -d 1983 jul 3 2014 1 15 + 30y 6m 12d + 11154d 4. Calculate time diff: $ pdd -t 45:50 6:17:33 + 05:31:43 + 19903s 5. Show current date, time and timezone: $ pdd + Fri 2019 Apr 5 08:37:25 IST 6. Specify time with roll-over: $ pdd -t 5:80:75 6:17:33 + 00:03:42 + 222s 7. Add a duration (3 years, 2 months, 1 day) to 28 Feb, 2000: $ pdd -d 2000 FEB 28 3 2 1 --add + Tue 2003 Apr 29 8. Add a timeslice (1 hour 2 mins 3 secs) to 23:45:37: $ pdd -t 23:45:37 1:2:3 --add + 1 day(s) later, 00:47:40 + 89260s 9. Add a duration (3 years, 2 months, 1 day) to **today**: $ pdd 3 2 1 --add + Mon 2022 Jun 06 10. Add a timeslice (1 hour 2 minutes 3 seconds) to **now**: $ pdd 1:2:3 --add + 09:41:26 + 34886s 11. Subtract a duration (1 day) from 1 Mar, 2000: $ pdd -d 2000 Mar 01 0 0 1 --sub + Tue 2000 Feb 29 12. Subtract a timeslice (1 sec) from midnight: $ pdd -t 00:00:00 0:0:1 --sub + 1 day(s) earlier, 23:59:59 + -1s 13. Subtract a duration (3 years, 2 months, 1 day) from **today**: $ pdd 3 2 1 --sub + Thu 2016 Feb 04 14. Subtract a timeslice (1 hour 2 minutes 3 seconds) from **now**: $ pdd 1:2:3 --sub + 07:40:02 + 27602s 15. Show the day of the week on 15 Jan 2014: $ pdd --day 2014 Jan 15 + Wed 16. Start a countdown timer or stopwatch in **quiet mode** in the background: @@ -244,10 +270,12 @@ Classifier: Operating System :: OS Independent Classifier: Programming Language :: Python :: 3 Classifier: Programming Language :: Python :: 3 :: Only -Classifier: Programming Language :: Python :: 3.5 Classifier: Programming Language :: Python :: 3.6 +Classifier: Programming Language :: Python :: 3.7 +Classifier: Programming Language :: Python :: 3.8 +Classifier: Programming Language :: Python :: 3.9 Classifier: Topic :: Utilities -Requires-Python: >=3.5 +Requires-Python: >=3.6 Description-Content-Type: text/markdown Provides-Extra: packaging Provides-Extra: tests diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pdd-1.4/pdd.py new/pdd-1.5/pdd.py --- old/pdd-1.4/pdd.py 2019-04-04 13:19:33.000000000 +0200 +++ new/pdd-1.5/pdd.py 2020-10-12 12:54:12.000000000 +0200 @@ -39,7 +39,7 @@ monthdict = {name.lower(): num for num, name in enumerate(cal.month_abbr) if num} -_VERSION_ = '1.4' # current program version +_VERSION_ = '1.5' # current program version def is_int(arg): @@ -338,7 +338,7 @@ showdate() if args.quiet is False: cursor_on() - if args.run: + if args.run and h == 0 and m == 0 and s == 0: # subprocess.call(''.join(args.run).split()) subprocess.call(shlex.split(''.join(args.run))) @@ -385,7 +385,7 @@ # Help def print_help(self, file=None): - super(ExtendedArgumentParser, self).print_help(file) + super().print_help(file) self.print_extended_help(file) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pdd-1.4/setup.py new/pdd-1.5/setup.py --- old/pdd-1.4/setup.py 2019-04-04 13:18:23.000000000 +0200 +++ new/pdd-1.5/setup.py 2020-10-10 17:34:00.000000000 +0200 @@ -26,7 +26,7 @@ author_email='engineera...@gmail.com', url='https://github.com/jarun/pdd', license='GPLv3', - python_requires='>=3.5', # requires pip>=9.0.0 + python_requires='>=3.6', # requires pip>=9.0.0 platforms=['any'], py_modules=['pdd'], install_requires=['python-dateutil'], @@ -51,8 +51,10 @@ 'Operating System :: OS Independent', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3 :: Only', - 'Programming Language :: Python :: 3.5', 'Programming Language :: Python :: 3.6', + 'Programming Language :: Python :: 3.7', + 'Programming Language :: Python :: 3.8', + 'Programming Language :: Python :: 3.9', 'Topic :: Utilities' ] )