Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 11 Oct 2009 18:14:30 GMT
From:      Kuan-Chung Chiu <buganini@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/139524: [New Port] converters/py-bsdconv
Message-ID:  <200910111814.n9BIEUrU060331@www.freebsd.org>
Resent-Message-ID: <200910111820.n9BIK15R023061@freefall.freebsd.org>

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

>Number:         139524
>Category:       ports
>Synopsis:       [New Port] converters/py-bsdconv
>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:   Sun Oct 11 18:20:01 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Kuan-Chung Chiu
>Release:        7.2-STABLE
>Organization:
N/A
>Environment:
FreeBSD security-hole.info 7.2-STABLE FreeBSD 7.2-STABLE #0: Thu Sep  3 21:44:03 CST 2009     root@security-hole.info:/usr/obj/usr/src/sys/SECURITYHOLE  i386
>Description:
BSD licensed charset/encoding converter library with more function than
libiconv. (Currently, only a few codecs are supported)
This port is a python wrapper for bsdconv.

It install a file
/usr/local/lib/python2.6/site-packages/bsdconv-3.5-py2.6.egg-info
but I didnt list it in plist, just like textproc/py-xml, x11-toolkits/py-tkinter, ..etc.

>How-To-Repeat:

>Fix:


Patch attached with submission follows:

# 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-bsdconv/
#	py-bsdconv/pkg-descr
#	py-bsdconv/Makefile
#	py-bsdconv/pkg-plist
#	py-bsdconv/distinfo
#
echo c - py-bsdconv/
mkdir -p py-bsdconv/ > /dev/null 2>&1
echo x - py-bsdconv/pkg-descr
sed 's/^X//' >py-bsdconv/pkg-descr << '22bfa70be1fa07d90da95ca4b3294a29'
XBSD licensed charset/encoding converter library with more function than
Xlibiconv. (Currently, only a few codecs are supported)
XThis port is a python wrapper for bsdconv.
X
XWWW: http://github.com/buganini/bsdconv/
22bfa70be1fa07d90da95ca4b3294a29
echo x - py-bsdconv/Makefile
sed 's/^X//' >py-bsdconv/Makefile << '78cafe5cd31302eac91b9d8b03730a13'
X# New ports collection makefile for:	py-bsdconv
X# Date created:				11 Oct 2009
X# Whom:					buganini@gmail.com
X#
X# $FreeBSD$
X#
X
XPORTNAME=	bsdconv
XPORTVERSION=	3.5
XCATEGORIES=	converters python
XMASTER_SITES=	http://security-hole.info/distfile/
XPKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
XDISTNAME=	buganini-bsdconv-c14ef1b
X
XMAINTAINER=	buganini@gmail.com
XCOMMENT=	Python wrapper for bsdconv
X
XUSE_PYTHON=	yes
XUSE_PYDISTUTILS=	yes
XPLIST_SUB=	PYTHON_SITELIBDIR=${PYTHON_SITELIBDIR:S|^${LOCALBASE}/||g}
X
XWRKSRC=		${WRKDIR}/${DISTNAME}/wrapper/python
X
Xpost-patch:
X	@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' \
X		${WRKSRC}/setup.py
X
X.include <bsd.port.mk>
78cafe5cd31302eac91b9d8b03730a13
echo x - py-bsdconv/pkg-plist
sed 's/^X//' >py-bsdconv/pkg-plist << 'eb8837c1ccae16673cdd57ee13b6195b'
X%%PYTHON_SITELIBDIR%%/bsdconv.so
eb8837c1ccae16673cdd57ee13b6195b
echo x - py-bsdconv/distinfo
sed 's/^X//' >py-bsdconv/distinfo << 'fd0ec0ef9099603c35d1764dcef09ae4'
XMD5 (buganini-bsdconv-c14ef1b.tar.gz) = 2a17209dee54f03a0df5c6f465555a8d
XSHA256 (buganini-bsdconv-c14ef1b.tar.gz) = 06119b773c1c9e6b1f48cd12ab568d0f3eab255544581c18a83aa98d39d2157c
XSIZE (buganini-bsdconv-c14ef1b.tar.gz) = 1824149
fd0ec0ef9099603c35d1764dcef09ae4
exit



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



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