Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 4 Apr 2001 17:17:17 +0200 (SAST)
From:      johann@egenetics.com
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/26349: New port: textproc/py-asv
Message-ID:  <200104041517.f34FHHx06137@shuffle.egenetics.com>

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

>Number:         26349
>Category:       ports
>Synopsis:       New port: textproc/py-asv
>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:   Wed Apr 04 08:20:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Johann Visagie
>Release:        FreeBSD 5.0-CURRENT i386
>Organization:
Electric Genetics
>Environment:
>Description:
- New port (textproc/py-asv) of ASV, a popular little Python module to read
  and write simple character-separated format text files.
- Requires Python 2.0 or later
>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-asv
#	py-asv/Makefile
#	py-asv/distinfo
#	py-asv/pkg-comment
#	py-asv/pkg-plist
#	py-asv/pkg-descr
#
echo c - py-asv
mkdir -p py-asv > /dev/null 2>&1
echo x - py-asv/Makefile
sed 's/^X//' >py-asv/Makefile << 'END-of-py-asv/Makefile'
X# New ports collection makefile for:	py-asv
X# Date created:		4 April 2001
X# Whom:	      		Johann Visagie <johann@egenetics.com>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	asv
XPORTVERSION=	0.4
XCATEGORIES=	textproc python
XMASTER_SITES=	http://tratt.net/~laurie/python/asv/releases/
XPKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
X
XMAINTAINER=	johann@egenetics.com
X
XPYTHON_VERSION=	python2.0
X
XASV_DOCDIR=	${PREFIX}/share/doc/py-asv
XASV_EGDIR=	${PREFIX}/share/examples/py-asv
XASVBIN_TMP=	${WRKDIR}/asv
X
Xdo-build:
X	@ ${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${WRKSRC}
X	@ ${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py ${WRKSRC}
X
Xdo-install:
X	@ ${ECHO} "#!${SETENV} python" > ${ASVBIN_TMP}
X	@ ${CAT} ${WRKSRC}/ASV.py >> ${ASVBIN_TMP}
X	@ ${INSTALL_SCRIPT} ${WRKDIR}/asv ${PREFIX}/bin
X.for ext in .py .pyc .pyo
X	@ ${INSTALL_DATA} ${WRKSRC}/ASV${ext} ${PYTHON_SITELIBDIR}
X.endfor
X
Xpost-install:
X.if !defined(NOPORTDOCS)
X	@ ${MKDIR} ${ASV_DOCDIR}
X.for docfile in INSTALL README THANKS
X	@ ${INSTALL_DATA} ${WRKSRC}/${docfile} ${ASV_DOCDIR}
X.endfor
X	@ ${MKDIR} ${ASV_EGDIR}
X.for egfile in asv_example.py example_data.csv
X	@ ${INSTALL_DATA} ${WRKSRC}/${egfile} ${ASV_EGDIR}
X.endfor
X.endif
X
X.include <bsd.port.mk>
END-of-py-asv/Makefile
echo x - py-asv/distinfo
sed 's/^X//' >py-asv/distinfo << 'END-of-py-asv/distinfo'
XMD5 (asv-0.4.tar.gz) = 420c54e3be366edb913aa2df3328cc4e
END-of-py-asv/distinfo
echo x - py-asv/pkg-comment
sed 's/^X//' >py-asv/pkg-comment << 'END-of-py-asv/pkg-comment'
XAn extensible Python module to parse simple text file formats like CSV
END-of-py-asv/pkg-comment
echo x - py-asv/pkg-plist
sed 's/^X//' >py-asv/pkg-plist << 'END-of-py-asv/pkg-plist'
X%%PORTDOCS%%share/doc/py-asv/INSTALL
X%%PORTDOCS%%share/doc/py-asv/README
X%%PORTDOCS%%share/doc/py-asv/THANKS
X%%PORTDOCS%%share/examples/py-asv/asv_example.py
X%%PORTDOCS%%share/examples/py-asv/example_data.csv
Xbin/asv
Xlib/%%PYTHON_VERSION%%/site-packages/ASV.py
Xlib/%%PYTHON_VERSION%%/site-packages/ASV.pyc
Xlib/%%PYTHON_VERSION%%/site-packages/ASV.pyo
X%%PORTDOCS%%@dirrm share/examples/py-asv
X%%PORTDOCS%%@dirrm share/doc/py-asv
END-of-py-asv/pkg-plist
echo x - py-asv/pkg-descr
sed 's/^X//' >py-asv/pkg-descr << 'END-of-py-asv/pkg-descr'
XASV is a popular Python module to parse or write simple text file formats
Xsuch as comma-separated values (CSV), tab-separated values (TSV) and
Xcolon-separated values.  It can easily be extended to cope with other
Xrelated file formats.
X
XThis port installs both a Python module ("ASV"), and an executable
Xcommand-line script ("asv").
X
XThis release of ASV requires Python 2.0 or later, and is still to be regarded
Xas a beta version.
X
XAuthor: Laurence Tratt <laurie@tratt.net>
XWWW:    http://tratt.net/~laurie/python/asv/
X
X-- Johann Visagie <johann@egenetics.com>
END-of-py-asv/pkg-descr
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?200104041517.f34FHHx06137>