Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 527692 - =net-emulation/vboxwrapper-0.9.1 - Wrapper to control VirtualBox VMs on Linux/Unix platforms
Summary: =net-emulation/vboxwrapper-0.9.1 - Wrapper to control VirtualBox VMs on Linux...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Default Assignee for New Packages
URL: https://github.com/GNS3/vboxwrapper
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2014-11-01 07:04 UTC by Aaron Bauman (RETIRED)
Modified: 2014-11-22 06:30 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
vboxwrapper-0.9.1 ebuild (vboxwrapper-0.9.1.ebuild,698 bytes, text/plain)
2014-11-01 07:04 UTC, Aaron Bauman (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Aaron Bauman (RETIRED) gentoo-dev 2014-11-01 07:04:35 UTC
Created attachment 387936 [details]
vboxwrapper-0.9.1 ebuild

net-misc/vboxwrapper is an optional package to support net-misc/gns3-server-1.1.

From www.gns3.net website:

"To control VirtualBox on Linux/Unix. This is meant as a temporary solution while waiting for VirtualBox API and XPCOM to be ported to Python3 (main problem being the XPCOM module)."
Comment 1 Yixun Lan archtester gentoo-dev 2014-11-05 15:15:33 UTC
>python_prepare_all() {
>	# avoid file collisions caused by required tests
>	sed -e "s:find_packages():find_packages(exclude=['tests','tests.*']):" -i >setup.py || die
>	distutils-r1_python_prepare_all
>}
it looks weird at first glance, but probably also works. I'd simply do
src_prepare() {
	# avoid file collisions caused by required tests
	sed -e "s:find_packages():find_packages(exclude=['tests','tests.*']):" -i setup.py || die
	distutils-r1_src_prepare
}

>python_install_all() {
>	distutils-r1_python_install_all
>
>}
probably you don't need this, which is already handled the default way.
Comment 2 Yixun Lan archtester gentoo-dev 2014-11-05 15:28:33 UTC
> >python_install_all() {
> >	distutils-r1_python_install_all
> >
> >}
> probably you don't need this, which is already handled the default way.

I mean, code snip from distutils-r1.eclass

distutils-r1_src_install() {
        ...
        if declare -f python_install_all >/dev/null; then
                _distutils-r1_run_common_phase python_install_all
        else
                _distutils-r1_run_common_phase distutils-r1_python_install_all
        fi
}
Comment 3 Aaron Bauman (RETIRED) gentoo-dev 2014-11-22 06:30:05 UTC
Package is no longer required for GNS3 v1.2.  Please close.