1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-19 19:59:43 +00:00

New port: devel/py-pendulum: Python package to ease datetimes manipulation

This commit is contained in:
Renato Botelho 2018-11-01 12:31:36 +00:00
parent 7cab3c9116
commit b88f2d893d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=483659
4 changed files with 36 additions and 0 deletions

View File

@ -4847,6 +4847,7 @@
SUBDIR += py-paver
SUBDIR += py-pbr
SUBDIR += py-pefile
SUBDIR += py-pendulum
SUBDIR += py-pep8-naming
SUBDIR += py-period
SUBDIR += py-petname

View File

@ -0,0 +1,22 @@
# $FreeBSD$
PORTNAME= pendulum
PORTVERSION= 2.0.4
CATEGORIES= devel python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= garga@FreeBSD.org
COMMENT= Python package to ease datetimes manipulation
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= python:3.6+
USE_PYTHON= autoplist distutils
post-install:
@${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/pendulum/_extensions/_helpers.so
@${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/pendulum/parsing/_iso8601.so
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
TIMESTAMP = 1541016634
SHA256 (pendulum-2.0.4.tar.gz) = cf535d36c063575d4752af36df928882b2e0e31541b4482c97d63752785f9fcb
SIZE (pendulum-2.0.4.tar.gz) = 75745

View File

@ -0,0 +1,10 @@
Pendulum is a Python package to ease datetimes manipulation.
It provides classes that are drop-in replacements for the native ones (they
inherit from them).
Special care has been taken to ensure timezones are handled correctly, and
are based on the underlying tzinfo implementation. For example all
comparisons are done in UTC or in the timezone of the datetime being used.
WWW: https://pendulum.eustace.io