BSD Ports

devel/py-strict-rfc3339 0.7_1 FreeBSD

Strict, simple, lightweight RFC3339 functions

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
GPLv3
Categories
devel, python
Package size
20.0 KiB, 59.5 KiB installed

Description

Simple and lightweight python module to validate, parse and generate RFC3339 time strings. It was initially created as a part of habitat in response to difficulty using other libraries.

It can convert UNIX timestamps to and from RFC3339, either producing strings with a UTC offset (Z) or with the offset that the C time module reports is the local timezone offset. It has minimal dependencies (none beyond those that come with Python) and avoids the error-prone act of dealing with timezones as much as possible.

Besides that, it's designed to be strict and stick closely to RFC3339, with a couple of very small caveats. It's also fully unit tested.

In the other systems

SystemPortVersion
FreeBSDdevel/py-strict-rfc33390.7_1
DragonFlydevel/py-strict-rfc33390.7_1
MidnightBSDdevel/py-strict-rfc33390.7_1
HardenedBSDdevel/py-strict-rfc33390.7_1
GhostBSDdevel/py-strict-rfc33390.7_1

Install

Binary package:

pkg install py312-strict-rfc3339

From the ports tree:

cd /usr/ports/devel/py-strict-rfc3339/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	py312-strict-rfc3339>0:devel/py-strict-rfc3339

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest0.7_10.7_10.70.7_10.7_1
FreeBSD:14:quarterly0.7_10.7_1n/a0.7_10.7_1
FreeBSD:15:latest0.7_10.7_1n/a0.7_10.7_1
FreeBSD:15:quarterly0.7_10.7_1n/an/an/a
FreeBSD:16:latest0.7_10.7_1n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

The Makefile names none itself; they come from USES and USE_*.

The full lists below include those, and their dependencies in turn.

Build dependencies 11
Run dependencies 7
Required by 1

Configuration

No options to configure.

USES
python
Service scripts
none

Files

distinfo 1
FileSizeSHA256
strict-rfc3339-0.7.tar.gz175525cad17bedfc3af57b399db0fed32771f18fc54bbd917e85546088607ac5e1277
Master sites 1
  • PYPI

Commit history 0

No commits in the history this site was built from.