/[gentoo-x86]/eclass/obs-service.eclass
Gentoo

Diff of /eclass/obs-service.eclass

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.4 Revision 1.5
1# Copyright 1999-2012 Gentoo Foundation 1# Copyright 1999-2012 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/eclass/obs-service.eclass,v 1.4 2012/09/27 16:35:41 axs Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/obs-service.eclass,v 1.5 2012/10/02 10:52:31 scarabeus Exp $
4 4
5# @ECLASS: obs-service.eclass 5# @ECLASS: obs-service.eclass
6# @MAINTAINER: 6# @MAINTAINER:
7# suse@gentoo.org 7# suse@gentoo.org
8# @BLURB: Reduces code duplication in the Open Build Service services. 8# @BLURB: Reduces code duplication in the Open Build Service services.
28 28
29# @ECLASS-VARIABLE: OBS_SERVICE_NAME 29# @ECLASS-VARIABLE: OBS_SERVICE_NAME
30# @DESCRIPTION: 30# @DESCRIPTION:
31# Name of the service. If not set, it is taken from ${PN}. 31# Name of the service. If not set, it is taken from ${PN}.
32 32
33# @ECLASS-VARIABLE: OPENSUSE_RELEASE
34# @DESCRIPTION:
35# From which stable openSUSE realease to take a package.
36
37# @ECLASS-VARIABLE: ADDITIONAL_FILES 33# @ECLASS-VARIABLE: ADDITIONAL_FILES
38# @DEFAULT_UNSET 34# @DEFAULT_UNSET
39# @DESCRIPTION: 35# @DESCRIPTION:
40# If any additional files are needed. 36# If any additional files are needed.
41 37
49SLOT="0" 45SLOT="0"
50IUSE="" 46IUSE=""
51RDEPEND="dev-util/osc" 47RDEPEND="dev-util/osc"
52 48
53[[ -n ${OBS_SERVICE_NAME} ]] || OBS_SERVICE_NAME=${PN/obs-service-/} 49[[ -n ${OBS_SERVICE_NAME} ]] || OBS_SERVICE_NAME=${PN/obs-service-/}
54[[ -n ${OPENSUSE_RELEASE} ]] || OBS_PROJECT="openSUSE:Tools" 50OBS_PROJECT="openSUSE:Tools"
55 51
56DESCRIPTION="Open Build Service client module - ${OBS_SERVICE_NAME} service" 52DESCRIPTION="Open Build Service client module - ${OBS_SERVICE_NAME} service"
57OBS_PACKAGE="obs-service-${OBS_SERVICE_NAME}"
58 53
59inherit obs-download 54inherit obs-download
60 55
61SRC_URI="${OBS_URI}/${OBS_SERVICE_NAME}" 56SRC_URI="${OBS_URI}/${OBS_SERVICE_NAME}"
62SRC_URI+=" ${OBS_URI}/${OBS_SERVICE_NAME}.service" 57SRC_URI+=" ${OBS_URI}/${OBS_SERVICE_NAME}.service"

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5

  ViewVC Help
Powered by ViewVC 1.1.20