diff --git a/dev-python/statsd/Manifest b/dev-python/statsd/Manifest new file mode 100644 index 0000000000000..b1d26e01f0b3e --- /dev/null +++ b/dev-python/statsd/Manifest @@ -0,0 +1 @@ +DIST statsd-3.2.1.tar.gz 166047 SHA256 3fa92bf0192af926f7a0d9be031fe3fd0fbaa1992d42cf2f07e68f76ac18288e SHA512 c5166fabcef2158aeb29b07b9bd1d241bc30847eb0e2c7694ee097b3a262e2590189ee10daecb368807002bd96fed16e749ca744b51b5e946d48fe2931a0d8e8 WHIRLPOOL 1ae98a9c16fdb7a1be8135c232c99d771e292dab7d87c12e6a989c18dad1c600c4ac2bb186a96dcdce49812fc26c30925ca30be3c2e85cb736797cb1c35c6571 diff --git a/dev-python/statsd/metadata.xml b/dev-python/statsd/metadata.xml new file mode 100644 index 0000000000000..5adf733e059e5 --- /dev/null +++ b/dev-python/statsd/metadata.xml @@ -0,0 +1,15 @@ + + + + + python@gentoo.org + Python + + + statsd + + james@mozilla.com + James Socol + + + diff --git a/dev-python/statsd/statsd-3.2.1.ebuild b/dev-python/statsd/statsd-3.2.1.ebuild new file mode 100644 index 0000000000000..2f7ea238bcf3a --- /dev/null +++ b/dev-python/statsd/statsd-3.2.1.ebuild @@ -0,0 +1,29 @@ +# 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_{3,4,5}} pypy pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="A simple statsd client" +HOMEPAGE="https://github.com/jsocol/pystatsd http://pypi.python.org/pypi/statsd" +SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +IUSE="test" + +RDEPEND="" +DEPEND="${RDEPEND} + dev-python/setuptools[${PYTHON_USEDEP}] + test? ( + dev-python/nose[${PYTHON_USEDEP}] + )" + +python_test() { + nosetests --verbose || die +}