Package-Manager: Portage-2.3.5, Repoman-2.3.1
--- /dev/null
+DIST v1.12.37.tar.gz 115107 SHA256 054328e7ca3a29089f24912f9fd563f02adea876c03103a1086231f67221b595 SHA512 d8ad28df298f875a0f705ee8304ea18a962bed532bdc53a6f619510b91946b10bb8e1efd8d8a4ba32ec34bbb5b80eb3e9bc456df565137ba9991bd8d2479ba47 WHIRLPOOL 565498dda4ab029e79161c291704892d67a556514c11acf47570686c97083eb297f82091dd3be751f8466104d05ee656346c01dab02a390e55850cecec4b746e
--- /dev/null
+<?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>
--- /dev/null
+# 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
+}