Subject: pkg/19784: new pkg py-spreadmodule 1.3
To: None <gnats-bugs@gnats.netbsd.org>
From: None <marc@informatik.uni-bremen.de>
List: netbsd-bugs
Date: 01/11/2003 13:54:08
>Number:         19784
>Category:       pkg
>Synopsis:       Python module for using Spread.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Sat Jan 11 04:55:00 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     
>Release:        NetBSD 1.6_STABLE
>Organization:
	
>Environment:
	
	
System: NetBSD leeloo.intern.geht.de 1.6_STABLE NetBSD 1.6_STABLE (LEELOO) #0: Mon Jan 6 09:37:59 CET 2003 root@leeloo.intern.geht.de:/usr/src/sys/arch/i386/compile/LEELOO i386
Architecture: i386
Machine: i386
>Description:
	Python module for using the Spread high performance messaging service.
Depends on PR pkg/19782.
>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-spreadmodule
#	py-spreadmodule/patches
#	py-spreadmodule/patches/patch-aa
#	py-spreadmodule/Makefile
#	py-spreadmodule/PLIST
#	py-spreadmodule/distinfo
#	py-spreadmodule/DESCR
#
echo c - py-spreadmodule
mkdir -p py-spreadmodule > /dev/null 2>&1
echo c - py-spreadmodule/patches
mkdir -p py-spreadmodule/patches > /dev/null 2>&1
echo x - py-spreadmodule/patches/patch-aa
sed 's/^X//' >py-spreadmodule/patches/patch-aa << 'END-of-py-spreadmodule/patches/patch-aa'
X$NetBSD$
X
X*** setup.py	25 Apr 2002 19:22:07 -0000	1.9
X***************
X*** 21,27 ****
X      ext = Extension('spread', ['spreadmodule.c'],
X                  include_dirs = [SPREAD_DIR + "/include"],
X                  library_dirs = [SPREAD_DIR + "/lib"],
X!                 libraries = ['tsp'],
X                  )
X  
X  setup(name = "Spread API for Python",
X--- 21,27 ----
X      ext = Extension('spread', ['spreadmodule.c'],
X                  include_dirs = [SPREAD_DIR + "/include"],
X                  library_dirs = [SPREAD_DIR + "/lib"],
X!                 extra_objects = [SPREAD_DIR + '/lib/libtspread.a'],
X                  )
X  
X  setup(name = "Spread API for Python",
END-of-py-spreadmodule/patches/patch-aa
echo x - py-spreadmodule/Makefile
sed 's/^X//' >py-spreadmodule/Makefile << 'END-of-py-spreadmodule/Makefile'
X# $NetBSD$
X#
X
XDISTNAME=	SpreadModule-1.3
XPKGNAME=	${PYPKGPREFIX}-spreadmodule-1.3
XCATEGORIES=	net
XMASTER_SITES=	http://www.python.org/other/spread/
XEXTRACT_SUFX=	.tgz
X
XMAINTAINER=	marc@informatik.uni-bremen.de
XHOMEPAGE=	http://www.python.org/other/spread/
XCOMMENT=	Python bindings for the Spread messaging service
X
XWRKSRC=		${WRKDIR}/SpreadModule-1.3
XPYDISTUTILSPKG=	YES
XUSE_BUILDLINK2=	YES
XLDFLAGS+=	-lpthread
X
Xpost-patch:
X	${MV} ${WRKSRC}/setup.py ${WRKSRC}/setup.py.pre
X	${SED}  -e "s,/usr/local,${PREFIX},g" ${WRKSRC}/setup.py.pre > ${WRKSRC}/setup.py
X
X.include "../../net/spread/buildlink2.mk"
X.include "../../lang/python/extension.mk"
X.include "../../mk/pthread.buildlink2.mk"
X.include "../../mk/bsd.pkg.mk"
END-of-py-spreadmodule/Makefile
echo x - py-spreadmodule/PLIST
sed 's/^X//' >py-spreadmodule/PLIST << 'END-of-py-spreadmodule/PLIST'
X@comment $NetBSD$
X${PYSITELIB}/spread.so
END-of-py-spreadmodule/PLIST
echo x - py-spreadmodule/distinfo
sed 's/^X//' >py-spreadmodule/distinfo << 'END-of-py-spreadmodule/distinfo'
X$NetBSD$
X
XSHA1 (SpreadModule-1.3.tgz) = fc7f72735300828ca9710e26b6cf0e4a297df683
XSize (SpreadModule-1.3.tgz) = 15804 bytes
XSHA1 (patch-aa) = d4fba9d969bf27511113a87cc194786a959aeaa6
END-of-py-spreadmodule/distinfo
echo x - py-spreadmodule/DESCR
sed 's/^X//' >py-spreadmodule/DESCR << 'END-of-py-spreadmodule/DESCR'
XThis is a Python extension module for Spread, an open source group
Xcommunications package.
END-of-py-spreadmodule/DESCR
exit

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