mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-31 05:41:08 +00:00
arabic/py-hijri-converter: New port: Hijri-Gregorian dates converter based on the Umm al-Qura calendar
This commit is contained in:
parent
11cd9ddf54
commit
5f03f3518e
@ -8,5 +8,6 @@
|
||||
SUBDIR += khotot
|
||||
SUBDIR += libitl
|
||||
SUBDIR += libreoffice
|
||||
SUBDIR += py-hijri-converter
|
||||
|
||||
.include <bsd.port.subdir.mk>
|
||||
|
21
arabic/py-hijri-converter/Makefile
Normal file
21
arabic/py-hijri-converter/Makefile
Normal file
@ -0,0 +1,21 @@
|
||||
PORTNAME= hijri-converter
|
||||
DISTVERSION= 2.2.4
|
||||
CATEGORIES= arabic python
|
||||
MASTER_SITES= CHEESESHOP
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
|
||||
MAINTAINER= yuri@FreeBSD.org
|
||||
COMMENT= Hijri-Gregorian dates converter based on the Umm al-Qura calendar
|
||||
WWW= https://hijri-converter.readthedocs.io/en/stable/
|
||||
|
||||
LICENSE= MIT
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||
|
||||
USES= python:3.6+
|
||||
USE_PYTHON= distutils autoplist pytest
|
||||
|
||||
NO_ARCH= yes
|
||||
|
||||
TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
|
||||
|
||||
.include <bsd.port.mk>
|
3
arabic/py-hijri-converter/distinfo
Normal file
3
arabic/py-hijri-converter/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1672176341
|
||||
SHA256 (hijri-converter-2.2.4.tar.gz) = 9e1d9fa4c220f6867da2abb1a96240675ae974abba951c686a781f4ef6ac218f
|
||||
SIZE (hijri-converter-2.2.4.tar.gz) = 34899
|
15
arabic/py-hijri-converter/pkg-descr
Normal file
15
arabic/py-hijri-converter/pkg-descr
Normal file
@ -0,0 +1,15 @@
|
||||
hijri-converter is a Python package to convert accurately between Hijri and
|
||||
Gregorian dates using the Umm al-Qura calendar.
|
||||
|
||||
Features:
|
||||
* Accurate and verified date conversion.
|
||||
* Optimized code performance compared to similar packages.
|
||||
* Intuitive, clean, and easy-to-use interface.
|
||||
* Most of the methods and formats are similar to those of standard library.
|
||||
* Multilingual representation of weekday names, months, and calendar era
|
||||
notations.
|
||||
* Easily extendable to support other natural languages.
|
||||
* Rich comparison between dates.
|
||||
* Validation of input dates.
|
||||
* Works on Python 3.6+ with zero dependencies.
|
||||
* Thoroughly tested with 100% test coverage.
|
Loading…
Reference in New Issue
Block a user