wip/py-khayyam 0.5rc2 NetBSD
Khayyam(Jalali Persian Datetime) library
- System
- NetBSD
- Repository
- pkgsrc-wip
- Maintainer
- [email protected]
- License
- gnu-gpl-v3
- Categories
- wip, time, math
Description
Khayyam is a library to use date & time in persian style (known as Jalali calendar or khayyam alg)
It's designed to replace the python standard "datetime.datetime" class with "khayyam.JalaliDatetime". the "khayyam.JalaliDatetime" has two additional methods, that can be used to convert it to gregorian calendar and vice-versa:
to_datetime(self)
from_datetime(cls
Install
From pkgsrc-wip (no binary package):
cd /usr/pkgsrc/wip/py-khayyam && make install clean
Dependencies
No port depends on this one.