--- /dev/null
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 python3_{4,5} )
+
+inherit distutils-r1
+
+DESCRIPTION="Reliable machine-readable Linux distribution information for Python"
+HOMEPAGE="http://distro.readthedocs.io/"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+SLOT="0"
+LICENSE="Apache-2.0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE=""
+
+DEPEND=""
+RDEPEND=""
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>python@gentoo.org</email>
+ <name>Python</name>
+ </maintainer>
+ <longdescription>
+ distro (for: Linux Distribution) provides information about the
+ Linux distribution it runs on, such as a reliable machine-readable
+ ID, or version information. It is a renewed alternative
+ implementation for Python's original platform.linux_distribution
+ function, but it also provides much more functionality which isn't
+ necessarily Python bound like a command-line interface.
+ </longdescription>
+ <upstream>
+ <remote-id type="pypi">distro</remote-id>
+ <remote-id type="github">nir0s/distro</remote-id>
+ </upstream>
+</pkgmetadata>