--- /dev/null
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+PYTHON_COMPAT=( python{2_7,3_4,3_5} )
+
+inherit distutils-r1
+
+DESCRIPTION="Make scatter matrix corner plots"
+HOMEPAGE="http://corner.readthedocs.io/"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="test"
+
+RDEPEND="dev-python/matplotlib[${PYTHON_USEDEP}]"
+DEPEND="${RDEPEND}
+ dev-python/setuptools[${PYTHON_USEDEP}]"
+
+# missing expected test images in tar ball (2.0.1)
+RESTRICT=test
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>sci@gentoo.org</email>
+ <name>Gentoo Science Project</name>
+ </maintainer>
+ <longdescription lang="en">
+ This Python module uses matplotlib to visualize multidimensional
+ samples using a scatterplot matrix. In these visualizations, each
+ one- and two-dimensional projection of the sample is plotted to
+ reveal covariances. corner was originally conceived to display the
+ results of Markov Chain Monte Carlo simulations and the defaults
+ are chosen with this application in mind but it can be used for
+ displaying many qualitatively different samples.
+ </longdescription>
+ <upstream>
+ <remote-id type="pypi">corner</remote-id>
+ <remote-id type="github">dfm/corner.py</remote-id>
+ </upstream>
+</pkgmetadata>