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
| System | Port | Version |
|---|---|---|
| MidnightBSD | devel/py-pendulum | 2.1.1_1 |
| FreeBSD | devel/py-pendulum | 3.2.0_6 |
| DragonFly | devel/py-pendulum | 3.0.0 |
| HardenedBSD | devel/py-pendulum | 3.2.0_5 |
| GhostBSD | devel/py-pendulum | 3.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
${PYTHON_PKGNAMEPREFIX}python-dateutil>=2.6: devel/py-python-dateutil${PYTHON_PKGNAMEPREFIX}pytz>=2018.3: devel/py-pytz${PYTHON_PKGNAMEPREFIX}pytzdata>=2020.1: devel/py-pytzdata
Run dependencies 3
No port depends on this one.
Configuration
No options to configure.
- USES
- python
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| pendulum-2.1.1.tar.gz | 84012 | d97739a7a5d5fc64e98bab46b292ac9f15aee88b5d3851cd6037d011a7b18af0 |
Master sites 1
- PYPI