Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 6 Apr 2002 02:00:46 +0900 (KST)
From:      Hye-Shik Chang <perky@fallin.lv>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/36791: New port: devel/py-logging
Message-ID:  <200204051700.g35H0kus004381@akaraka.yonsei.ac.kr>

next in thread | raw e-mail | index | archive | help

>Number:         36791
>Category:       ports
>Synopsis:       New port: devel/py-logging
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Apr 05 09:10:00 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Hye-Shik Chang
>Release:        FreeBSD 5.0-CURRENT i386
>Organization:
Yonsei University
>Environment:
System: FreeBSD akaraka.yonsei.ac.kr 5.0-CURRENT FreeBSD 5.0-CURRENT #2: Tue Apr 2 01:55:56 KST 2002 root@akaraka.yonsei.ac.kr:/usr/src/sys/i386/compile/JOARRA i386

>Description:
New port for py-logging which will be standard implementation for logging module.
(can't sure. ;)

>How-To-Repeat:
>Fix:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	py-logging
#	py-logging/Makefile
#	py-logging/distinfo
#	py-logging/pkg-comment
#	py-logging/pkg-descr
#	py-logging/pkg-plist
#
echo c - py-logging
mkdir -p py-logging > /dev/null 2>&1
echo x - py-logging/Makefile
sed 's/^X//' >py-logging/Makefile << 'END-of-py-logging/Makefile'
X# New ports collection makefile for:	py-logging
X# Date created:		6 April 2002
X# Whom:			Hye-Shik Chang <perky@fallin.lv>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	logging
XPORTVERSION=	0.4.1
XCATEGORIES=	devel python
XMASTER_SITES=	http://www.red-dove.com/
XPKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
X
XMAINTAINER=	perky@fallin.lv
X
XUSE_PYTHON=	yes
XEXAMPLESDIR=	${PREFIX}/share/examples/py-logging
XSETUP_CMD=	cd ${WRKSRC} && ${PYTHON_CMD} setup.py
XEXAMPLEFILES=	README.txt app.py default.css events.xml log_*.py \
X		logconf.ini logconf.py logging.dtd logging.xml logrecv.py \
X		myapp.py mymodule.py
X
Xdo-build:
X	@${SETUP_CMD} build
X
Xdo-install:
X	@${SETUP_CMD} install -c -O1 --prefix=${PREFIX}
X
X.if !defined(NOPORTDOCS)
X	@${MKDIR} ${EXAMPLESDIR}
X.for f in ${EXAMPLEFILES}
X	@cd ${WRKSRC} && ${INSTALL_DATA} $f ${EXAMPLESDIR}
X.endfor
X.endif
X
X.include <bsd.port.mk>
END-of-py-logging/Makefile
echo x - py-logging/distinfo
sed 's/^X//' >py-logging/distinfo << 'END-of-py-logging/distinfo'
XMD5 (logging-0.4.1.tar.gz) = 6c0ef8c5a35d23c9e16756eb29b98361
END-of-py-logging/distinfo
echo x - py-logging/pkg-comment
sed 's/^X//' >py-logging/pkg-comment << 'END-of-py-logging/pkg-comment'
XLogging System for Python as in PEP282
END-of-py-logging/pkg-comment
echo x - py-logging/pkg-descr
sed 's/^X//' >py-logging/pkg-descr << 'END-of-py-logging/pkg-descr'
XPy-logging is fairly close implementation in intent and design to the
Xdescription in the PEP 282, borrowing as it did heavily from JSR-47
X(now JDK 1.4's java.util.logging package) and log4j.
X
XWWW: http://www.red-dove.com/python_logging.html
END-of-py-logging/pkg-descr
echo x - py-logging/pkg-plist
sed 's/^X//' >py-logging/pkg-plist << 'END-of-py-logging/pkg-plist'
Xlib/%%PYTHON_VERSION%%/site-packages/logging.py
Xlib/%%PYTHON_VERSION%%/site-packages/logging.pyc
Xlib/%%PYTHON_VERSION%%/site-packages/logging.pyo
X%%PORTDOCS%%share/examples/py-logging/README.txt
X%%PORTDOCS%%share/examples/py-logging/app.py
X%%PORTDOCS%%share/examples/py-logging/default.css
X%%PORTDOCS%%share/examples/py-logging/events.xml
X%%PORTDOCS%%share/examples/py-logging/log_test0.py
X%%PORTDOCS%%share/examples/py-logging/log_test1.py
X%%PORTDOCS%%share/examples/py-logging/log_test10.py
X%%PORTDOCS%%share/examples/py-logging/log_test11.py
X%%PORTDOCS%%share/examples/py-logging/log_test12.py
X%%PORTDOCS%%share/examples/py-logging/log_test13.py
X%%PORTDOCS%%share/examples/py-logging/log_test2.py
X%%PORTDOCS%%share/examples/py-logging/log_test3.py
X%%PORTDOCS%%share/examples/py-logging/log_test4.py
X%%PORTDOCS%%share/examples/py-logging/log_test5.py
X%%PORTDOCS%%share/examples/py-logging/log_test6.py
X%%PORTDOCS%%share/examples/py-logging/log_test7.py
X%%PORTDOCS%%share/examples/py-logging/log_test8.py
X%%PORTDOCS%%share/examples/py-logging/log_test9.py
X%%PORTDOCS%%share/examples/py-logging/logconf.ini
X%%PORTDOCS%%share/examples/py-logging/logconf.py
X%%PORTDOCS%%share/examples/py-logging/logging.dtd
X%%PORTDOCS%%share/examples/py-logging/logging.xml
X%%PORTDOCS%%share/examples/py-logging/logrecv.py
X%%PORTDOCS%%share/examples/py-logging/myapp.py
X%%PORTDOCS%%share/examples/py-logging/mymodule.py
X%%PORTDOCS%%@dirrm share/examples/py-logging
END-of-py-logging/pkg-plist
exit

>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200204051700.g35H0kus004381>