mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-12 07:27:57 +00:00
Add py-asv 0.4, an extensible Python module to parse simple text
file formats like CSV. PR: 26349 Submitted by: Johann Visagie <johann@egenetics.com>
This commit is contained in:
parent
11b7174d5d
commit
63713f51b5
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=40842
@ -124,6 +124,7 @@
|
||||
SUBDIR += pspell-ispell
|
||||
SUBDIR += py-4suite
|
||||
SUBDIR += py-HyperText
|
||||
SUBDIR += py-asv
|
||||
SUBDIR += py-csv
|
||||
SUBDIR += py-expat
|
||||
SUBDIR += py-martel
|
||||
|
42
textproc/py-asv/Makefile
Normal file
42
textproc/py-asv/Makefile
Normal file
@ -0,0 +1,42 @@
|
||||
# New ports collection makefile for: py-asv
|
||||
# Date created: 4 April 2001
|
||||
# Whom: Johann Visagie <johann@egenetics.com>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= asv
|
||||
PORTVERSION= 0.4
|
||||
CATEGORIES= textproc python
|
||||
MASTER_SITES= http://tratt.net/~laurie/python/asv/releases/
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
|
||||
MAINTAINER= johann@egenetics.com
|
||||
|
||||
PYTHON_VERSION= python2.0
|
||||
|
||||
ASV_BASEDIR= ${PREFIX}/lib/${PYTHON_VERSION}/site-packages
|
||||
ASV_DOCDIR= ${PREFIX}/share/doc/py-asv
|
||||
ASV_EGDIR= ${PREFIX}/share/examples/py-asv
|
||||
|
||||
do-build:
|
||||
@${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${WRKSRC}
|
||||
@${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py ${WRKSRC}
|
||||
|
||||
do-install:
|
||||
@printf "#!/bin/sh\n${PYTHON_CMD} ${ASV_BASEDIR}/ASV.py\n" \
|
||||
> ${WRKDIR}/asv.sh
|
||||
@${INSTALL_SCRIPT} ${WRKDIR}/asv.sh ${PREFIX}/bin/asv
|
||||
@${INSTALL_DATA} ${WRKSRC}/ASV.* ${ASV_BASEDIR}
|
||||
.if !defined(NOPORTDOCS)
|
||||
@${MKDIR} ${ASV_DOCDIR}
|
||||
.for docfile in INSTALL README THANKS
|
||||
@${INSTALL_DATA} ${WRKSRC}/${docfile} ${ASV_DOCDIR}
|
||||
.endfor
|
||||
@${MKDIR} ${ASV_EGDIR}
|
||||
.for egfile in asv_example.* example_data.csv
|
||||
@${INSTALL_DATA} ${WRKSRC}/${egfile} ${ASV_EGDIR}
|
||||
.endfor
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
1
textproc/py-asv/distinfo
Normal file
1
textproc/py-asv/distinfo
Normal file
@ -0,0 +1 @@
|
||||
MD5 (asv-0.4.tar.gz) = 420c54e3be366edb913aa2df3328cc4e
|
1
textproc/py-asv/pkg-comment
Normal file
1
textproc/py-asv/pkg-comment
Normal file
@ -0,0 +1 @@
|
||||
An extensible Python module to parse simple text file formats like CSV
|
15
textproc/py-asv/pkg-descr
Normal file
15
textproc/py-asv/pkg-descr
Normal file
@ -0,0 +1,15 @@
|
||||
ASV is a popular Python module to parse or write simple text file formats
|
||||
such as comma-separated values (CSV), tab-separated values (TSV) and
|
||||
colon-separated values. It can easily be extended to cope with other
|
||||
related file formats.
|
||||
|
||||
This port installs both a Python module ("ASV"), and an executable
|
||||
command-line script ("asv").
|
||||
|
||||
This release of ASV requires Python 2.0 or later, and is still to be regarded
|
||||
as a beta version.
|
||||
|
||||
Author: Laurence Tratt <laurie@tratt.net>
|
||||
WWW: http://tratt.net/~laurie/python/asv/
|
||||
|
||||
-- Johann Visagie <johann@egenetics.com>
|
13
textproc/py-asv/pkg-plist
Normal file
13
textproc/py-asv/pkg-plist
Normal file
@ -0,0 +1,13 @@
|
||||
bin/asv
|
||||
lib/%%PYTHON_VERSION%%/site-packages/ASV.py
|
||||
lib/%%PYTHON_VERSION%%/site-packages/ASV.pyc
|
||||
lib/%%PYTHON_VERSION%%/site-packages/ASV.pyo
|
||||
%%PORTDOCS%%share/doc/py-asv/INSTALL
|
||||
%%PORTDOCS%%share/doc/py-asv/README
|
||||
%%PORTDOCS%%share/doc/py-asv/THANKS
|
||||
%%PORTDOCS%%share/examples/py-asv/asv_example.py
|
||||
%%PORTDOCS%%share/examples/py-asv/asv_example.pyc
|
||||
%%PORTDOCS%%share/examples/py-asv/asv_example.pyo
|
||||
%%PORTDOCS%%share/examples/py-asv/example_data.csv
|
||||
%%PORTDOCS%%@dirrm share/examples/py-asv
|
||||
%%PORTDOCS%%@dirrm share/doc/py-asv
|
Loading…
Reference in New Issue
Block a user