1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00

New port py-mxDateTime, Marc-André Lemburgs date and time handling

routines and types for Python.
This commit is contained in:
Thomas Gellekum 1999-05-26 07:49:45 +00:00
parent 5780b36964
commit 2232fcef34
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=19004
6 changed files with 111 additions and 0 deletions

View File

@ -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>

View File

@ -0,0 +1 @@
MD5 (mxDateTime-1.3.0.zip) = 04d7bd5dea4490b82de4ecc3c4e24a13

View File

@ -0,0 +1,8 @@
# Build extensions shared:
*shared*
#
#
# mxDateTime module
#
mxDateTime -DHAVE_STRFTIME -DHAVE_STRPTIME -DHAVE_TIMEGM mxDateTime.c

View File

@ -0,0 +1 @@
Date and time handling routines and types for python.

View File

@ -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

View File

@ -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