From owner-svn-ports-head@freebsd.org Thu Nov 1 12:31:38 2018 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3F69E10F14EE; Thu, 1 Nov 2018 12:31:38 +0000 (UTC) (envelope-from garga@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E97BF73E68; Thu, 1 Nov 2018 12:31:37 +0000 (UTC) (envelope-from garga@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id CA32E1BC19; Thu, 1 Nov 2018 12:31:37 +0000 (UTC) (envelope-from garga@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id wA1CVbf8021982; Thu, 1 Nov 2018 12:31:37 GMT (envelope-from garga@FreeBSD.org) Received: (from garga@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id wA1CVa8P021978; Thu, 1 Nov 2018 12:31:36 GMT (envelope-from garga@FreeBSD.org) Message-Id: <201811011231.wA1CVa8P021978@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: garga set sender to garga@FreeBSD.org using -f From: Renato Botelho Date: Thu, 1 Nov 2018 12:31:36 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r483659 - in head/devel: . py-pendulum X-SVN-Group: ports-head X-SVN-Commit-Author: garga X-SVN-Commit-Paths: in head/devel: . py-pendulum X-SVN-Commit-Revision: 483659 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Nov 2018 12:31:38 -0000 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@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 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