devel/py-isoduration 20.11.0_1 MidnightBSD
Operations with ISO 8601 durations
- System
- MidnightBSD
- Repository
- mports
- Maintainer
- [email protected]
- Port added
- Last update
- Commit
b807d69740- License
- iscl
- Categories
- devel, python
Description
ISO 8601 is most commonly known as a way to exchange datetimes in textual format. A lesser known aspect of the standard is the representation of durations. They have a shape similar to this: P3Y6M4DT12H30M5S This string represents a duration of 3 years, 6 months, 4 days, 12 hours, 30 minutes, and 5 seconds.
The state of the art of ISO 8601 duration handling in Python is more or less limited to what's offered by isodate. What we are trying to achieve here is to address the shortcomings of isodate (as described in their own Limitations section), and a few of our own annoyances with their interface, such as the lack of uniformity in their handling of types, and the use of regular expressions for parsing.
In the other systems
The newest version among them is 20.11.0, as upstream numbers it.
| System | Port | Version | Vulnerabilities | Status | Maintainer | Last update |
|---|---|---|---|---|---|---|
| MidnightBSD | devel/py-isoduration | 20.11.0_1 newest | no data | - | [email protected] | 2026-07-14 |
| FreeBSD | devel/py-isoduration | 20.11.0_1 newest | none known | - | [email protected] | - |
| OpenBSD | devel/py-isoduration | 20.11.0p2 newest | no data | - | The OpenBSD ports mailing-list <[email protected]> | - |
| DragonFly | devel/py-isoduration | 20.11.0_1 newest | none known | - | [email protected] | - |
| HardenedBSD | devel/py-isoduration | 20.11.0_1 newest | no data | - | [email protected] | - |
| GhostBSD | devel/py-isoduration | 20.11.0_1 newest | no data | - | [email protected] | - |
Version history 1
Upstream's version as each commit to the port's Makefile set it, or as this site first saw it in the system's packages; the tree's own revisions are not versions here.
Install
Binary package:
mport install ${PYTHON_PKGNAMEPREFIX}isoduration
From mports:
cd /usr/mports/devel/py-isoduration && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}isoduration>0:devel/py-isoduration
Dependency graph
Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.
Dependencies
As this port's Makefile names them.
Build 2
${PYTHON_PKGNAMEPREFIX}setuptools>=0: devel/py-setuptools${PYTHON_PKGNAMEPREFIX}wheel>=0: devel/py-wheel
Runtime 1
${PYTHON_PKGNAMEPREFIX}arrow>=0.15.0: devel/py-arrow
Build dependencies 2
Run dependencies 1
Required by 1
Configuration
No options to configure.
- USES
- python
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| isoduration-20.11.0.tar.gz | 11649 | ac2f9015137935279eac671f94f89eb00584f940f5dc49462a0c4ee692ba1bd9 |
Master sites 1
- PYPI
Commit history 1
| Date | Commit | Credits | Log message |
|---|---|---|---|
b807d69740 |
Lucas Holt | Add LangChain AI ports and dependencies AI-Assisted-by: OpenAI Codex <[email protected]>
Signed-off-by: Lucas Holt <[email protected]> |