summaryrefslogtreecommitdiff
path: root/devel/py-mxDateTime
diff options
context:
space:
mode:
authorThomas Gellekum <tg@FreeBSD.org>1999-05-26 07:49:45 +0000
committerThomas Gellekum <tg@FreeBSD.org>1999-05-26 07:49:45 +0000
commit2232fcef34c879230805cd037e7a6c9589cc47bc (patch)
treee4c548c52a7798c2b9e272b4509fa9c61e6cd191 /devel/py-mxDateTime
parentGive up root temporarily to read user's .Xauthority. (diff)
New port py-mxDateTime, Marc-André Lemburgs date and time handling
routines and types for Python.
Notes
Notes: svn path=/head/; revision=19004
Diffstat (limited to 'devel/py-mxDateTime')
-rw-r--r--devel/py-mxDateTime/Makefile47
-rw-r--r--devel/py-mxDateTime/distinfo1
-rw-r--r--devel/py-mxDateTime/files/Setup8
-rw-r--r--devel/py-mxDateTime/pkg-comment1
-rw-r--r--devel/py-mxDateTime/pkg-descr6
-rw-r--r--devel/py-mxDateTime/pkg-plist48
6 files changed, 111 insertions, 0 deletions
diff --git a/devel/py-mxDateTime/Makefile b/devel/py-mxDateTime/Makefile
new file mode 100644
index 000000000000..161ea2bfd638
--- /dev/null
+++ b/devel/py-mxDateTime/Makefile
@@ -0,0 +1,47 @@
+# New ports collection makefile for: py-mxDateTime
+# Version required: 1.3.0
+# Date created: 12 May 1999
+# Whom: Thomas Gellekum <tg@FreeBSD.ORG>
+#
+# $Id$
+#
+
+DISTNAME= mxDateTime-1.3.0
+PKGNAME= py-mxDateTime-1.3.0
+CATEGORIES= devel python
+MASTER_SITES= http://starship.skyport.net/~lemburg/
+
+MAINTAINER= tg@FreeBSD.ORG
+
+BUILD_DEPENDS= python:${PORTSDIR}/lang/python
+RUN_DEPENDS= python:${PORTSDIR}/lang/python
+
+USE_ZIP= yes
+EXTRACT_BEFORE_ARGS= -aq
+WRKSRC= ${WRKDIR}/DateTime/mxDateTime
+ALL_TARGET= sharedmods
+
+PYTHONSCRIPTDIR= ${PREFIX}/lib/python1.5
+DATETIMEDIR= ${PYTHONSCRIPTDIR}/site-packages/DateTime
+DOCDIR= ${PREFIX}/share/doc/py-mxDateTime
+EXAMPLEDIR= ${PREFIX}/share/examples/py-mxDateTime
+
+post-extract:
+ @${CP} ${FILESDIR}/Setup ${WRKSRC}
+
+do-configure:
+ @(cd ${WRKSRC} && ${CONFIGURE_ENV} ${MAKE} -f Makefile.pre.in boot)
+
+post-install:
+ @${MKDIR} ${DATETIMEDIR}
+ ${INSTALL_DATA} ${WRKDIR}/DateTime/*.py ${DATETIMEDIR}
+ @${PREFIX}/bin/python ${PYTHONSCRIPTDIR}/compileall.py ${DATETIMEDIR}
+ @${PREFIX}/bin/python -O ${PYTHONSCRIPTDIR}/compileall.py ${DATETIMEDIR}
+ @${MKDIR} ${EXAMPLEDIR}
+ ${INSTALL_DATA} ${WRKDIR}/DateTime/Examples/* ${EXAMPLEDIR}
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${DOCDIR}
+ ${INSTALL_DATA} ${WRKDIR}/DateTime/Doc/* ${DOCDIR}
+.endif
+
+.include <bsd.port.mk>
diff --git a/devel/py-mxDateTime/distinfo b/devel/py-mxDateTime/distinfo
new file mode 100644
index 000000000000..e21e11015404
--- /dev/null
+++ b/devel/py-mxDateTime/distinfo
@@ -0,0 +1 @@
+MD5 (mxDateTime-1.3.0.zip) = 04d7bd5dea4490b82de4ecc3c4e24a13
diff --git a/devel/py-mxDateTime/files/Setup b/devel/py-mxDateTime/files/Setup
new file mode 100644
index 000000000000..0a6a9363d083
--- /dev/null
+++ b/devel/py-mxDateTime/files/Setup
@@ -0,0 +1,8 @@
+# Build extensions shared:
+*shared*
+#
+
+#
+# mxDateTime module
+#
+mxDateTime -DHAVE_STRFTIME -DHAVE_STRPTIME -DHAVE_TIMEGM mxDateTime.c
diff --git a/devel/py-mxDateTime/pkg-comment b/devel/py-mxDateTime/pkg-comment
new file mode 100644
index 000000000000..42fb803f4e9e
--- /dev/null
+++ b/devel/py-mxDateTime/pkg-comment
@@ -0,0 +1 @@
+Date and time handling routines and types for python.
diff --git a/devel/py-mxDateTime/pkg-descr b/devel/py-mxDateTime/pkg-descr
new file mode 100644
index 000000000000..19f0e86f829f
--- /dev/null
+++ b/devel/py-mxDateTime/pkg-descr
@@ -0,0 +1,6 @@
+This package contains three new object types for Python: DateTime,
+DateTimeDelta and RelativeDateTime. These can be used to handle and
+store date/time values and also allow some basic date/time
+arithmetic. For full documentation see the home page.
+
+WWW: http://starship.skyport.net/~lemburg/mxDateTime.html
diff --git a/devel/py-mxDateTime/pkg-plist b/devel/py-mxDateTime/pkg-plist
new file mode 100644
index 000000000000..bb0f5ba792c1
--- /dev/null
+++ b/devel/py-mxDateTime/pkg-plist
@@ -0,0 +1,48 @@
+lib/python1.5/site-packages/DateTime/ARPA.py
+lib/python1.5/site-packages/DateTime/ARPA.pyc
+lib/python1.5/site-packages/DateTime/ARPA.pyo
+lib/python1.5/site-packages/DateTime/DateTime.py
+lib/python1.5/site-packages/DateTime/DateTime.pyc
+lib/python1.5/site-packages/DateTime/DateTime.pyo
+lib/python1.5/site-packages/DateTime/Feasts.py
+lib/python1.5/site-packages/DateTime/Feasts.pyc
+lib/python1.5/site-packages/DateTime/Feasts.pyo
+lib/python1.5/site-packages/DateTime/ISO.py
+lib/python1.5/site-packages/DateTime/ISO.pyc
+lib/python1.5/site-packages/DateTime/ISO.pyo
+lib/python1.5/site-packages/DateTime/LazyModule.py
+lib/python1.5/site-packages/DateTime/LazyModule.pyc
+lib/python1.5/site-packages/DateTime/LazyModule.pyo
+lib/python1.5/site-packages/DateTime/Locale.py
+lib/python1.5/site-packages/DateTime/Locale.pyc
+lib/python1.5/site-packages/DateTime/Locale.pyo
+lib/python1.5/site-packages/DateTime/NIST.py
+lib/python1.5/site-packages/DateTime/NIST.pyc
+lib/python1.5/site-packages/DateTime/NIST.pyo
+lib/python1.5/site-packages/DateTime/ODMG.py
+lib/python1.5/site-packages/DateTime/ODMG.pyc
+lib/python1.5/site-packages/DateTime/ODMG.pyo
+lib/python1.5/site-packages/DateTime/Parser.py
+lib/python1.5/site-packages/DateTime/Parser.pyc
+lib/python1.5/site-packages/DateTime/Parser.pyo
+lib/python1.5/site-packages/DateTime/Timezone.py
+lib/python1.5/site-packages/DateTime/Timezone.pyc
+lib/python1.5/site-packages/DateTime/Timezone.pyo
+lib/python1.5/site-packages/DateTime/__init__.py
+lib/python1.5/site-packages/DateTime/__init__.pyc
+lib/python1.5/site-packages/DateTime/__init__.pyo
+lib/python1.5/site-packages/DateTime/timegm.py
+lib/python1.5/site-packages/DateTime/timegm.pyc
+lib/python1.5/site-packages/DateTime/timegm.pyo
+lib/python1.5/site-packages/mxDateTime.so
+@dirrm lib/python1.5/site-packages/DateTime
+share/doc/py-mxDateTime/mxDateTime-History.html
+share/doc/py-mxDateTime/mxDateTime.html
+@dirrm share/doc/py-mxDateTime
+share/examples/py-mxDateTime/AtomicClock.py
+share/examples/py-mxDateTime/CommandLine.py
+share/examples/py-mxDateTime/Y2000.py
+share/examples/py-mxDateTime/__init__.py
+share/examples/py-mxDateTime/alarm.py
+share/examples/py-mxDateTime/lifespan.py
+@dirrm share/examples/py-mxDateTime