--- /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
+
+MYPN=astroML_addons
+MYP=${MYPN}-${PV}
+
+DESCRIPTION="Performance add-ons for the astroML package"
+HOMEPAGE="https://github.com/astroML/astroML_addons"
+SRC_URI="mirror://pypi/${PN:0:1}/${MYPN}/${MYP}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE=""
+
+RDEPEND="dev-python/astroml[${PYTHON_USEDEP}]"
+DEPEND="
+ dev-python/setuptools[${PYTHON_USEDEP}]
+ dev-python/numpy[${PYTHON_USEDEP}]"
+
+S="${WORKDIR}/${MYP}"
+
+DOCS=( README.rst )
--- /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-astronomy@gentoo.org</email>
+ <name>Gentoo Astronomy Project</name>
+ </maintainer>
+ <longdescription lang="en">
+ astroML is split into two components. The core astroML library is written
+ in python only, and is designed to be very easy to install for any users,
+ even those who don't have a working C or fortran compiler. A companion library,
+ astroML_addons, can be optionally installed for increased performance on
+ certain algorithms. Every algorithm in astroML_addons has a pure python
+ counterpart in the core astroML implementation, but the astroML_addons library
+ contains faster and more efficient implementations in compiled code.
+ Furthermore, if astroML_addons is installed on your system, the core astroML
+ library will import and use the faster routines by default.
+ </longdescription>
+ <upstream>
+ <remote-id type="pypi">astroML_addons</remote-id>
+ </upstream>
+</pkgmetadata>