summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Delaney <idella4@gentoo.org>2014-06-04 01:15:21 +0000
committerIan Delaney <idella4@gentoo.org>2014-06-04 01:15:21 +0000
commitabd6a9100cd1479ae29d4d631b6ab59222ff5df2 (patch)
tree5fdad2338d2179ed40567cb3edfd290c078bc2be /dev-python/tweepy
parentStable for HPPA (bug #511620). (diff)
downloadgentoo-2-abd6a9100cd1479ae29d4d631b6ab59222ff5df2.tar.gz
gentoo-2-abd6a9100cd1479ae29d4d631b6ab59222ff5df2.tar.bz2
gentoo-2-abd6a9100cd1479ae29d4d631b6ab59222ff5df2.zip
bump
(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 0xB8072B0D)
Diffstat (limited to 'dev-python/tweepy')
-rw-r--r--dev-python/tweepy/ChangeLog7
-rw-r--r--dev-python/tweepy/tweepy-2.2.ebuild40
2 files changed, 46 insertions, 1 deletions
diff --git a/dev-python/tweepy/ChangeLog b/dev-python/tweepy/ChangeLog
index fd3c4f9204f8..c221f2695adf 100644
--- a/dev-python/tweepy/ChangeLog
+++ b/dev-python/tweepy/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-python/tweepy
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/tweepy/ChangeLog,v 1.6 2014/05/21 01:47:59 idella4 Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/tweepy/ChangeLog,v 1.7 2014/06/04 01:15:21 idella4 Exp $
+
+*tweepy-2.2 (04 Jun 2014)
+
+ 04 Jun 2014; Ian Delaney <idella4@gentoo.org> +tweepy-2.2.ebuild:
+ bump
*tweepy-2.1 (21 May 2014)
diff --git a/dev-python/tweepy/tweepy-2.2.ebuild b/dev-python/tweepy/tweepy-2.2.ebuild
new file mode 100644
index 000000000000..0de33a32e121
--- /dev/null
+++ b/dev-python/tweepy/tweepy-2.2.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/tweepy/tweepy-2.2.ebuild,v 1.1 2014/06/04 01:15:21 idella4 Exp $
+
+EAPI=5
+
+PYTHON_COMPAT=( python2_7 pypy )
+
+inherit distutils-r1 vcs-snapshot
+
+DESCRIPTION="A Python library for accessing the Twitter API "
+HOMEPAGE="http://tweepy.github.com/"
+SRC_URI="https://github.com/tweepy/${PN}/tarball/${PV} -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc examples test"
+
+RESTRICT="test" #fails all
+
+python_prepare_all() {
+ # Required to avoid file collisions at install
+ sed -e s":find_packages():find_packages(exclude=['tests','tests.*']):" -i setup.py || die
+ distutils-r1_python_prepare_all
+}
+
+python_test() {
+ "${PYTHON}" -m tests || die "Tests failed"
+}
+
+python_compile_all() {
+ use doc && emake -C docs html
+}
+
+python_install_all() {
+ use doc && local HTML_DOCS=( docs/_build/html/. )
+ use examples && local EXAMPLES=( examples/. )
+ distutils-r1_python_install_all
+}