aboutsummaryrefslogtreecommitdiffstats
path: root/devel/py-mxDateTime
diff options
context:
space:
mode:
authortg <tg@FreeBSD.org>1999-05-26 15:49:45 +0800
committertg <tg@FreeBSD.org>1999-05-26 15:49:45 +0800
commit8c2e46ac8b7d5a8f6ccef419bfa85693e7c6287a (patch)
tree46c82e3e86f8f240f98d9f35dd2705079f7576e6 /devel/py-mxDateTime
parent30b218e8f8f3e3f879ac242cd9a2aa92485eb6e3 (diff)
downloadfreebsd-ports-gnome-8c2e46ac8b7d5a8f6ccef419bfa85693e7c6287a.tar.gz
freebsd-ports-gnome-8c2e46ac8b7d5a8f6ccef419bfa85693e7c6287a.tar.zst
freebsd-ports-gnome-8c2e46ac8b7d5a8f6ccef419bfa85693e7c6287a.zip
New port py-mxDateTime, Marc-André Lemburgs date and time handling
routines and types for Python.
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