ports/107254: [REPOCOPY] devel/py-protocols -> devel/py-protocols-devel

Nicola Vitale nivit at FreeBSD.org
Wed Dec 27 21:40:12 UTC 2006


>Number:         107254
>Category:       ports
>Synopsis:       [REPOCOPY] devel/py-protocols -> devel/py-protocols-devel
>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:   Wed Dec 27 21:40:11 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Nicola Vitale
>Release:        FreeBSD 6.2-PRERELEASE amd64
>Organization:
>Environment:
System: FreeBSD furbetto.domo.sva 6.2-PRERELEASE FreeBSD 6.2-PRERELEASE #0: Sun Nov 19 17:14:26 CET 2006 root at monetina.domo.sva:/usr/obj/usr/src/sys/FURBETTO amd64
	
>Description:
- Please, repocopy devel/py-protocols to devel/py-protocols-devel.
  The latter is a development version necessary for upgrading
  www/turbogears.
  
>How-To-Repeat:
	
>Fix:

--- py-protocols-devel.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:
#
#	py-protocols-devel
#	py-protocols-devel/distinfo
#	py-protocols-devel/Makefile
#	py-protocols-devel/pkg-descr
#	py-protocols-devel/files
#	py-protocols-devel/files/pkg-deinstall.in
#	py-protocols-devel/files/pkg-install.in
#
echo c - py-protocols-devel
mkdir -p py-protocols-devel > /dev/null 2>&1
echo x - py-protocols-devel/distinfo
sed 's/^X//' >py-protocols-devel/distinfo << 'END-of-py-protocols-devel/distinfo'
XMD5 (PyProtocols-1.0a0dev_r2082.zip) = 11c5871560b65cf72b45845013297b94
XSHA256 (PyProtocols-1.0a0dev_r2082.zip) = fb8b9a3db25e0b447fbf327c26b859368cefdc14438b9752ab248b788f119016
XSIZE (PyProtocols-1.0a0dev_r2082.zip) = 124061
END-of-py-protocols-devel/distinfo
echo x - py-protocols-devel/Makefile
sed 's/^X//' >py-protocols-devel/Makefile << 'END-of-py-protocols-devel/Makefile'
X# New ports collection makefile for:	py-protocols-devel
X# Date created:		15 December 2006
X# Whom:			Dryice Liu	<dryice at dryice.name>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	PyProtocols
XPORTVERSION=	1.0.a0.r2082
XCATEGORIES=	devel python
XMASTER_SITES=	http://peak.telecommunity.com/snapshots/ \
X		http://dryice.name/computer/FreeBSD/distfiles/
XPKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
XDISTNAME=	${PORTNAME}-1.0a0dev_r2082
X
XMAINTAINER=	dryice at FreeBSD.org
XCOMMENT=	Protocol Definition, Declaration, and Adaptation for Python
X
XBUILD_DEPENDS=	easy_install:${PORTSDIR}/devel/py-setuptools
XRUN_DEPENDS=	${BUILD_DEPENDS}
X
XNO_PACKAGE=	not yet
X
XPLIST_FILES=	${PYTHON_SITELIBDIR:S,${PREFIX}/,,}/${PYPROTOCOLS_EGG}
XPLIST_SUB=	PYPROTOCOLS_EGG="${PYPROTOCOLS_EGG}"
X
XSUB_FILES+=	pkg-deinstall pkg-install
XSUB_LIST+=	EGG="PyProtocols==${PYPROTOCOLS_VER}" \
X		PYTHON_SITELIBDIR=${PYTHON_SITELIBDIR}
X
XUSE_PYTHON=	yes
XUSE_PYDISTUTILS=	yes
XUSE_ZIP=	yes
X
XPYPROTOCOLS_EGG=	PyProtocols-${PYPROTOCOLS_VER}-py${PYTHON_VERSION:S/^python//}-${OPSYS:L}-${OSRELEASE}-${ARCH}.egg
XPYPROTOCOLS_VER?=	1.0a0
X
X.include <bsd.port.pre.mk>
X
XOSRELEASE!=	${DESTDIR}/usr/bin/uname -r
X
X.include <bsd.port.post.mk>
END-of-py-protocols-devel/Makefile
echo x - py-protocols-devel/pkg-descr
sed 's/^X//' >py-protocols-devel/pkg-descr << 'END-of-py-protocols-devel/pkg-descr'
XThis package builds on the object adaptation protocol presented in PEP
X246 to make it easier for component authors, framework suppliers, and
Xother developers to:
X
X    * Specify what behavior a component requires or provides
X
X    * Specify how to adapt the interface provided by one component to
X      that required by another
X
X    * Specify how to adapt objects of a particular type or class (even
X      built-in types) to a particular required interface
X
X    * Automatically adapt a supplied object to a required interface,
X      and
X
X    * Do all of the above, even when the components or frameworks
X      involved were not written to take advantage of this package, and
X      even if the frameworks have different mechanisms for defining
X      interfaces.
X
X
XAuthor:	Phillip J. Eby
XWWW:	http://peak.telecommunity.com/PyProtocols.html
END-of-py-protocols-devel/pkg-descr
echo c - py-protocols-devel/files
mkdir -p py-protocols-devel/files > /dev/null 2>&1
echo x - py-protocols-devel/files/pkg-deinstall.in
sed 's/^X//' >py-protocols-devel/files/pkg-deinstall.in << 'END-of-py-protocols-devel/files/pkg-deinstall.in'
X#!/bin/sh
X# $FreeBSD$
XPKGNAME=$1
X#
Xcase $2 in
X    DEINSTALL)
X	easy_install -q -m -x -S %%PYTHON_SITELIBDIR%% %%EGG%%
X	;;
X    POST-DEINSTALL)
X	exit 0
X	;;
X    *)
X	echo "Unexpected Argument $2!!!"
X	exit 1
X	;;
Xesac
Xexit 0
END-of-py-protocols-devel/files/pkg-deinstall.in
echo x - py-protocols-devel/files/pkg-install.in
sed 's/^X//' >py-protocols-devel/files/pkg-install.in << 'END-of-py-protocols-devel/files/pkg-install.in'
X#!/bin/sh
X# $FreeBSD$
XPKGNAME=$1
X#
Xcase $2 in
X    POST-INSTALL)
X	easy_install -q -N -S %%PYTHON_SITELIBDIR%% %%EGG%%
X	;;
X    PRE-INSTALL)
X	;;
X    *)
X	echo "Unexpected Argument $2!!!"
X	exit 1
X	;;
Xesac
Xexit 0
END-of-py-protocols-devel/files/pkg-install.in
exit
--- py-protocols-devel.shar ends here ---


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



More information about the freebsd-ports-bugs mailing list