devel/py-convertdate 2.2.0_2 FreeBSD
Converts between Gregorian dates and other calendar systems
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- License
- MIT
- Categories
- devel, python
- Package size
- 68.4 KiB, 303.3 KiB installed
Description
Converts between Gregorian dates and other calendar systems. Calendars include:
* Baha'i * French Republican * Hebrew * Indian Civil * Islamic * ISO * Julian * Mayan * Persian.
The holidays module also provides some useful holiday-calculation, with a focus on North American and Jewish holidays. Note that in some calendar systems, the day begins at sundown. Convertdate uses noon of the day in question.
from convertdate import french_republican from convertdate import hebrew french_republican.from_gregorian(2014, 10, 31) # (223, 2, 1, 9) hebrew.from_gregorian(2014, 10, 31) # (5775, 8, 7)
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | devel/py-convertdate | 2.2.0_2 |
| DragonFly | devel/py-convertdate | 2.2.0_2 |
Install
Binary package:
pkg install py312-convertdate
From the ports tree:
cd /usr/ports/devel/py-convertdate/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= py312-convertdate>0:devel/py-convertdate
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 2.2.0_2 | 2.2.0_2 | 2.2.0_1 | 2.2.0_2 | 2.2.0_2 |
| FreeBSD:14:quarterly | 2.2.0_2 | 2.2.0_2 | n/a | 2.2.0_2 | 2.2.0_2 |
| FreeBSD:15:latest | 2.2.0_2 | 2.2.0_2 | n/a | 2.2.0_2 | 2.2.0_2 |
| FreeBSD:15:quarterly | 2.2.0_2 | 2.2.0_2 | n/a | n/a | n/a |
| FreeBSD:16:latest | 2.2.0_2 | 2.2.0_2 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Runtime 2
${PYTHON_PKGNAMEPREFIX}pytz>=2014.10: devel/py-pytz${PYTHON_PKGNAMEPREFIX}pymeeus>=0.3.6,<1: astro/py-pymeeus
The full lists below include those, and their dependencies in turn.
Build dependencies 11
Run dependencies 9
No port depends on this one.
Configuration
No options to configure.
- USES
- python
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| convertdate-2.2.0.tar.gz | 29774 | 9d2b0cd8d5382d2458d4cfa59665abba398a9e9bfd3a01c6f61b7b47768d28bf |
Master sites 1
- PYPI
Commit history 0
No commits in the history this site was built from.