dev-python/statsd: New package, ebuild written by me
authorJustin Lecher <jlec@gentoo.org>
Wed, 17 Feb 2016 08:01:11 +0000 (09:01 +0100)
committerJustin Lecher <jlec@gentoo.org>
Wed, 17 Feb 2016 08:57:11 +0000 (09:57 +0100)
Package-Manager: portage-2.2.27
Signed-off-by: Justin Lecher <jlec@gentoo.org>
dev-python/statsd/Manifest [new file with mode: 0644]
dev-python/statsd/metadata.xml [new file with mode: 0644]
dev-python/statsd/statsd-3.2.1.ebuild [new file with mode: 0644]

diff --git a/dev-python/statsd/Manifest b/dev-python/statsd/Manifest
new file mode 100644 (file)
index 0000000..b1d26e0
--- /dev/null
@@ -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 (file)
index 0000000..5adf733
--- /dev/null
@@ -0,0 +1,15 @@
+<?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>
+  <upstream>
+    <remote-id type="pypi">statsd</remote-id>
+    <maintainer status="unknown">
+      <email>james@mozilla.com</email>
+      <name>James Socol</name>
+    </maintainer>
+  </upstream>
+</pkgmetadata>
diff --git a/dev-python/statsd/statsd-3.2.1.ebuild b/dev-python/statsd/statsd-3.2.1.ebuild
new file mode 100644 (file)
index 0000000..2f7ea23
--- /dev/null
@@ -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
+}