--- /dev/null
+# ChangeLog for net-proxy/package-cache
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+*package-cache-9999 (20 Feb 2014)
+
+ 20 Feb 2014; W. Trevor King <wking@tremily.us> package-cache-9999.ebuild:
+
+ Initial Version
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd></herd>
+ <maintainer>
+ <email>wking@tremily.us</email>
+ <name>W. Trevor King</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="pypi">package-cache</remote-id>
+ </upstream>
+</pkgmetadata>
--- /dev/null
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="5"
+PYTHON_COMPAT=( python3_3 )
+
+inherit distutils-r1 user
+
+DESCRIPTION="A caching proxy for package downloads"
+HOMEPAGE="http://blog.tremily.us/posts/package-cache/"
+if [[ "${PV}" == "9999" ]]; then
+ inherit git-2
+ EGIT_BRANCH="master"
+ EGIT_REPO_URI="git://github.com/wking/${PN}.git"
+ SRC_URI=""
+else
+ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+fi
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="${PYTHON_DEPS}"
+DEPEND="${PYTHON_DEPS}"
+
+pkg_setup() {
+ enewuser "${PN}" -1 -1 -1 portage
+}
+
+src_install() {
+ distutils-r1_src_install
+ doinitd "contrib/openrc/init.d/${PN}"
+}