aboutsummaryrefslogtreecommitdiff
path: root/devel/py-sanetime
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2012-06-10 16:32:20 +0000
committerMartin Wilke <miwi@FreeBSD.org>2012-06-10 16:32:20 +0000
commiteb3b6a488c0b43dab86dc3aab4f8049a0f6a50ab (patch)
tree99368443d89504cf51457a135783f92f0e48776a /devel/py-sanetime
parentaab1e4d364f4b5dc93a56aa0423bf426b9e13176 (diff)
downloadports-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/py-sanetime')
-rw-r--r--devel/py-sanetime/Makefile30
-rw-r--r--devel/py-sanetime/distinfo2
-rw-r--r--devel/py-sanetime/pkg-descr4
-rw-r--r--devel/py-sanetime/pkg-plist2
4 files changed, 38 insertions, 0 deletions
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%%