diff options
author | Martin Wilke <miwi@FreeBSD.org> | 2012-06-10 16:32:20 +0000 |
---|---|---|
committer | Martin Wilke <miwi@FreeBSD.org> | 2012-06-10 16:32:20 +0000 |
commit | eb3b6a488c0b43dab86dc3aab4f8049a0f6a50ab (patch) | |
tree | 99368443d89504cf51457a135783f92f0e48776a /devel | |
parent | aab1e4d364f4b5dc93a56aa0423bf426b9e13176 (diff) | |
download | ports-eb3b6a488c0b43dab86dc3aab4f8049a0f6a50ab.tar.gz ports-eb3b6a488c0b43dab86dc3aab4f8049a0f6a50ab.zip |
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>
Notes
Notes:
svn path=/head/; revision=298956
Diffstat (limited to 'devel')
-rw-r--r-- | devel/Makefile | 1 | ||||
-rw-r--r-- | devel/py-sanetime/Makefile | 30 | ||||
-rw-r--r-- | devel/py-sanetime/distinfo | 2 | ||||
-rw-r--r-- | devel/py-sanetime/pkg-descr | 4 | ||||
-rw-r--r-- | devel/py-sanetime/pkg-plist | 2 |
5 files changed, 39 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile index bbeec1bfb443..bac4d7662bb3 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -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 diff --git a/devel/py-sanetime/Makefile b/devel/py-sanetime/Makefile new file mode 100644 index 000000000000..3e18c14ed02b --- /dev/null +++ b/devel/py-sanetime/Makefile @@ -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> diff --git a/devel/py-sanetime/distinfo b/devel/py-sanetime/distinfo new file mode 100644 index 000000000000..2e9d1f1bbc14 --- /dev/null +++ b/devel/py-sanetime/distinfo @@ -0,0 +1,2 @@ +SHA256 (sanetime-4.1.6.tar.gz) = 23f05f0c8022f9e0355f85a39381052476163199831d0ee90ea3614ed06d59a6 +SIZE (sanetime-4.1.6.tar.gz) = 15102 diff --git a/devel/py-sanetime/pkg-descr b/devel/py-sanetime/pkg-descr new file mode 100644 index 000000000000..be7953acf080 --- /dev/null +++ b/devel/py-sanetime/pkg-descr @@ -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 diff --git a/devel/py-sanetime/pkg-plist b/devel/py-sanetime/pkg-plist new file mode 100644 index 000000000000..7767d3e76aa1 --- /dev/null +++ b/devel/py-sanetime/pkg-plist @@ -0,0 +1,2 @@ +@comment $FreeBSD$ +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%% |