BSD Ports

devel/py-pendulum 2.1.1_1 MidnightBSD

Python package to ease datetimes manipulation

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

Description

Pendulum is a Python package to ease datetimes manipulation.

It provides classes that are drop-in replacements for the native ones (they inherit from them).

Special care has been taken to ensure timezones are handled correctly, and are based on the underlying tzinfo implementation. For example all comparisons are done in UTC or in the timezone of the datetime being used.

In the other systems

SystemPortVersion
MidnightBSDdevel/py-pendulum2.1.1_1
FreeBSDdevel/py-pendulum3.2.0_6
DragonFlydevel/py-pendulum3.0.0
HardenedBSDdevel/py-pendulum3.2.0_5
GhostBSDdevel/py-pendulum3.2.0_5

Install

Binary package:

mport install ${PYTHON_PKGNAMEPREFIX}pendulum

From mports:

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

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

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

Dependencies

As this port's Makefile names them.

Runtime 3

Run dependencies 3

No port depends on this one.

Configuration

No options to configure.

USES
python
Service scripts
none

Files

distinfo 1
FileSizeSHA256
pendulum-2.1.1.tar.gz84012d97739a7a5d5fc64e98bab46b292ac9f15aee88b5d3851cd6037d011a7b18af0
Master sites 1
  • PYPI