mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-14 07:43:06 +00:00
New port: devel/py-pendulum: Python package to ease datetimes manipulation
This commit is contained in:
parent
7cab3c9116
commit
b88f2d893d
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=483659
@ -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
|
||||
|
22
devel/py-pendulum/Makefile
Normal file
22
devel/py-pendulum/Makefile
Normal 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>
|
3
devel/py-pendulum/distinfo
Normal file
3
devel/py-pendulum/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1541016634
|
||||
SHA256 (pendulum-2.0.4.tar.gz) = cf535d36c063575d4752af36df928882b2e0e31541b4482c97d63752785f9fcb
|
||||
SIZE (pendulum-2.0.4.tar.gz) = 75745
|
10
devel/py-pendulum/pkg-descr
Normal file
10
devel/py-pendulum/pkg-descr
Normal 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
|
Loading…
Reference in New Issue
Block a user