summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomas Chvatal <scarabeus@gentoo.org>2012-11-15 21:13:46 +0000
committerTomas Chvatal <scarabeus@gentoo.org>2012-11-15 21:13:46 +0000
commit810306c081d9ed70abd932b28781ff02cf44cf8e (patch)
tree2c6d6ad8285e8f7ca4815435ca07726e30911795 /dev-util
parentmedia-gfx/nvidia-cg-toolkit: Move to EAPI=5; handle example and doc installat... (diff)
downloadgentoo-2-810306c081d9ed70abd932b28781ff02cf44cf8e.tar.gz
gentoo-2-810306c081d9ed70abd932b28781ff02cf44cf8e.tar.bz2
gentoo-2-810306c081d9ed70abd932b28781ff02cf44cf8e.zip
Add service to download directly from scm.
(Portage version: 2.2.0_alpha142/cvs/Linux x86_64, signed Manifest commit with key 8EEE3BE8)
Diffstat (limited to 'dev-util')
-rw-r--r--dev-util/obs-service-tar_scm/ChangeLog9
-rw-r--r--dev-util/obs-service-tar_scm/metadata.xml8
-rw-r--r--dev-util/obs-service-tar_scm/obs-service-tar_scm-20121101.ebuild26
3 files changed, 43 insertions, 0 deletions
diff --git a/dev-util/obs-service-tar_scm/ChangeLog b/dev-util/obs-service-tar_scm/ChangeLog
new file mode 100644
index 000000000000..5b1e5db33483
--- /dev/null
+++ b/dev-util/obs-service-tar_scm/ChangeLog
@@ -0,0 +1,9 @@
+# ChangeLog for dev-util/obs-service-tar_scm
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/obs-service-tar_scm/ChangeLog,v 1.1 2012/11/15 21:13:46 scarabeus Exp $
+
+*obs-service-tar_scm-20121101 (15 Nov 2012)
+
+ 15 Nov 2012; Tomáš Chvátal <scarabeus@gentoo.org> +metadata.xml,
+ +obs-service-tar_scm-20121101.ebuild:
+ Add service to download directly from scm.
diff --git a/dev-util/obs-service-tar_scm/metadata.xml b/dev-util/obs-service-tar_scm/metadata.xml
new file mode 100644
index 000000000000..efc0b67b56e3
--- /dev/null
+++ b/dev-util/obs-service-tar_scm/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>suse</herd>
+<longdescription lang="en">
+This is a source service for Open Build Service. This service is parsing all spec files and downloads all Source files which are specified via a http, https or ftp url.
+</longdescription>
+</pkgmetadata>
diff --git a/dev-util/obs-service-tar_scm/obs-service-tar_scm-20121101.ebuild b/dev-util/obs-service-tar_scm/obs-service-tar_scm-20121101.ebuild
new file mode 100644
index 000000000000..82ab45e6e772
--- /dev/null
+++ b/dev-util/obs-service-tar_scm/obs-service-tar_scm-20121101.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/obs-service-tar_scm/obs-service-tar_scm-20121101.ebuild,v 1.1 2012/11/15 21:13:46 scarabeus Exp $
+
+EAPI=5
+
+inherit obs-service
+
+SRC_URI+=" ${OBS_URI}/${OBS_SERVICE_NAME}.rc -> ${OBS_SERVICE_NAME}-${PV}.rc"
+IUSE=""
+KEYWORDS="~amd64 ~x86"
+
+DEPEND=""
+RDEPEND="${DEPEND}
+ dev-vcs/bzr
+ dev-vcs/git
+ dev-vcs/mercurial
+ dev-vcs/subversion
+"
+
+src_install() {
+ obs-service_src_install
+
+ insinto /etc/obs/services
+ newins ${OBS_SERVICE_NAME}-${PV}.rc ${OBS_SERVICE_NAME}
+}