svn commit: r483659 - in head/devel: . py-pendulum
Renato Botelho
garga at FreeBSD.org
Thu Nov 1 12:31:38 UTC 2018
Author: garga
Date: Thu Nov 1 12:31:36 2018
New Revision: 483659
URL: https://svnweb.freebsd.org/changeset/ports/483659
Log:
New port: devel/py-pendulum: Python package to ease datetimes manipulation
Added:
head/devel/py-pendulum/
head/devel/py-pendulum/Makefile (contents, props changed)
head/devel/py-pendulum/distinfo (contents, props changed)
head/devel/py-pendulum/pkg-descr (contents, props changed)
Modified:
head/devel/Makefile
Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile Thu Nov 1 12:16:17 2018 (r483658)
+++ head/devel/Makefile Thu Nov 1 12:31:36 2018 (r483659)
@@ -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
Added: head/devel/py-pendulum/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/py-pendulum/Makefile Thu Nov 1 12:31:36 2018 (r483659)
@@ -0,0 +1,22 @@
+# $FreeBSD$
+
+PORTNAME= pendulum
+PORTVERSION= 2.0.4
+CATEGORIES= devel python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= garga at 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>
Added: head/devel/py-pendulum/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/py-pendulum/distinfo Thu Nov 1 12:31:36 2018 (r483659)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1541016634
+SHA256 (pendulum-2.0.4.tar.gz) = cf535d36c063575d4752af36df928882b2e0e31541b4482c97d63752785f9fcb
+SIZE (pendulum-2.0.4.tar.gz) = 75745
Added: head/devel/py-pendulum/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/py-pendulum/pkg-descr Thu Nov 1 12:31:36 2018 (r483659)
@@ -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
More information about the svn-ports-all
mailing list