Gentoo Development Guide

OBS-SERVICE.ECLASS

Section: portage (5)
Updated: Sep 2014
Index Return to Main Contents
 

NAME

obs-service.eclass - Reduces code duplication in the Open Build Service services.  

DESCRIPTION

This eclass makes it easier to package Open Build Service services. Based on provided information it will set all needed variables and takes care of installation.

 

EXAMPLE

Typical ebuild using obs-service.eclass:

EAPI=4

inherit obs-service

KEYWORDS=""

DEPEND=""
RDEPEND="${DEPEND}"

 

FUNCTIONS

obs-service_src_unpack
Just copy files. Files are not compressed.
obs-service_src_prepare
Replaces all /usr/lib/build directories with /usr/share/suse-build to reflect where suse-build is installed in Gentoo.
obs-service_src_install
Does the installation of the downloaded files.
 

ECLASS VARIABLES

OBS_SERVICE_NAME
Name of the service. If not set, it is taken from ${PN}.
ADDITIONAL_FILES
If any additional files are needed.
 

MAINTAINERS

suse@gentoo.org
 

REPORTING BUGS

Please report bugs via http://bugs.gentoo.org/  

FILES

/usr/portage/eclass/obs-service.eclass  

SEE ALSO

ebuild(5)
http://sources.gentoo.org/eclass/obs-service.eclass?view=log


 

Index

NAME
DESCRIPTION
EXAMPLE
FUNCTIONS
ECLASS VARIABLES
MAINTAINERS
REPORTING BUGS
FILES
SEE ALSO

This document was created by man2html, using the manual pages.
Time: 03:25:06 GMT, September 01, 2014