1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

A sane date/time Python interface: better epoch time, timezones, and deltas

with Django support as well

WWW:	https://github.com/HubSpot/sanetime

PR:		ports/168663
Submitted by:	koobs <koobs.freebsd@gmail.com>
This commit is contained in:
Martin Wilke 2012-06-10 16:32:20 +00:00
parent aab1e4d364
commit eb3b6a488c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=298956
5 changed files with 39 additions and 0 deletions

View File

@ -3390,6 +3390,7 @@
SUBDIR += py-roxlib
SUBDIR += py-rtree
SUBDIR += py-ruledispatch
SUBDIR += py-sanetime
SUBDIR += py-sendfile
SUBDIR += py-setproctitle
SUBDIR += py-setuptools

View File

@ -0,0 +1,30 @@
# New ports collection makefile for: py-sanetime
# Date created: 2012-06-03
# Whom: koobs <koobs.freebsd@gmail.com>
#
# $FreeBSD$
#
PORTNAME= sanetime
PORTVERSION= 4.1.6
CATEGORIES= devel python astro
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= koobs.freebsd@gmail.com
COMMENT= A sane date/time Python interface, with Django support
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}dateutil<2.0:${PORTSDIR}/devel/py-dateutil \
${PYTHON_PKGNAMEPREFIX}pytz>2010:${PORTSDIR}/devel/py-pytz
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
USE_PYTHON= yes
USE_PYDISTUTILS=easy_install
PYEASYINSTALL_INSTALLARGS= -Z -q -O 1 -N -S ${PYTHON_SITELIBDIR} \
-d ${PYEASYINSTALL_SITELIBDIR} \
-s ${PYEASYINSTALL_BINDIR} \
${WRKSRC}/dist/${PYEASYINSTALL_EGG}
.include <bsd.port.mk>

View File

@ -0,0 +1,2 @@
SHA256 (sanetime-4.1.6.tar.gz) = 23f05f0c8022f9e0355f85a39381052476163199831d0ee90ea3614ed06d59a6
SIZE (sanetime-4.1.6.tar.gz) = 15102

View File

@ -0,0 +1,4 @@
A sane date/time Python interface: better epoch time, timezones, and deltas
with Django support as well
WWW: https://github.com/HubSpot/sanetime

View File

@ -0,0 +1,2 @@
@comment $FreeBSD$
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%