Port details on branch 2022Q2 |
- py-convertdate Converts between Gregorian dates and other calendar systems
- 2.2.0_1 devel =0 2.2.0_1Version of this port present on the latest quarterly branch.
- Maintainer: gmm@tutanota.com
- Port Added: 2019-09-03 16:00:53
- Last Update: 2023-06-27 19:34:34
- Commit Hash: 3d9a815
- Also Listed In: python
- License: MIT
- WWW:
- https://github.com/fitnr/convertdate
- 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)
- ¦ ¦ ¦ ¦
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - There is no configure plist information for this port.
- Dependency lines:
-
- ${PYTHON_PKGNAMEPREFIX}convertdate>0:devel/py-convertdate@${PY_FLAVOR}
- To install the port:
- cd /usr/ports/devel/py-convertdate/ && make install clean
- To add the package, run one of these commands:
- pkg install devel/py-convertdate
- pkg install py39-convertdate
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above. NOTE: This is a Python port. Instead of py39-convertdate listed in the above command, you can pick from the names under the Packages section.- PKGNAME: py39-convertdate
- Package flavors (<flavor>: <package>)
- distinfo:
- TIMESTAMP = 1572448233
SHA256 (convertdate-2.2.0.tar.gz) = 9d2b0cd8d5382d2458d4cfa59665abba398a9e9bfd3a01c6f61b7b47768d28bf
SIZE (convertdate-2.2.0.tar.gz) = 29774
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- py39-setuptools>=63.1.0 : devel/py-setuptools@py39
- python3.9 : lang/python39
- Test dependencies:
-
- python3.9 : lang/python39
- Runtime dependencies:
-
- py39-pytz>=2014.10 : devel/py-pytz@py39
- py39-pymeeus>=0.3.6,<1 : astro/py-pymeeus@py39
- py39-setuptools>=63.1.0 : devel/py-setuptools@py39
- python3.9 : lang/python39
- This port is required by:
- for Run
-
- devel/py-fbprophet
Configuration Options:
- No options to configure
- Options name:
- devel_py-convertdate
- USES:
- python
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|