diff options
author | tsarna <tsarna@pkgsrc.org> | 1999-06-28 19:22:45 +0000 |
---|---|---|
committer | tsarna <tsarna@pkgsrc.org> | 1999-06-28 19:22:45 +0000 |
commit | 840bf7c7fb33779c94560a86353dffb2ee8f30a0 (patch) | |
tree | dca7f9404419d8487f15ec6ce1556f7c2e7e5b24 /misc | |
parent | fb9650a9de64df4e51aa7a5d16a2ea5ea7c82830 (diff) | |
download | pkgsrc-840bf7c7fb33779c94560a86353dffb2ee8f30a0.tar.gz |
mxDateTime extension for Python, Python extension that provides new
types and conversions for dates. Closes pkg/7876 by Jarkko Torppa
<torppa@staff.megabaud.fi>
Diffstat (limited to 'misc')
-rw-r--r-- | misc/py-mxDateTime/Makefile | 43 | ||||
-rw-r--r-- | misc/py-mxDateTime/files/md5 | 3 | ||||
-rw-r--r-- | misc/py-mxDateTime/pkg/COMMENT | 1 | ||||
-rw-r--r-- | misc/py-mxDateTime/pkg/DESCR | 10 | ||||
-rw-r--r-- | misc/py-mxDateTime/pkg/PLIST | 46 |
5 files changed, 103 insertions, 0 deletions
diff --git a/misc/py-mxDateTime/Makefile b/misc/py-mxDateTime/Makefile new file mode 100644 index 00000000000..cd64efb0422 --- /dev/null +++ b/misc/py-mxDateTime/Makefile @@ -0,0 +1,43 @@ +# $NetBSD: Makefile,v 1.1.1.1 1999/06/28 19:22:45 tsarna Exp $ + +DISTNAME= mxDateTime-1.3.0 +PKGNAME= py-mxDateTime-1.3.0 +WRKSRC= ${WRKDIR}/DateTime +CATEGORIES= misc +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-1.5.2:../../lang/python + +EXTRACT_CMD= unzip -Laqo ${DOWNLOADED_DISTFILE} + +NO_CDROM= Permission to...and without fee or royalty... + +do-configure: + ( cd ${WRKSRC}/mxDateTime ; \ + make -f Makefile.pre.in boot ) + +do-build: + ( cd ${WRKSRC}/mxDateTime; make ) + ( cd ${WRKSRC}; python ${PREFIX}/lib/python1.5/compileall.py . ) + ( cd ${WRKSRC}; python -O ${PREFIX}/lib/python1.5/compileall.py . ) + +do-install: + @${INSTALL_SCRIPT_DIR} ${PREFIX}/lib/python1.5/site-packages + @${INSTALL_SCRIPT_DIR} ${PREFIX}/lib/python1.5/site-packages/DateTime + @${INSTALL_DATA} ${WRKSRC}/*.py* \ + ${PREFIX}/lib/python1.5/site-packages/DateTime + @${INSTALL_SCRIPT_DIR} \ + ${PREFIX}/lib/python1.5/site-packages/DateTime/mxDateTime + @${INSTALL_DATA} ${WRKSRC}/mxDateTime/*.so \ + ${WRKSRC}/mxDateTime/__init__.py* \ + ${PREFIX}/lib/python1.5/site-packages/DateTime/mxDateTime + @${INSTALL_DATA_DIR} ${PREFIX}/share/doc/py-mxDateTime + @${INSTALL_SCRIPT} ${WRKSRC}/Doc/*.html \ + ${PREFIX}/share/doc/py-mxDateTime/ + +.include "../../mk/bsd.pkg.mk" diff --git a/misc/py-mxDateTime/files/md5 b/misc/py-mxDateTime/files/md5 new file mode 100644 index 00000000000..122140043aa --- /dev/null +++ b/misc/py-mxDateTime/files/md5 @@ -0,0 +1,3 @@ +$NetBSD: md5,v 1.1.1.1 1999/06/28 19:22:45 tsarna Exp $ + +MD5 (mxDateTime-1.3.0.zip) = 2cdf8741c7be9d11bebcb62291c59de9 diff --git a/misc/py-mxDateTime/pkg/COMMENT b/misc/py-mxDateTime/pkg/COMMENT new file mode 100644 index 00000000000..ce4ff504f3c --- /dev/null +++ b/misc/py-mxDateTime/pkg/COMMENT @@ -0,0 +1 @@ +Python extension that provides new types and conversions for dates diff --git a/misc/py-mxDateTime/pkg/DESCR b/misc/py-mxDateTime/pkg/DESCR new file mode 100644 index 00000000000..89d7cc7796a --- /dev/null +++ b/misc/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/misc/py-mxDateTime/pkg/PLIST b/misc/py-mxDateTime/pkg/PLIST new file mode 100644 index 00000000000..8c4cffaf968 --- /dev/null +++ b/misc/py-mxDateTime/pkg/PLIST @@ -0,0 +1,46 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 1999/06/28 19:22:45 tsarna Exp $ +lib/python1.5/site-packages/DateTime/mxDateTime/mxDateTime.so +lib/python1.5/site-packages/DateTime/mxDateTime/__init__.py +lib/python1.5/site-packages/DateTime/mxDateTime/__init__.pyc +lib/python1.5/site-packages/DateTime/mxDateTime/__init__.pyo +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 +share/doc/py-mxDateTime/mxDateTime.html +share/doc/py-mxDateTime/mxDateTime-History.html +@dirrm lib/python1.5/site-packages/DateTime/mxDateTime +@dirrm lib/python1.5/site-packages/DateTime +@dirrm share/doc/py-mxDateTime
\ No newline at end of file |