Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 183265 Details for
Bug 260383
sci-electronics/pyrobot-5.0.0 (New Package)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
pyrobot-5.0.0.ebuild
pyrobot-5.0.0.ebuild (text/plain), 2.59 KB, created by
Tuna
on 2009-02-26 14:10:14 UTC
(
hide
)
Description:
pyrobot-5.0.0.ebuild
Filename:
MIME Type:
Creator:
Tuna
Created:
2009-02-26 14:10:14 UTC
Size:
2.59 KB
patch
obsolete
># Copyright 1999-2007 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: > >inherit distutils > >DESCRIPTION="A python framework for easily exploring advanced topics in artificial intelligence and robotics." >HOMEPAGE="http://pyrorobotics.org/" >SRC_URI="http://pyrorobotics.org/download/${P}.tgz" > >LICENSE="MIT" >SLOT="0" >KEYWORDS="~x86 ~amd64" >DEPEND=">=dev-lang/python-2.0 dev-lang/swig sci-electronics/player" > >RDEPEND="dev-python/imaging > dev-python/numpy > sci-electronics/stage > sci-electronics/gazebo" > >MAKEOPTS="-j1" > >S="${WORKDIR}/${PN}" > >pkg_setup() >{ > distutils_python_tkinter > > if ! built_with_use dev-lang/swig tk > then > eerror "dev-lang/swig was not built with USE='tk'" > die "Please rebuild dev-lang/siwg with tk support" > fi > > if ! built_with_use dev-python/imaging tk > then > eerror "dev-python/imaging was not built with USE='tk'" > die "Please rebuild dev-python/imaging with tk support" > fi >} > >src_unpack() >{ > unpack ${A} > > epatch "${FILESDIR}/${P}.patch" > > cd "${S}" > > distutils_python_version > PYTHON_INC="/usr/include/python${PYVER}" > PYTHON=`which python` > X11_INC="/usr/include/X11" > PLAYER_INC=`find /usr/include/ -name "player-2.*" -type d` > > echo "PYTHON_VERSION=${PYVER}" >> Makefile.cfg > echo "PYTHON_BIN=${PYTHON}" >> Makefile.cfg > echo "PYTHON_INCLUDE=-I${PYTHON_INC}" >> Makefile.cfg > echo "X11_DIR=${X11_INC}" >> Makefile.cfg > echo "PLAYER_INCLUDE=-I${PLAYER_INC}" >> Makefile.cfg > echo "CONFIGDIRS=camera/device vision/cvision camera/v4l camera/bt848 camera/fake camera/blob \ >camera/aibo camera/robocup camera/player camera/fourway camera/stereo brain/psom \ >brain/psom/csom_src/som_pak-dev tools/cluster" >> Makefile.cfg >} > >src_compile() >{ > cd "${S}" > > emake || die "Compilation failed" >} > >src_install() >{ > cd "${S}" > > # The installation is so unclean that it is installed on opt > # instead of /usr/lib/python${PYVER}/site-packages/pyrobot > install_dir="/opt/pyrobot" > dodir "${install_dir}" > > cd "${S}" > for elt in `find * -type f ! -name "*.h" -a ! -name "*.c" -a ! -name \ > "*.cc" -a ! -name "*.cpp" -a ! -name "*.rpo" -a ! -name "*.i" -a \ > ! -name "*.pyc" -a ! -name "*.php" -a ! -name "*.html" -a ! -name "*Makefile*"` > do > if [ "${elt%/*}" = "${elt}" ] > then > insinto "${install_dir}" > else > insinto "${install_dir}/${elt%/*}" > fi > doins "${elt}" > if [ -x "${elt}" ] > then > fperms 755 "${install_dir}/${elt}" > fi > done > > echo "#!/usr/bin/env sh" >> pyrobot > echo "export PYROBOT=${install_dir}" >> pyrobot > echo "export PYTHONPATH=$PYTHONPATH:$PYROBOT/bin" >> pyrobot > echo "python ${install_dir}/bin/pyrobot & exit" >> pyrobot > > dobin pyrobot >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 260383
: 183265 |
183266