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
| System | Port | Version |
|---|---|---|
| FreeBSD | devel/py-strict-rfc3339 | 0.7_1 |
| DragonFly | devel/py-strict-rfc3339 | 0.7_1 |
| MidnightBSD | devel/py-strict-rfc3339 | 0.7_1 |
| HardenedBSD | devel/py-strict-rfc3339 | 0.7_1 |
| GhostBSD | devel/py-strict-rfc3339 | 0.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.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 0.7_1 | 0.7_1 | 0.7 | 0.7_1 | 0.7_1 |
| FreeBSD:14:quarterly | 0.7_1 | 0.7_1 | n/a | 0.7_1 | 0.7_1 |
| FreeBSD:15:latest | 0.7_1 | 0.7_1 | n/a | 0.7_1 | 0.7_1 |
| FreeBSD:15:quarterly | 0.7_1 | 0.7_1 | n/a | n/a | n/a |
| FreeBSD:16:latest | 0.7_1 | 0.7_1 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/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
| File | Size | SHA256 |
|---|---|---|
| strict-rfc3339-0.7.tar.gz | 17552 | 5cad17bedfc3af57b399db0fed32771f18fc54bbd917e85546088607ac5e1277 |
Master sites 1
- PYPI
Commit history 0
No commits in the history this site was built from.