summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-im/turses/turses-0.2.13-r1.ebuild')
-rw-r--r--net-im/turses/turses-0.2.13-r1.ebuild38
1 files changed, 38 insertions, 0 deletions
diff --git a/net-im/turses/turses-0.2.13-r1.ebuild b/net-im/turses/turses-0.2.13-r1.ebuild
new file mode 100644
index 000000000000..9de0aa90306e
--- /dev/null
+++ b/net-im/turses/turses-0.2.13-r1.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-im/turses/turses-0.2.13-r1.ebuild,v 1.1 2013/05/09 23:24:10 floppym Exp $
+
+EAPI=5
+
+PYTHON_COMPAT=( python{2_6,2_7} )
+
+inherit distutils-r1
+
+DESCRIPTION="Command line twitter client"
+HOMEPAGE="https://github.com/alejandrogomez/turses"
+# NOTE: Remove the "-r1" from SRC_URI on the next version bump
+SRC_URI="https://github.com/alejandrogomez/${PN}/archive/v${PV}.tar.gz -> ${P}-r1.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+
+RDEPEND="
+ dev-python/oauth2[${PYTHON_USEDEP}]
+ dev-python/setuptools[${PYTHON_USEDEP}]
+ dev-python/tweepy[${PYTHON_USEDEP}]
+ dev-python/urwid[${PYTHON_USEDEP}]
+"
+DEPEND="${RDEPEND}
+ test? (
+ dev-python/mock[${PYTHON_USEDEP}]
+ dev-python/nose[${PYTHON_USEDEP}]
+ )
+"
+
+DOCS=( AUTHORS HISTORY.rst README.rst )
+
+python_test() {
+ nosetests || die "Tests fail with ${EPYTHON}"
+}