Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 May 2009 18:26:37 GMT
From:      Olivier Duchateau <duchateau.olivier@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/134470: New port: devel/py-waf, Waf - Python-based build system
Message-ID:  <200905111826.n4BIQbdx015548@www.freebsd.org>
Resent-Message-ID: <200905111830.n4BIU2aN088597@freefall.freebsd.org>

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

>Number:         134470
>Category:       ports
>Synopsis:       New port: devel/py-waf, Waf - Python-based build system
>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:   Mon May 11 18:30:02 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Olivier Duchateau
>Release:        FreeBSD 7.2
>Organization:
>Environment:
FreeBSD tuborg.home.lan 7.2-RELEASE FreeBSD 7.2-RELEASE #0: Fri May  1 08:49:13 UTC 2009     root@walker.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386

>Description:

>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-waf/
#	py-waf/files
#	py-waf/files/patch-wscript
#	py-waf/Makefile
#	py-waf/pkg-descr
#	py-waf/distinfo
#	py-waf/pkg-plist
#
echo c - py-waf/
mkdir -p py-waf/ > /dev/null 2>&1
echo c - py-waf/files
mkdir -p py-waf/files > /dev/null 2>&1
echo x - py-waf/files/patch-wscript
sed 's/^X//' >py-waf/files/patch-wscript << '1eab3f51de55828f83faab1c044797c8'
X--- wscript.orig	2009-04-19 14:05:12.000000000 +0200
X+++ wscript	2009-04-28 20:08:11.000000000 +0200
X@@ -314,7 +314,8 @@
X 		if val != True and val != "y": sys.exit(1)
X 		create_waf()
X 
X-	dir = os.path.join('lib', 'waf-%s-%s' % (VERSION, REVISION), 'wafadmin')
X+	dir = os.path.join('lib', 'python%s' % sys.version[:3],
X+				'site-packages' ,'wafadmin')
X 
X 	wafadmin = bld.new_task_gen('py')
X 	wafadmin.find_sources_in_dirs('wafadmin', exts=['.py'])
1eab3f51de55828f83faab1c044797c8
echo x - py-waf/Makefile
sed 's/^X//' >py-waf/Makefile << '40fbd32c5d910bd01d653650b1a2b053'
X# New ports collection makefile for:	py-waf
X# Date created:				2009-04-29	
X# Whom:					Olivier Duchateau <duchateau.olivier@gmail.com>
X#
X# $FreeBSD: $
X#
X
XPORTNAME=	waf
XPORTVERSION=	1.5.6
XCATEGORIES=	devel python
XMASTER_SITES=	${MASTER_SITE_GOOGLE_CODE}
XPKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
X
XMAINTAINER=	duchateau.olivier@gmail.com
XCOMMENT=	Python-based build system
X
XUSE_BZIP2=	yes
XUSE_PYTHON=	yes
X
Xpre-configure:
X	@cd ${WRKSRC} && ${PYTHON_CMD} waf-light --make-waf && ${TRUE}
X
Xdo-build:
X	@cd ${WRKSRC} && ${PYTHON_CMD} waf configure --prefix=${LOCALBASE} && ${TRUE}
X
Xdo-install:
X	@cd ${WRKSRC} && ${PYTHON_CMD} waf install --yes && ${TRUE}
X
X.include <bsd.port.mk>
40fbd32c5d910bd01d653650b1a2b053
echo x - py-waf/pkg-descr
sed 's/^X//' >py-waf/pkg-descr << 'cc732e9b3c77c51388928e10a995c754'
XWaf is a Python-based framework for configuring, compiling and
Xinstalling applications. It is a replacement for other tools such
Xas autotools, scons, cmake or Ant.
cc732e9b3c77c51388928e10a995c754
echo x - py-waf/distinfo
sed 's/^X//' >py-waf/distinfo << 'bfaf01796c523cbeca41b82c35d124eb'
XMD5 (waf-1.5.6.tar.bz2) = 8d3540b88a19f8205c93609a96d2d0c1
XSHA256 (waf-1.5.6.tar.bz2) = 9fe26afd31c12b11ed861a706d2077e2dbb96330337427f3052a488b69f040af
XSIZE (waf-1.5.6.tar.bz2) = 765699
bfaf01796c523cbeca41b82c35d124eb
echo x - py-waf/pkg-plist
sed 's/^X//' >py-waf/pkg-plist << '5d5201f6902fe65a66f3041404c3bdcb'
Xbin/waf
X%%PYTHON_SITELIBDIR%%/wafadmin/Build.py
X%%PYTHON_SITELIBDIR%%/wafadmin/Configure.py
X%%PYTHON_SITELIBDIR%%/wafadmin/Constants.py
X%%PYTHON_SITELIBDIR%%/wafadmin/Environment.py
X%%PYTHON_SITELIBDIR%%/wafadmin/Logs.py
X%%PYTHON_SITELIBDIR%%/wafadmin/Node.py
X%%PYTHON_SITELIBDIR%%/wafadmin/Options.py
X%%PYTHON_SITELIBDIR%%/wafadmin/Runner.py
X%%PYTHON_SITELIBDIR%%/wafadmin/Scripting.py
X%%PYTHON_SITELIBDIR%%/wafadmin/Task.py
X%%PYTHON_SITELIBDIR%%/wafadmin/TaskGen.py
X%%PYTHON_SITELIBDIR%%/wafadmin/Utils.py
X%%PYTHON_SITELIBDIR%%/wafadmin/__init__.py
X%%PYTHON_SITELIBDIR%%/wafadmin/pproc.py
X%%PYTHON_SITELIBDIR%%/wafadmin/py3kfixes.py
X%%PYTHON_SITELIBDIR%%/wafadmin/Build.pyc
X%%PYTHON_SITELIBDIR%%/wafadmin/Configure.pyc
X%%PYTHON_SITELIBDIR%%/wafadmin/Constants.pyc
X%%PYTHON_SITELIBDIR%%/wafadmin/Environment.pyc
X%%PYTHON_SITELIBDIR%%/wafadmin/Logs.pyc
X%%PYTHON_SITELIBDIR%%/wafadmin/Node.pyc
X%%PYTHON_SITELIBDIR%%/wafadmin/Options.pyc
X%%PYTHON_SITELIBDIR%%/wafadmin/Runner.pyc
X%%PYTHON_SITELIBDIR%%/wafadmin/Scripting.pyc
X%%PYTHON_SITELIBDIR%%/wafadmin/Task.pyc
X%%PYTHON_SITELIBDIR%%/wafadmin/TaskGen.pyc
X%%PYTHON_SITELIBDIR%%/wafadmin/Utils.pyc
X%%PYTHON_SITELIBDIR%%/wafadmin/__init__.pyc
X%%PYTHON_SITELIBDIR%%/wafadmin/pproc.pyc
X%%PYTHON_SITELIBDIR%%/wafadmin/py3kfixes.pyc
X%%PYTHON_SITELIBDIR%%/wafadmin/Build.pyo
X%%PYTHON_SITELIBDIR%%/wafadmin/Configure.pyo
X%%PYTHON_SITELIBDIR%%/wafadmin/Constants.pyo
X%%PYTHON_SITELIBDIR%%/wafadmin/Environment.pyo
X%%PYTHON_SITELIBDIR%%/wafadmin/Logs.pyo
X%%PYTHON_SITELIBDIR%%/wafadmin/Node.pyo
X%%PYTHON_SITELIBDIR%%/wafadmin/Options.pyo
X%%PYTHON_SITELIBDIR%%/wafadmin/Runner.pyo
X%%PYTHON_SITELIBDIR%%/wafadmin/Scripting.pyo
X%%PYTHON_SITELIBDIR%%/wafadmin/Task.pyo
X%%PYTHON_SITELIBDIR%%/wafadmin/TaskGen.pyo
X%%PYTHON_SITELIBDIR%%/wafadmin/Utils.pyo
X%%PYTHON_SITELIBDIR%%/wafadmin/__init__.pyo
X%%PYTHON_SITELIBDIR%%/wafadmin/pproc.pyo
X%%PYTHON_SITELIBDIR%%/wafadmin/py3kfixes.pyo
X%%PYTHON_SITELIBDIR%%/wafadmin/Tools/UnitTest.py
X%%PYTHON_SITELIBDIR%%/wafadmin/Tools/__init__.py
X%%PYTHON_SITELIBDIR%%/wafadmin/Tools/ar.py
X%%PYTHON_SITELIBDIR%%/wafadmin/Tools/bison.py
X%%PYTHON_SITELIBDIR%%/wafadmin/Tools/boost.py
X%%PYTHON_SITELIBDIR%%/wafadmin/Tools/cc.py
X%%PYTHON_SITELIBDIR%%/wafadmin/Tools/ccroot.py
X%%PYTHON_SITELIBDIR%%/wafadmin/Tools/compiler_cc.py
X%%PYTHON_SITELIBDIR%%/wafadmin/Tools/compiler_cxx.py
X%%PYTHON_SITELIBDIR%%/wafadmin/Tools/compiler_d.py
X%%PYTHON_SITELIBDIR%%/wafadmin/Tools/config_c.py
X%%PYTHON_SITELIBDIR%%/wafadmin/Tools/cs.py
X%%PYTHON_SITELIBDIR%%/wafadmin/Tools/cxx.py
X%%PYTHON_SITELIBDIR%%/wafadmin/Tools/d.py
X%%PYTHON_SITELIBDIR%%/wafadmin/Tools/dbus.py
X%%PYTHON_SITELIBDIR%%/wafadmin/Tools/dmd.py
X%%PYTHON_SITELIBDIR%%/wafadmin/Tools/flex.py
X%%PYTHON_SITELIBDIR%%/wafadmin/Tools/gas.py
X%%PYTHON_SITELIBDIR%%/wafadmin/Tools/gcc.py
X%%PYTHON_SITELIBDIR%%/wafadmin/Tools/gdc.py
X%%PYTHON_SITELIBDIR%%/wafadmin/Tools/glib2.py
X%%PYTHON_SITELIBDIR%%/wafadmin/Tools/gnome.py
X%%PYTHON_SITELIBDIR%%/wafadmin/Tools/gnu_dirs.py
X%%PYTHON_SITELIBDIR%%/wafadmin/Tools/gob2.py
X%%PYTHON_SITELIBDIR%%/wafadmin/Tools/gxx.py
X%%PYTHON_SITELIBDIR%%/wafadmin/Tools/icc.py
X%%PYTHON_SITELIBDIR%%/wafadmin/Tools/icpc.py
X%%PYTHON_SITELIBDIR%%/wafadmin/Tools/intltool.py
X%%PYTHON_SITELIBDIR%%/wafadmin/Tools/java.py
X%%PYTHON_SITELIBDIR%%/wafadmin/Tools/kde4.py
X%%PYTHON_SITELIBDIR%%/wafadmin/Tools/libtool.py
X%%PYTHON_SITELIBDIR%%/wafadmin/Tools/lua.py
X%%PYTHON_SITELIBDIR%%/wafadmin/Tools/misc.py
X%%PYTHON_SITELIBDIR%%/wafadmin/Tools/msvc.py
X%%PYTHON_SITELIBDIR%%/wafadmin/Tools/nasm.py
X%%PYTHON_SITELIBDIR%%/wafadmin/Tools/ocaml.py
X%%PYTHON_SITELIBDIR%%/wafadmin/Tools/osx.py
X%%PYTHON_SITELIBDIR%%/wafadmin/Tools/perl.py
X%%PYTHON_SITELIBDIR%%/wafadmin/Tools/preproc.py
X%%PYTHON_SITELIBDIR%%/wafadmin/Tools/python.py
X%%PYTHON_SITELIBDIR%%/wafadmin/Tools/qt4.py
X%%PYTHON_SITELIBDIR%%/wafadmin/Tools/suncc.py
X%%PYTHON_SITELIBDIR%%/wafadmin/Tools/suncxx.py
X%%PYTHON_SITELIBDIR%%/wafadmin/Tools/tex.py
X%%PYTHON_SITELIBDIR%%/wafadmin/Tools/vala.py
X%%PYTHON_SITELIBDIR%%/wafadmin/Tools/winres.py
X%%PYTHON_SITELIBDIR%%/wafadmin/Tools/UnitTest.pyc
X%%PYTHON_SITELIBDIR%%/wafadmin/Tools/__init__.pyc
X%%PYTHON_SITELIBDIR%%/wafadmin/Tools/ar.pyc
X%%PYTHON_SITELIBDIR%%/wafadmin/Tools/bison.pyc
X%%PYTHON_SITELIBDIR%%/wafadmin/Tools/boost.pyc
X%%PYTHON_SITELIBDIR%%/wafadmin/Tools/cc.pyc
X%%PYTHON_SITELIBDIR%%/wafadmin/Tools/ccroot.pyc
X%%PYTHON_SITELIBDIR%%/wafadmin/Tools/cs.pyc
X%%PYTHON_SITELIBDIR%%/wafadmin/Tools/compiler_cc.pyc
X%%PYTHON_SITELIBDIR%%/wafadmin/Tools/compiler_cxx.pyc
X%%PYTHON_SITELIBDIR%%/wafadmin/Tools/compiler_d.pyc
X%%PYTHON_SITELIBDIR%%/wafadmin/Tools/config_c.pyc
X%%PYTHON_SITELIBDIR%%/wafadmin/Tools/cxx.pyc
X%%PYTHON_SITELIBDIR%%/wafadmin/Tools/d.pyc
X%%PYTHON_SITELIBDIR%%/wafadmin/Tools/dbus.pyc
X%%PYTHON_SITELIBDIR%%/wafadmin/Tools/dmd.pyc
X%%PYTHON_SITELIBDIR%%/wafadmin/Tools/flex.pyc
X%%PYTHON_SITELIBDIR%%/wafadmin/Tools/gas.pyc
X%%PYTHON_SITELIBDIR%%/wafadmin/Tools/gcc.pyc
X%%PYTHON_SITELIBDIR%%/wafadmin/Tools/gdc.pyc
X%%PYTHON_SITELIBDIR%%/wafadmin/Tools/glib2.pyc
X%%PYTHON_SITELIBDIR%%/wafadmin/Tools/gnome.pyc
X%%PYTHON_SITELIBDIR%%/wafadmin/Tools/gnu_dirs.pyc
X%%PYTHON_SITELIBDIR%%/wafadmin/Tools/gob2.pyc
X%%PYTHON_SITELIBDIR%%/wafadmin/Tools/gxx.pyc
X%%PYTHON_SITELIBDIR%%/wafadmin/Tools/icc.pyc
X%%PYTHON_SITELIBDIR%%/wafadmin/Tools/icpc.pyc
X%%PYTHON_SITELIBDIR%%/wafadmin/Tools/intltool.pyc
X%%PYTHON_SITELIBDIR%%/wafadmin/Tools/java.pyc
X%%PYTHON_SITELIBDIR%%/wafadmin/Tools/kde4.pyc
X%%PYTHON_SITELIBDIR%%/wafadmin/Tools/libtool.pyc
X%%PYTHON_SITELIBDIR%%/wafadmin/Tools/lua.pyc
X%%PYTHON_SITELIBDIR%%/wafadmin/Tools/misc.pyc
X%%PYTHON_SITELIBDIR%%/wafadmin/Tools/msvc.pyc
X%%PYTHON_SITELIBDIR%%/wafadmin/Tools/nasm.pyc
X%%PYTHON_SITELIBDIR%%/wafadmin/Tools/ocaml.pyc
X%%PYTHON_SITELIBDIR%%/wafadmin/Tools/osx.pyc
X%%PYTHON_SITELIBDIR%%/wafadmin/Tools/perl.pyc
X%%PYTHON_SITELIBDIR%%/wafadmin/Tools/preproc.pyc
X%%PYTHON_SITELIBDIR%%/wafadmin/Tools/python.pyc
X%%PYTHON_SITELIBDIR%%/wafadmin/Tools/qt4.pyc
X%%PYTHON_SITELIBDIR%%/wafadmin/Tools/suncc.pyc
X%%PYTHON_SITELIBDIR%%/wafadmin/Tools/suncxx.pyc
X%%PYTHON_SITELIBDIR%%/wafadmin/Tools/tex.pyc
X%%PYTHON_SITELIBDIR%%/wafadmin/Tools/vala.pyc
X%%PYTHON_SITELIBDIR%%/wafadmin/Tools/winres.pyc
X%%PYTHON_SITELIBDIR%%/wafadmin/Tools/UnitTest.pyo
X%%PYTHON_SITELIBDIR%%/wafadmin/Tools/__init__.pyo
X%%PYTHON_SITELIBDIR%%/wafadmin/Tools/ar.pyo
X%%PYTHON_SITELIBDIR%%/wafadmin/Tools/bison.pyo
X%%PYTHON_SITELIBDIR%%/wafadmin/Tools/boost.pyo
X%%PYTHON_SITELIBDIR%%/wafadmin/Tools/cc.pyo
X%%PYTHON_SITELIBDIR%%/wafadmin/Tools/ccroot.pyo
X%%PYTHON_SITELIBDIR%%/wafadmin/Tools/compiler_cc.pyo
X%%PYTHON_SITELIBDIR%%/wafadmin/Tools/compiler_cxx.pyo
X%%PYTHON_SITELIBDIR%%/wafadmin/Tools/compiler_d.pyo
X%%PYTHON_SITELIBDIR%%/wafadmin/Tools/config_c.pyo
X%%PYTHON_SITELIBDIR%%/wafadmin/Tools/cs.pyo
X%%PYTHON_SITELIBDIR%%/wafadmin/Tools/cxx.pyo
X%%PYTHON_SITELIBDIR%%/wafadmin/Tools/d.pyo
X%%PYTHON_SITELIBDIR%%/wafadmin/Tools/dbus.pyo
X%%PYTHON_SITELIBDIR%%/wafadmin/Tools/dmd.pyo
X%%PYTHON_SITELIBDIR%%/wafadmin/Tools/flex.pyo
X%%PYTHON_SITELIBDIR%%/wafadmin/Tools/gas.pyo
X%%PYTHON_SITELIBDIR%%/wafadmin/Tools/gcc.pyo
X%%PYTHON_SITELIBDIR%%/wafadmin/Tools/gdc.pyo
X%%PYTHON_SITELIBDIR%%/wafadmin/Tools/glib2.pyo
X%%PYTHON_SITELIBDIR%%/wafadmin/Tools/gnome.pyo
X%%PYTHON_SITELIBDIR%%/wafadmin/Tools/gnu_dirs.pyo
X%%PYTHON_SITELIBDIR%%/wafadmin/Tools/gob2.pyo
X%%PYTHON_SITELIBDIR%%/wafadmin/Tools/gxx.pyo
X%%PYTHON_SITELIBDIR%%/wafadmin/Tools/icc.pyo
X%%PYTHON_SITELIBDIR%%/wafadmin/Tools/icpc.pyo
X%%PYTHON_SITELIBDIR%%/wafadmin/Tools/intltool.pyo
X%%PYTHON_SITELIBDIR%%/wafadmin/Tools/java.pyo
X%%PYTHON_SITELIBDIR%%/wafadmin/Tools/kde4.pyo
X%%PYTHON_SITELIBDIR%%/wafadmin/Tools/libtool.pyo
X%%PYTHON_SITELIBDIR%%/wafadmin/Tools/lua.pyo
X%%PYTHON_SITELIBDIR%%/wafadmin/Tools/misc.pyo
X%%PYTHON_SITELIBDIR%%/wafadmin/Tools/msvc.pyo
X%%PYTHON_SITELIBDIR%%/wafadmin/Tools/nasm.pyo
X%%PYTHON_SITELIBDIR%%/wafadmin/Tools/ocaml.pyo
X%%PYTHON_SITELIBDIR%%/wafadmin/Tools/osx.pyo
X%%PYTHON_SITELIBDIR%%/wafadmin/Tools/perl.pyo
X%%PYTHON_SITELIBDIR%%/wafadmin/Tools/preproc.pyo
X%%PYTHON_SITELIBDIR%%/wafadmin/Tools/python.pyo
X%%PYTHON_SITELIBDIR%%/wafadmin/Tools/qt4.pyo
X%%PYTHON_SITELIBDIR%%/wafadmin/Tools/suncc.pyo
X%%PYTHON_SITELIBDIR%%/wafadmin/Tools/suncxx.pyo
X%%PYTHON_SITELIBDIR%%/wafadmin/Tools/tex.pyo
X%%PYTHON_SITELIBDIR%%/wafadmin/Tools/vala.pyo
X%%PYTHON_SITELIBDIR%%/wafadmin/Tools/winres.pyo
X@dirrm %%PYTHON_SITELIBDIR%%/wafadmin/Tools
X@dirrm %%PYTHON_SITELIBDIR%%/wafadmin
5d5201f6902fe65a66f3041404c3bdcb
exit



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



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