dev-util/repo: initial package
authorAustin English <wizardedit@gentoo.org>
Wed, 5 Apr 2017 19:13:19 +0000 (14:13 -0500)
committerAustin English <wizardedit@gentoo.org>
Wed, 5 Apr 2017 19:14:35 +0000 (14:14 -0500)
Package-Manager: Portage-2.3.5, Repoman-2.3.1

dev-util/repo/Manifest [new file with mode: 0644]
dev-util/repo/metadata.xml [new file with mode: 0644]
dev-util/repo/repo-1.12.37.ebuild [new file with mode: 0644]

diff --git a/dev-util/repo/Manifest b/dev-util/repo/Manifest
new file mode 100644 (file)
index 0000000..accd2b7
--- /dev/null
@@ -0,0 +1 @@
+DIST v1.12.37.tar.gz 115107 SHA256 054328e7ca3a29089f24912f9fd563f02adea876c03103a1086231f67221b595 SHA512 d8ad28df298f875a0f705ee8304ea18a962bed532bdc53a6f619510b91946b10bb8e1efd8d8a4ba32ec34bbb5b80eb3e9bc456df565137ba9991bd8d2479ba47 WHIRLPOOL 565498dda4ab029e79161c291704892d67a556514c11acf47570686c97083eb297f82091dd3be751f8466104d05ee656346c01dab02a390e55850cecec4b746e
diff --git a/dev-util/repo/metadata.xml b/dev-util/repo/metadata.xml
new file mode 100644 (file)
index 0000000..e31c816
--- /dev/null
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+  <maintainer type="person">
+    <email>wizardedit@gentoo.org</email>
+    <name>Austin English</name>
+  </maintainer>
+  <longdescription>
+  Tool for managing multiple git repositories. From Google, useful for building Android.
+  </longdescription>
+</pkgmetadata>
diff --git a/dev-util/repo/repo-1.12.37.ebuild b/dev-util/repo/repo-1.12.37.ebuild
new file mode 100644 (file)
index 0000000..342f37a
--- /dev/null
@@ -0,0 +1,24 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+# 3.x is currenlty very buggy, only 2.7 actually works
+PYTHON_COMPAT=( python2_7 )
+
+inherit python-r1
+
+DESCRIPTION="Google tool for managing git, particularly multiple repos"
+HOMEPAGE="https://android.googlesource.com/tools/repo"
+SRC_URI="https://android.googlesource.com/tools/repo/+archive/v${PV}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+S="$WORKDIR"
+
+src_install() {
+       python_foreach_impl python_fix_shebang ./repo
+       python_foreach_impl python_doexe ./repo
+}