ports/113185: [NEW PORT] devel/py-pyutil

CHAO Shin quakelee at cn.FreeBSD.org
Thu May 31 08:40:05 UTC 2007


>Number:         113185
>Category:       ports
>Synopsis:       [NEW PORT] devel/py-pyutil
>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:   Thu May 31 08:40:04 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     CHAO Shin
>Release:        FreeBSD 7.0-current i386
>Organization:
The FreeBSD Simplified Chinese Project
>Environment:
System: FreeBSD portyard.sysdept.sina.com.cn 7.0-CURRENT FreeBSD 7.0-CURRENT #0: Thu Feb 1 19:02:06 CST 2007 root at portyard.sysdept.sina.com.cn:/usr/obj/usr/src/sys/GX270 i386

>Description:
	a collection of mature utilities for Python programmers
>How-To-Repeat:
>Fix:

--- py-pyutil.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-pyutil
#	py-pyutil/pkg-plist
#	py-pyutil/pkg-descr
#	py-pyutil/distinfo
#	py-pyutil/Makefile
#
echo c - py-pyutil
mkdir -p py-pyutil > /dev/null 2>&1
echo x - py-pyutil/pkg-plist
sed 's/^X//' >py-pyutil/pkg-plist << 'END-of-py-pyutil/pkg-plist'
X at unexec %%EASY_INSTALL_CMD%% -q -m -S %D/%%PYTHON_SITELIBDIR%% %%PYUTIL_EGG_VER%%
X%%PYTHON_SITELIBDIR%%/%%PYUTIL_EGG%%
END-of-py-pyutil/pkg-plist
echo x - py-pyutil/pkg-descr
sed 's/^X//' >py-pyutil/pkg-descr << 'END-of-py-pyutil/pkg-descr'
XThese are a few data structures, classes and functions 
Xwhich we've needed over many years of Python 
Xprogramming and which seem to be of general use to 
Xother Python programmers. Many of the modules that 
Xhave existed in pyutil over the years have subsequently 
Xbeen obsoleted by new features added to the Python 
Xlanguage or its standard library, thus showing that 
Xwe're not alone in wanting tools like these.
X
XWWW:	http://zooko.com/repos/pyutil/
END-of-py-pyutil/pkg-descr
echo x - py-pyutil/distinfo
sed 's/^X//' >py-pyutil/distinfo << 'END-of-py-pyutil/distinfo'
XMD5 (pyutil-1.1.0.tar.gz) = df2219badcc7ae8ef4dfb6c81a7fc462
XSHA256 (pyutil-1.1.0.tar.gz) = 88a1b30f2895ca3181fcd5e0a839a06f420c1922b7bde9b35cb380fc26a5f73b
XSIZE (pyutil-1.1.0.tar.gz) = 47593
END-of-py-pyutil/distinfo
echo x - py-pyutil/Makefile
sed 's/^X//' >py-pyutil/Makefile << 'END-of-py-pyutil/Makefile'
X# New ports collection makefile for:	py-pyutil
X# Date created:		2007-5-31
X# Whom:			Chao Shin <quakelee at cn.FreeBSD.org>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	pyutil
XPORTVERSION=	1.1.0
XCATEGORIES=	devel python
XMASTER_SITES=	${MASTER_SITE_CHEESESHOP}
XMASTER_SITE_SUBDIR=	source/p/pyutil
XPKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
XDISTNAME=	${PORTNAME}-${PORTVERSION}
X
XMAINTAINER=	quakelee at cn.FreeBSD.org
XCOMMENT=	A collection of mature utilities for Python programmers
X
XBUILD_DEPENDS=	${EASY_INSTALL_CMD}:${PORTSDIR}/devel/py-setuptools
XRUN_DEPENDS=	${EASY_INSTALL_CMD}:${PORTSDIR}/devel/py-setuptools
X
XEASY_INSTALL_CMD?=	easy_install-${PYTHON_VER}
X
XUSE_PYTHON=	2.4
XUSE_PYDISTUTILS=	yes
X
XPYUTIL_EGG=	${PORTNAME}-${PORTVERSION}-py${PYTHON_VER}-${OPSYS:L}-${OSRELEASE}-${ARCH}.egg
X
XPLIST_SUB+=	EASY_INSTALL_CMD=${EASY_INSTALL_CMD} \
X		PYUTIL_EGG=${PYUTIL_EGG} \
X		PYUTIL_EGG_VER="${PORTNAME}==${PORTVERSION}"
X
X
Xpost-patch:
X	@${REINPLACE_CMD} -e 's|^from\ ez\_setup|#from\ ez\_setup|' \
X	-e 's|^use_setuptools|#use_setuptools|' ${WRKSRC}/${PYSETUP}
X
X.include <bsd.port.pre.mk>
X
XOSRELEASE!=	${DESTDIR}/usr/bin/uname -r
X
X.include <bsd.port.post.mk>
END-of-py-pyutil/Makefile
exit
--- py-pyutil.shar ends here ---


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



More information about the freebsd-ports-bugs mailing list