BSD Ports

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

SystemPortVersion
FreeBSDdevel/py-convertdate2.2.0_2
DragonFlydevel/py-convertdate2.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.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest2.2.0_22.2.0_22.2.0_12.2.0_22.2.0_2
FreeBSD:14:quarterly2.2.0_22.2.0_2n/a2.2.0_22.2.0_2
FreeBSD:15:latest2.2.0_22.2.0_2n/a2.2.0_22.2.0_2
FreeBSD:15:quarterly2.2.0_22.2.0_2n/an/an/a
FreeBSD:16:latest2.2.0_22.2.0_2n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Runtime 2

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
FileSizeSHA256
convertdate-2.2.0.tar.gz297749d2b0cd8d5382d2458d4cfa59665abba398a9e9bfd3a01c6f61b7b47768d28bf
Master sites 1
  • PYPI

Commit history 0

No commits in the history this site was built from.