
What is it?
Sportage is a library that allows developers to develop frontends to Portage. Written in C++, it is fast and light on dependencies.
Dependencies
Sportage depends only on Berkeley DB 4.1 and libboost. The boost portions of the project may be split off and absorbed into the project so the only dependency is DB 4.1, but at the moment please ensure that libboost is installed.
Installation
Download the sources and extract them. Then, as root,
This also installs the semerge frontend. If you only want the library installed, please run,
There is an ebuild available, however sportage does not deal with ebuilds installed from PORTDIR_OVERLAY and so the author does not currently recommend the use of the ebuild. Thanks go to pussi from the Gentoo Forums for the ebuild. To use the ebuild, sandbox does have to be disabled,
FEATURES="-sandbox" emerge sportage
Front-ends
- Semerge - This front-end is maintained by the author of Sportage and offers a simple emerge-like command line interface.
If you have written, or are writing a front-end, get in touch and we will add you to the known list of projects.
Doxygen API
Doxygen generated API can be found here.
Todo List.
- Rewrite useflag processing code to remove whitespace dependence.
- Add support for ebuild parsing, so developers have the option of metadata or ebuild parsing. Possibly a combination could be used to allow use of PORTDIR_OVERLAY.
- Do not make assumptions about where the portage tree etc is stored. Have the ability to read make.conf.
- Ability to check integrity of dependency tree.
- Ability to order dependencies for a list of PackageVersions, rather than checking one at a time and expecting the interface to merge orders.
- A more efficient sync with gentoo rsync servers. Possibility of downloading ebuilds on demand to save bandwidth?
Project Maintainer
If you want to help with the project, or have a problem and need help or anything like that, then by all means contact the maintainer at beastmcbeast at users.sourceforge.net.
Licence
The project is released under the GPL. The IPR rests with the University of Bath, England. Details can be found here.
Acknowledgements
- James Smith - The Sportage logo
- pussi - The Sportage ebuild
Project Page
http://www.sourceforge.net/projects/portage-sql.
