From nobody@FreeBSD.org  Sun Oct 11 18:14:31 2009
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 4DD44106568F
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 11 Oct 2009 18:14:31 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id 22CB98FC08
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 11 Oct 2009 18:14:31 +0000 (UTC)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n9BIEUMO060332
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 11 Oct 2009 18:14:30 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.3/8.14.3/Submit) id n9BIEUrU060331;
	Sun, 11 Oct 2009 18:14:30 GMT
	(envelope-from nobody)
Message-Id: <200910111814.n9BIEUrU060331@www.freebsd.org>
Date: Sun, 11 Oct 2009 18:14:30 GMT
From: Kuan-Chung Chiu <buganini@gmail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: [New Port] converters/py-bsdconv
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         139524
>Category:       ports
>Synopsis:       [New Port] converters/py-bsdconv
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    miwi
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Oct 11 18:20:01 UTC 2009
>Closed-Date:    Wed Oct 14 16:43:09 UTC 2009
>Last-Modified:  Wed Oct 14 16:43:09 UTC 2009
>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:
Responsible-Changed-From-To: freebsd-ports-bugs->freebsd-python 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Sun Oct 11 18:20:13 UTC 2009 
Responsible-Changed-Why:  
freebsd-python@ wants this port PRs (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=139524 

From: Buganini <buganini@gmail.com>
To: bug-followup@FreeBSD.org, buganini@gmail.com
Cc:  
Subject: Re: ports/139524: [New Port] converters/py-bsdconv
Date: Mon, 12 Oct 2009 02:58:27 +0800

 Sorry the shar above missed a critical dependency
 This one http://security-hole.info/~buganini/ports/py-bsdconv.shar.txt
 is correct and builds in my tinderbox.
 
 --Buganini
Responsible-Changed-From-To: freebsd-python->miwi 
Responsible-Changed-By: miwi 
Responsible-Changed-When: Mon Oct 12 09:52:12 UTC 2009 
Responsible-Changed-Why:  
I'll take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=139524 
State-Changed-From-To: open->feedback 
State-Changed-By: miwi 
State-Changed-When: Wed Oct 14 12:55:47 UTC 2009 
State-Changed-Why:  
Fails to build: 

http://64bit.miwibox.org/index.php?action=describe_port&id=2246 
http://32bit.miwibox.org/index.php?action=describe_port&id=2235 




http://www.freebsd.org/cgi/query-pr.cgi?pr=139524 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/139524: commit references a PR
Date: Wed, 14 Oct 2009 14:22:12 +0000 (UTC)

 miwi        2009-10-14 14:21:58 UTC
 
   FreeBSD ports repository
 
   Modified files:
     converters           Makefile 
   Added files:
     converters/py-bsdconv Makefile distinfo pkg-descr pkg-plist 
   Log:
   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.
   
   WWW: http://github.com/buganini/bsdconv/
   
   PR:             ports/139524
   Submitted by:   buganini at gmail.com
   
   Revision  Changes    Path
   1.166     +1 -0      ports/converters/Makefile
   1.1       +30 -0     ports/converters/py-bsdconv/Makefile (new)
   1.1       +3 -0      ports/converters/py-bsdconv/distinfo (new)
   1.1       +5 -0      ports/converters/py-bsdconv/pkg-descr (new)
   1.1       +1 -0      ports/converters/py-bsdconv/pkg-plist (new)
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
State-Changed-From-To: feedback->closed 
State-Changed-By: miwi 
State-Changed-When: Wed Oct 14 16:43:08 UTC 2009 
State-Changed-Why:  
Committed. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=139524 
>Unformatted:
