diff --git a/chinese/Makefile b/chinese/Makefile index 8fefd1d64a93..e83d21c027db 100644 --- a/chinese/Makefile +++ b/chinese/Makefile @@ -1,135 +1,136 @@ COMMENT = Chinese support SUBDIR += CJKUnifonts SUBDIR += CNS11643-font SUBDIR += FreeWnn-lib SUBDIR += FreeWnn-server SUBDIR += arphicttf SUBDIR += aterm SUBDIR += auto-cn-l10n SUBDIR += auto-tw-l10n SUBDIR += autoconvert SUBDIR += big5width SUBDIR += bitchx SUBDIR += bsdconv-opencc SUBDIR += bug5 SUBDIR += c2t SUBDIR += cconv SUBDIR += chiconv SUBDIR += chinese-calendar SUBDIR += cless SUBDIR += cnprint SUBDIR += dictd-database SUBDIR += elffont SUBDIR += enscript SUBDIR += fandol SUBDIR += fcitx SUBDIR += fcitx-chewing SUBDIR += fcitx-cloudpinyin SUBDIR += fcitx-configtool SUBDIR += fcitx-libpinyin SUBDIR += fcitx-table-extra SUBDIR += fcitx-ui-light SUBDIR += fcitx5-chewing SUBDIR += fcitx5-chinese-addons SUBDIR += fcitx5-mcbopomofo SUBDIR += fcitx5-rime SUBDIR += fcitx5-table-extra SUBDIR += fcitx5-table-other SUBDIR += fireflyttf SUBDIR += font-std SUBDIR += fortunetw SUBDIR += gb2jis SUBDIR += gb2ps SUBDIR += gcin SUBDIR += gcin-gtk3 SUBDIR += gcin-qt5 SUBDIR += gydict SUBDIR += hc SUBDIR += ibus-array SUBDIR += ibus-cangjie SUBDIR += ibus-chewing SUBDIR += ibus-libpinyin SUBDIR += ibus-pinyin SUBDIR += ibus-rime SUBDIR += ibus-table-chinese SUBDIR += jis2gb SUBDIR += libcangjie SUBDIR += libchewing SUBDIR += libime SUBDIR += libime-jyutping SUBDIR += libpinyin SUBDIR += libreoffice-zh_CN SUBDIR += libreoffice-zh_TW SUBDIR += librime SUBDIR += libtabe SUBDIR += linux-wps-office-zh_CN SUBDIR += lunar SUBDIR += moettf SUBDIR += opencc SUBDIR += opendesktop-fonts SUBDIR += oto SUBDIR += p5-Date-Chinese SUBDIR += p5-Encode-CNMap SUBDIR += p5-Encode-HanConvert SUBDIR += p5-Encode-HanExtra SUBDIR += p5-Lingua-Han-PinYin SUBDIR += p5-Lingua-Han-Utils SUBDIR += p5-Lingua-ZH-HanDetect SUBDIR += p5-Lingua-ZH-Keywords SUBDIR += p5-Lingua-ZH-Numbers SUBDIR += p5-Lingua-ZH-Romanize-Pinyin SUBDIR += p5-Lingua-ZH-Segment SUBDIR += p5-Lingua-ZH-Summarize SUBDIR += p5-Lingua-ZH-TaBE SUBDIR += p5-Lingua-ZH-Toke SUBDIR += p5-Lingua-ZH-WordSegmenter SUBDIR += p5-Lingua-ZH-Wrap SUBDIR += p5-Text-Greeking-zh_TW SUBDIR += pcmanx SUBDIR += php-opencc SUBDIR += phpbb3-tw + SUBDIR += py-chinese-calendar SUBDIR += py-rjieba SUBDIR += pycangjie SUBDIR += pyzy SUBDIR += qe SUBDIR += rime-array SUBDIR += rime-bopomofo SUBDIR += rime-cangjie SUBDIR += rime-cantonese SUBDIR += rime-combo-pinyin SUBDIR += rime-data-full SUBDIR += rime-double-pinyin SUBDIR += rime-emoji SUBDIR += rime-essay SUBDIR += rime-ipa SUBDIR += rime-jyutping SUBDIR += rime-luna-pinyin SUBDIR += rime-middle-chinese SUBDIR += rime-pinyin-simp SUBDIR += rime-prelude SUBDIR += rime-quick SUBDIR += rime-scj SUBDIR += rime-soutzoe SUBDIR += rime-stenotype SUBDIR += rime-stroke SUBDIR += rime-terra-pinyin SUBDIR += rime-wubi SUBDIR += rime-wugniu SUBDIR += scim-fcitx SUBDIR += scim-pinyin SUBDIR += scim-tables SUBDIR += sourcehansans-sc-otf SUBDIR += sourcehansans-tc-otf SUBDIR += sourcehanserif-sc-otf SUBDIR += sourcehanserif-tc-otf SUBDIR += taipeisanstc SUBDIR += tintin++ SUBDIR += ttf2pt1 SUBDIR += ttfm SUBDIR += ve SUBDIR += wenju SUBDIR += wordpress-zh_CN SUBDIR += wordpress-zh_TW .include diff --git a/chinese/py-chinese-calendar/Makefile b/chinese/py-chinese-calendar/Makefile new file mode 100644 index 000000000000..90594c9eefab --- /dev/null +++ b/chinese/py-chinese-calendar/Makefile @@ -0,0 +1,22 @@ +PORTNAME= chinese-calendar +PORTVERSION= 1.11.0 +CATEGORIES= chinese python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +DISTNAME= chinese_calendar-${PORTVERSION} + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Check if some day is holiday in China +WWW= https://github.com/liriansu-opus/chinese-calendar + +LICENSE= MIT + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=63.1.0:devel/py-setuptools@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} + +USES= python +USE_PYTHON= pep517 concurrent autoplist + +NO_ARCH= yes + +.include diff --git a/chinese/py-chinese-calendar/distinfo b/chinese/py-chinese-calendar/distinfo new file mode 100644 index 000000000000..729bb01e3bbe --- /dev/null +++ b/chinese/py-chinese-calendar/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1781842763 +SHA256 (chinese_calendar-1.11.0.tar.gz) = 931d9187cbf7bb1dc09685dedb5013e74678bbe03a173d71d46b76afc37f2597 +SIZE (chinese_calendar-1.11.0.tar.gz) = 16607 diff --git a/chinese/py-chinese-calendar/pkg-descr b/chinese/py-chinese-calendar/pkg-descr new file mode 100644 index 000000000000..0a01807c6d66 --- /dev/null +++ b/chinese/py-chinese-calendar/pkg-descr @@ -0,0 +1,4 @@ +Check if some day is holiday in China. + +Determines whether a given date is a workday or holiday in China, +covering 2004 through 2026.