Created attachment 220852 [details] patch ciso8601 converts ISO 8601 or RFC 3339 date time strings into Python datetime objects. Since it's written as a C module, it is much faster than other Python libraries. Tested with Python 2.7, 3.4, 3.5, 3.6, 3.7, 3.8, 3.9. Note: ciso8601 doesn't support the entirety of the ISO 8601 spec, only a popular subset. WWW: https://github.com/closeio/ciso8601
Some cosmetic nits: - # $FreeBSD$ is deprecated, and should be removed - Please sort the USE_PYTHON fields - pkg-descr can be improved - I personally feel like that it is not necessary to specify the "Tested with ...", and the first two paragraphs can be combined to one. Other than that, it looks good to me, thanks!
Created attachment 226130 [details] patch
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=9669d3437973d2961022efd38edfae4353a75406 commit 9669d3437973d2961022efd38edfae4353a75406 Author: Ivan Rozhuk <rozhuk.im@gmail.com> AuthorDate: 2021-07-02 09:26:40 +0000 Commit: Guangyuan Yang <ygy@FreeBSD.org> CommitDate: 2021-07-02 09:26:40 +0000 devel/py-ciso8601: New port Fast ISO8601 date time parser for Python written in C. PR: 252072 Approved by: lwhsu (mentor) devel/Makefile | 1 + devel/py-ciso8601/Makefile (new) | 16 ++++++++++++++++ devel/py-ciso8601/distinfo (new) | 3 +++ devel/py-ciso8601/pkg-descr (new) | 8 ++++++++ 4 files changed, 28 insertions(+)
Committed, thanks!