BSD Ports

devel/py-isodate 0.7.2 FreeBSD

ISO 8601 date/time/duration parser and formater

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
BSD3CLAUSE
Categories
devel, python
Package size
35.2 KiB, 171.3 KiB installed

Description

This module implements ISO 8601 date, time and duration parsing. The implementation follows ISO8601:2004 standard, and implements only date/time representations mentioned in the standard. If something is not mentioned there, then it is treated as non existent, and not as an allowed option.

For instance, ISO8601:2004 never mentions 2 digit years. So, it is not intended by this module to support 2 digit years. (while it may still be valid as ISO date, because it is not explicitly forbidden.) Another example is, when no time zone information is given for a time, then it should be interpreted as local time, and not UTC.

As this module maps ISO 8601 dates/times to standard Python data types, like date, time, datetime and timedelta, it is not possible to convert all possible ISO 8601 dates/times. For instance, dates before 0001-01-01 are not allowed by the Python date and datetime classes. Additionally fractional seconds are limited to microseconds. That means if the parser finds for instance nanoseconds it will round it to microseconds.

In the other systems

SystemPortVersion
FreeBSDdevel/py-isodate0.7.2
OpenBSDdevel/py-isodate0.7.2p3
DragonFlydevel/py-isodate0.7.2
MidnightBSDdevel/py-isodate0.6.0_1

Install

Binary package:

pkg install py312-isodate

From the ports tree:

cd /usr/ports/devel/py-isodate/ && make install clean

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

RUN_DEPENDS=	py312-isodate>0:devel/py-isodate

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.20.7.20.6.10.7.20.7.2
FreeBSD:14:quarterly0.7.20.7.2n/a0.7.20.7.2
FreeBSD:15:latest0.7.20.7.2n/a0.7.20.7.2
FreeBSD:15:quarterly0.7.20.7.2n/an/an/a
FreeBSD:16:latest0.7.20.7.2n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 3

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

Build dependencies 17
Run dependencies 7
Required by 180

The first 100 are listed.

Configuration

No options to configure.

USES
python
Service scripts
none

Files

distinfo 1
FileSizeSHA256
isodate-0.7.2.tar.gz297054cd1aa0f43ca76f4a6c6c0292a85f40b35ec2e43e315b59f06e6d32171a953e6
Master sites 1
  • PYPI

Commit history 0

No commits in the history this site was built from.