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 ...
15 lines
562 B
Makefile
15 lines
562 B
Makefile
# $NetBSD: Makefile,v 1.1 2019/07/07 10:14:44 bsiegert Exp $
|
|
|
|
DISTNAME= pytimeparse-1.1.8
|
|
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
|
CATEGORIES= python time
|
|
MASTER_SITES= ${MASTER_SITE_PYPI:=p/pytimeparse/}
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= https://timeparse.readthedocs.io/
|
|
COMMENT= Parse various kinds of time expressions
|
|
LICENSE= mit
|
|
|
|
.include "../../lang/python/application.mk"
|
|
.include "../../lang/python/egg.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|