Port details |
- py-lunardate Chinese Calendar Library in Pure Python
- 0.2.0_1 devel
=0 0.2.0_1Version of this port present on the latest quarterly branch. - Maintainer: gmm@tutanota.com
 - Port Added: 2019-09-03 15:40:03
- Last Update: 2021-04-07 08:09:01
- Commit Hash: cf118cc
- Also Listed In: python
- License: MIT
- Description:
- Chinese Calendar Library in Pure Python
>>> from lunardate import LunarDate
>>> LunarDate.fromSolarDate(1976, 10, 1)
LunarDate(1976, 8, 8, 1)
>>> LunarDate(1976, 8, 8, 1).toSolarDate()
datetime.date(1976, 10, 1)
>>> LunarDate(1976, 8, 8, 1).year
1976
>>> LunarDate(1976, 8, 8, 1).month
8
>>> LunarDate(1976, 8, 8, 1).day
8
>>> LunarDate(1976, 8, 8, 1).isLeapMonth
True
WWW: https://pypi.org/project/lunardate/
- SVNWeb : git : Homepage
- pkg-plist: as obtained via:
make generate-plist - There is no configure plist information for this port.
- Dependency lines:
-
- ${PYTHON_PKGNAMEPREFIX}lunardate>0:devel/py-lunardate@${PY_FLAVOR}
- To install the port:
- cd /usr/ports/devel/py-lunardate/ && make install clean
- To add the package, run one of these commands:
- pkg install devel/py-lunardate
- pkg install py38-lunardate
NOTE: This is a Python port. Instead of py38-lunardate listed in the above command, you can pick from the names under the Packages section.- PKGNAME: py38-lunardate
- Package flavors (<flavor>: <package>)
- distinfo:
- TIMESTAMP = 1567194412
SHA256 (lunardate-0.2.0.tar.gz) = 6c9c96d9f01522a10ab35df1a9b48707ae64a086f13fd34498b43f465918cc6f
SIZE (lunardate-0.2.0.tar.gz) = 5060
- 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:
-
- py38-setuptools>0 : devel/py-setuptools@py38
- python3.8 : lang/python38
- Runtime dependencies:
-
- py38-setuptools>0 : devel/py-setuptools@py38
- python3.8 : lang/python38
- This port is required by:
- for Run
-
- devel/py-fbprophet
- Configuration Options:
- No options to configure
- Options name:
- devel_py-lunardate
- USES:
- python:3.6+
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|
Commit History - (may be incomplete: see SVNWeb link above for full details) |
Date | By | Description |
07 Apr 2021 08:09:01 0.2.0_1
|
Mathieu Arnold (mat)  |
One more small cleanup, forgotten yesterday.
Reported by: lwhsu |
06 Apr 2021 14:31:07 0.2.0_1
|
Mathieu Arnold (mat)  |
Remove # $FreeBSD$ from Makefiles. |
28 Dec 2020 23:02:15
0.2.0_1
|
antoine  |
Drop python 2.7 support from a few ports
With hat: portmgr |
05 Sep 2019 20:30:44
0.2.0_1
|
antoine  |
Unbreak
Reported by: pkg-fallout |
05 Sep 2019 13:49:58
0.2.0_1
|
dvl  |
Add ${WRKSRC} to LICENSE_FILE
Noticed by: koobs |
04 Sep 2019 11:12:41
0.2.0_1
|
dvl  |
* add python as a secondary virtual category
* use CHEESESHOP, works now.
* set LICENSE_FILE
Noticed by: koobs |
03 Sep 2019 15:39:57
0.2.0
|
dvl  |
Add py-lunardate, a Chinese Calendar Library in Pure Python
Submitted by: Gilbert Morgan <gmm@tutanota.com> (via private email) |