Hi! PyOgre is a python binding for OGRE 3d graphics engine. Here's an ebuild for the version 1.0.6-0, which was first version that was also released as a source package. Instead of virtual/python the ebuild depends on >=dev-lang/python-2.4 because the package doesn't work with earlier python versions. There's also an optional dependency, dev-games/cegeui, which can be turned on and off with cegui USE-flag. If the doc USE-flag is enabled the ebuild also installs PyOgre examples from the demos directory.
Created attachment 74864 [details] pyogre-1.0.6.ebuild
*** Bug 122556 has been marked as a duplicate of this bug. ***
- do MY_P="${P}-0" and use that in the following, instead hardcoding twice. - LGPL is not a valid license, have a look at /usr/portage/licenses - I doubt this library has no runtime dependencies - DOCS= and dodoc later doesn't match
Created attachment 79701 [details] fixed pyogre-1.0.6.ebuild Ok, here's the fixed ebuild. Fixes: -Added MY_P variable -Changed the license to valid LGPL-2.1 that was stated in the COPYING -Removed the RDEPEND="" so that it defaults to DEPEND as all of the dependencies are needed at runtime -Removed the DOCS variable and added ChangeLog to dodoc
Created attachment 79706 [details] fixed (v.2) pyogre-1.0.6.ebuild Stupid me. The syntax for dodoc command was invalid in the earlier ebuild. Here's the fixed one.
This works fine on amd64 and also builds against ogre-1.0.7
This should require >=swig-1.3.25. swig-1.3.21 doesn't have the necessary mutlimap.i files
Created attachment 86128 [details] ebuild with improved dependencies Following Marks suggestions I created an ebuild with improved dependecies. However, it seems that both pyogre developers have decided to leave the project. So, until somebody steps in we are not going to see much updates for this package.
since SWIG Version 1.3.28, there is no more the ExceptionPtr class see: http://www.ogre3d.org/phpBB2addons/viewtopic.php?t=253&highlight=exceptionptr problem corrected with: sed -i -e "s/ExceptionPtr/Exception/" ogre.py
>>Python-Ogre is based upon Py++ (Boost) and replaces the original PyOgre wrapper. ( i.e. PyOgre is deprecated ) so either this or bug#251376 should be closed as a duplicate
*** Bug 251376 has been marked as a duplicate of this bug. ***
since other bug as closed as duplicate ... http://wiki.python-ogre.org/index.php/LinuxBuildV2#Gentoo_ebuilds available gentoo ebuilds
Wow, almost 10 years old! This project looks completely dead however, I can't even find an up-to-date version of the Python bindings. Closing.