BSD Ports

devel/py-iso8601 2.1.0_1 MidnightBSD

Simple module to parse ISO 8601 dates

System
MidnightBSD
Repository
mports
Maintainer
[email protected]
License
mit
Categories
devel, python

Description

This module parses the most common forms of ISO 8601 date strings (e.g. 2007-01-14T20:34:22+00:00) into datetime objects.

You can parse full date + times, or just the date. In both cases a datetime instance is returned but with missing times defaulting to 0, and missing days / months defaulting to 1.

In the other systems

The newest version among them is 2.1.0, as upstream numbers it.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
MidnightBSDdevel/py-iso86012.1.0_1 newestno data-[email protected]-
FreeBSDdevel/py-iso86012.1.0 newestnone known-[email protected]-
DragonFlydevel/py-iso86012.1.0 newestnone known-[email protected]-
HardenedBSDdevel/py-iso86012.1.0 newestno data-[email protected]-
GhostBSDdevel/py-iso86012.1.0 newestno data-[email protected]-

Compare across BSDs

Install

Binary package:

mport install ${PYTHON_PKGNAMEPREFIX}iso8601

From mports:

cd /usr/mports/devel/py-iso8601 && make install clean

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

RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}iso8601>0:devel/py-iso8601

Dependency graph

Ports that need it on the left, what it needs to run on the right (to build, as it needs nothing to run); at most 8 of each. "Dependencies" below lists them all.

Dependencies

As this port's Makefile names them.

Build 1

Test 1

Build dependencies 1

No port depends on this one.

Configuration

No options to configure.

USES
python
Service scripts
none

Files

distinfo 1
FileSizeSHA256
iso8601-2.1.0.tar.gz65226b1d3829ee8921c4301998c909f7829fa9ed3cbdac0d3b16af2d743aed1ba8df
Master sites 1
  • PYPI