Prathmesh Prabhu | 0f5a7ee | 2014-11-14 16:51:05 -0800 | [diff] [blame^] | 1 | # Copyright 2014 The Chromium OS Authors. All rights reserved. |
| 2 | # Distributed under the terms of the GNU General Public License v2 |
| 3 | |
| 4 | EAPI=5 |
| 5 | |
| 6 | PYTHON_COMPAT=( python2_7 ) |
| 7 | |
| 8 | inherit distutils-r1 eutils |
| 9 | |
| 10 | DESCRIPTION="A Python client for statsd" |
| 11 | HOMEPAGE="https://pypi.python.org/pypi/python-statsd https://github.com/WoLpH/python-statsd" |
| 12 | SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
| 13 | |
| 14 | LICENSE="MIT" |
| 15 | SLOT="0" |
| 16 | KEYWORDS="*" |
| 17 | # Upstream does not have the default DOCS expected by distutils. |
| 18 | DOCS="" |
| 19 | |
| 20 | DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" |
| 21 | RDEPEND="" |
| 22 | |
| 23 | src_prepare () { |
| 24 | epatch "${FILESDIR}"/${P}-skip-tests-in-install.patch |
| 25 | } |