summaryrefslogtreecommitdiff
path: root/time/py-mxDateTime
diff options
context:
space:
mode:
Diffstat (limited to 'time/py-mxDateTime')
-rw-r--r--time/py-mxDateTime/Makefile46
-rw-r--r--time/py-mxDateTime/files/md53
-rw-r--r--time/py-mxDateTime/pkg/COMMENT1
-rw-r--r--time/py-mxDateTime/pkg/DESCR10
-rw-r--r--time/py-mxDateTime/pkg/PLIST46
5 files changed, 106 insertions, 0 deletions
diff --git a/time/py-mxDateTime/Makefile b/time/py-mxDateTime/Makefile
new file mode 100644
index 00000000000..08a8b1553f6
--- /dev/null
+++ b/time/py-mxDateTime/Makefile
@@ -0,0 +1,46 @@
+# $NetBSD: Makefile,v 1.1.1.1 2000/12/17 23:32:11 wiz Exp $
+#
+
+DISTNAME= mxDateTime-1.3.0
+PKGNAME= py-mxDateTime-1.3.0
+WRKSRC= ${WRKDIR}/DateTime
+CATEGORIES= time
+MASTER_SITES= http://starship.python.net/~lemburg/
+EXTRACT_SUFX= .zip
+
+MAINTAINER= packages@netbsd.org
+HOMEPAGE= http://starship.python.net/~lemburg/mxDateTime.html
+
+BUILD_DEPENDS= unzip:../../archivers/unzip
+DEPENDS+= python-2.0*:../../lang/python
+
+EXTRACT_CMD= unzip -Laqo ${DOWNLOADED_DISTFILE}
+
+RESTRICTED= No commercial distribution
+NO_SRC_ON_CDROM= ${RESTRICTED}
+NO_BIN_ON_CDROM= ${RESTRICTED}
+
+do-configure:
+ ( cd ${WRKSRC}/mxDateTime ; \
+ make -f Makefile.pre.in boot )
+
+do-build:
+ ( cd ${WRKSRC}/mxDateTime; make )
+ ( cd ${WRKSRC}; python ${PREFIX}/lib/python2.0/compileall.py . )
+ ( cd ${WRKSRC}; python -O ${PREFIX}/lib/python2.0/compileall.py . )
+
+do-install:
+ @${INSTALL_SCRIPT_DIR} ${PREFIX}/lib/python2.0/site-packages
+ @${INSTALL_SCRIPT_DIR} ${PREFIX}/lib/python2.0/site-packages/DateTime
+ @${INSTALL_DATA} ${WRKSRC}/*.py* \
+ ${PREFIX}/lib/python2.0/site-packages/DateTime
+ @${INSTALL_SCRIPT_DIR} \
+ ${PREFIX}/lib/python2.0/site-packages/DateTime/mxDateTime
+ @${INSTALL_DATA} ${WRKSRC}/mxDateTime/*.so \
+ ${WRKSRC}/mxDateTime/__init__.py* \
+ ${PREFIX}/lib/python2.0/site-packages/DateTime/mxDateTime
+ @${INSTALL_DATA_DIR} ${PREFIX}/share/doc/html/py-mxDateTime
+ @${INSTALL_SCRIPT} ${WRKSRC}/Doc/*.html \
+ ${PREFIX}/share/doc/html/py-mxDateTime/
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/time/py-mxDateTime/files/md5 b/time/py-mxDateTime/files/md5
new file mode 100644
index 00000000000..fb6eee640bb
--- /dev/null
+++ b/time/py-mxDateTime/files/md5
@@ -0,0 +1,3 @@
+$NetBSD: md5,v 1.1.1.1 2000/12/17 23:32:11 wiz Exp $
+
+MD5 (mxDateTime-1.3.0.zip) = 2cdf8741c7be9d11bebcb62291c59de9
diff --git a/time/py-mxDateTime/pkg/COMMENT b/time/py-mxDateTime/pkg/COMMENT
new file mode 100644
index 00000000000..ce4ff504f3c
--- /dev/null
+++ b/time/py-mxDateTime/pkg/COMMENT
@@ -0,0 +1 @@
+Python extension that provides new types and conversions for dates
diff --git a/time/py-mxDateTime/pkg/DESCR b/time/py-mxDateTime/pkg/DESCR
new file mode 100644
index 00000000000..89d7cc7796a
--- /dev/null
+++ b/time/py-mxDateTime/pkg/DESCR
@@ -0,0 +1,10 @@
+A C extension package for python that provides new datatypes for
+handling dates and times together with a rich set of conversion and
+parsing routines.
+
+These types were created to provide a consistent way of transferring
+date and time data between Python and databases. Apart from handling
+date before the Unix epoch (1.1.1970) they also correctly work with
+dates beyond the Unix time limit (currently with Unix time value being
+encoded using 32bit integers, the limit is reached in 2038) and thus
+is Year 2000 and Year 2038 safe.
diff --git a/time/py-mxDateTime/pkg/PLIST b/time/py-mxDateTime/pkg/PLIST
new file mode 100644
index 00000000000..bbce1458b61
--- /dev/null
+++ b/time/py-mxDateTime/pkg/PLIST
@@ -0,0 +1,46 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2000/12/17 23:32:11 wiz Exp $
+lib/python2.0/site-packages/DateTime/mxDateTime/mxDateTime.so
+lib/python2.0/site-packages/DateTime/mxDateTime/__init__.py
+lib/python2.0/site-packages/DateTime/mxDateTime/__init__.pyc
+lib/python2.0/site-packages/DateTime/mxDateTime/__init__.pyo
+lib/python2.0/site-packages/DateTime/ARPA.py
+lib/python2.0/site-packages/DateTime/ARPA.pyc
+lib/python2.0/site-packages/DateTime/ARPA.pyo
+lib/python2.0/site-packages/DateTime/DateTime.py
+lib/python2.0/site-packages/DateTime/DateTime.pyc
+lib/python2.0/site-packages/DateTime/DateTime.pyo
+lib/python2.0/site-packages/DateTime/Feasts.py
+lib/python2.0/site-packages/DateTime/Feasts.pyc
+lib/python2.0/site-packages/DateTime/Feasts.pyo
+lib/python2.0/site-packages/DateTime/ISO.py
+lib/python2.0/site-packages/DateTime/ISO.pyc
+lib/python2.0/site-packages/DateTime/ISO.pyo
+lib/python2.0/site-packages/DateTime/LazyModule.py
+lib/python2.0/site-packages/DateTime/LazyModule.pyc
+lib/python2.0/site-packages/DateTime/LazyModule.pyo
+lib/python2.0/site-packages/DateTime/Locale.py
+lib/python2.0/site-packages/DateTime/Locale.pyc
+lib/python2.0/site-packages/DateTime/Locale.pyo
+lib/python2.0/site-packages/DateTime/NIST.py
+lib/python2.0/site-packages/DateTime/NIST.pyc
+lib/python2.0/site-packages/DateTime/NIST.pyo
+lib/python2.0/site-packages/DateTime/ODMG.py
+lib/python2.0/site-packages/DateTime/ODMG.pyc
+lib/python2.0/site-packages/DateTime/ODMG.pyo
+lib/python2.0/site-packages/DateTime/Parser.py
+lib/python2.0/site-packages/DateTime/Parser.pyc
+lib/python2.0/site-packages/DateTime/Parser.pyo
+lib/python2.0/site-packages/DateTime/Timezone.py
+lib/python2.0/site-packages/DateTime/Timezone.pyc
+lib/python2.0/site-packages/DateTime/Timezone.pyo
+lib/python2.0/site-packages/DateTime/__init__.py
+lib/python2.0/site-packages/DateTime/__init__.pyc
+lib/python2.0/site-packages/DateTime/__init__.pyo
+lib/python2.0/site-packages/DateTime/timegm.py
+lib/python2.0/site-packages/DateTime/timegm.pyc
+lib/python2.0/site-packages/DateTime/timegm.pyo
+share/doc/html/py-mxDateTime/mxDateTime.html
+share/doc/html/py-mxDateTime/mxDateTime-History.html
+@dirrm lib/python2.0/site-packages/DateTime/mxDateTime
+@dirrm lib/python2.0/site-packages/DateTime
+@dirrm share/doc/html/py-mxDateTime