pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
PR/54340 CVS commit: pkgsrc/time
The following reply was made to PR pkg/54340; it has been noted by GNATS.
From: "Benny Siegert" <bsiegert%netbsd.org@localhost>
To: gnats-bugs%gnats.NetBSD.org@localhost
Cc:
Subject: PR/54340 CVS commit: pkgsrc/time
Date: Sun, 7 Jul 2019 10:14:44 +0000
Module Name: pkgsrc
Committed By: bsiegert
Date: Sun Jul 7 10:14:44 UTC 2019
Modified Files:
pkgsrc/time: Makefile
Added Files:
pkgsrc/time/py-pytimeparse: DESCR Makefile PLIST distinfo
Log Message:
Add a package for py-pytimeparse-1.1.8.
PR pkg/54340.
A small Python library to parse various kinds of time expressions,
inspired by a StackOverflow question.
The single function pytimeparse.timeparse.timeparse defined in the
library (also available as pytimeparse.parse) parses time expressions
like the following:
32m
2h32m
3d2h32m
1w3d2h32m
1w 3d 2h 32m
1 w 3 d 2 h 32 m
...
To generate a diff of this commit:
cvs rdiff -u -r1.185 -r1.186 pkgsrc/time/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/time/py-pytimeparse/DESCR \
pkgsrc/time/py-pytimeparse/Makefile pkgsrc/time/py-pytimeparse/PLIST \
pkgsrc/time/py-pytimeparse/distinfo
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Home |
Main Index |
Thread Index |
Old Index