Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Sep 2012 11:33:58 +0200
From:      nemysis <nemysis@gmx.ch>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        jgh@FreeBSD.org
Subject:   ports/171735: [NEW PORT] editors/py31-loook-devel: Simple Python tool that search in OpenOffice files
Message-ID:  <20120918093402.4A0A6106564A@hub.freebsd.org>
Resent-Message-ID: <201209180940.q8I9e4c5096611@freefall.freebsd.org>

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

>Number:         171735
>Category:       ports
>Synopsis:       [NEW PORT] editors/py31-loook-devel: Simple Python tool that search in OpenOffice files
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Sep 18 09:40:04 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     nemysis
>Release:        FreeBSD 9.0-RELEASE amd64
>Organization:
>Environment:
System: FreeBSD FreeBSD_Ports 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Tue Jan  3 07:46:30 UTC
>Description:
Loook is a simple Python tool that searches for text strings in OpenOffice.org
(and StarOffice 6.0 or later) files.
It works under FreeBSD, Linux, Windows and Macintosh.
AND, OR and phrase searches are supported. It doesn't create an index,
but searching should be fast enough unless you have really many files.

WWW: http://www.danielnaber.de/loook/

Generated and tested manually, tested with port test, sent with FreeBSD Port Tools 0.99_6 (mode: new)
>How-To-Repeat:

portlint -A
WARN: Makefile: [9]: possible direct use of command "python" found. use ${PYTHON_CMD} instead.
WARN: Makefile: only one MASTER_SITE configured.  Consider adding additional mirrors.
0 fatal errors and 2 warnings found.

WARN: Makefile: [9] because is used

DIST_SUBDIR=    python


On RedPorts can't buil dependency devel/py-iniparse with Python 3.1.
But here works manuall good, no leftovers.

https://redports.org/~nemysis/20120917161120-57169-67843/py31-loook-devel-0.6.8.log

>Fix:

--- .shar begins here ---
# 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:
#
#	loook-devel
#	loook-devel/Makefile
#	loook-devel/pkg-descr
#	loook-devel/distinfo
#
echo c - loook-devel
mkdir -p loook-devel > /dev/null 2>&1
echo x - loook-devel/Makefile
sed 's/^X//' >loook-devel/Makefile << '4fc4915217443e944bf94ebcdaf059ea'
X# $FreeBSD$
X
XPORTNAME=	loook
XPORTVERSION=	0.6.8
XCATEGORIES=	editors
XMASTER_SITES=	http://www.danielnaber.de/loook/
XPKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
XPKGNAMESUFFIX=	-devel
XDIST_SUBDIR=	python
X
XMAINTAINER=	nemysis@gmx.ch
XCOMMENT=	Simple Python tool that search in OpenOffice files
X
XLICENSE=	GPLv2
X
XRUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}tkinter>=0:${PORTSDIR}/x11-toolkits/py31-tkinter \
X		${PYTHON_PKGNAMEPREFIX}iniparse>=0:${PORTSDIR}/devel/py-iniparse
X
XWRKSRC=		${WRKDIR}
X
XUSE_ZIP=	yes
XUSE_PYTHON=	3.1
XNO_BUILD=	yes
XCONFLICTS=	loook-[0-9]*
X
XPLIST_FILES=	bin/${PORTNAME}
X
Xpost-patch:
X	@${REINPLACE_CMD} -e 's,/usr/bin/python,${PYTHON_CMD},' \
X		${WRKSRC}/${PORTNAME}.py
X	@(cd ${WRKSRC} ; ${RM} *.py.bak)
X
Xdo-install:
X# Executable
X	${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME}.py ${PREFIX}/bin/${PORTNAME}
X
X.include <bsd.port.mk>
4fc4915217443e944bf94ebcdaf059ea
echo x - loook-devel/pkg-descr
sed 's/^X//' >loook-devel/pkg-descr << '6b1be1cc32a8972fea74e225f3b91a47'
XLoook is a simple Python tool that searches for text strings in OpenOffice.org
X(and StarOffice 6.0 or later) files.
XIt works under FreeBSD, Linux, Windows and Macintosh.
XAND, OR and phrase searches are supported. It doesn't create an index,
Xbut searching should be fast enough unless you have really many files.
X
XWWW: http://www.danielnaber.de/loook/
6b1be1cc32a8972fea74e225f3b91a47
echo x - loook-devel/distinfo
sed 's/^X//' >loook-devel/distinfo << '809c86fd7c65e6042947f2125bdb39a9'
XSHA256 (python/loook-0.6.8.zip) = f77f827e9d96dbff4b53208b1f1f9ffc8088dfa85062b8e4f0c532906779e503
XSIZE (python/loook-0.6.8.zip) = 12013
809c86fd7c65e6042947f2125bdb39a9
exit
--- .shar ends here ---

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



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