Gentoo Archives: gentoo-commits

From: "Ian Delaney (idella4)" <idella4@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-python/tweepy: tweepy-2.2.ebuild ChangeLog
Date: Wed, 04 Jun 2014 01:15:26
Message-Id: 20140604011521.5E89F2004E@flycatcher.gentoo.org
1 idella4 14/06/04 01:15:21
2
3 Modified: ChangeLog
4 Added: tweepy-2.2.ebuild
5 Log:
6 bump
7
8 (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 0xB8072B0D)
9
10 Revision Changes Path
11 1.7 dev-python/tweepy/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/tweepy/ChangeLog?rev=1.7&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/tweepy/ChangeLog?rev=1.7&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/tweepy/ChangeLog?r1=1.6&r2=1.7
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-python/tweepy/ChangeLog,v
20 retrieving revision 1.6
21 retrieving revision 1.7
22 diff -u -r1.6 -r1.7
23 --- ChangeLog 21 May 2014 01:47:59 -0000 1.6
24 +++ ChangeLog 4 Jun 2014 01:15:21 -0000 1.7
25 @@ -1,6 +1,11 @@
26 # ChangeLog for dev-python/tweepy
27 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-python/tweepy/ChangeLog,v 1.6 2014/05/21 01:47:59 idella4 Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-python/tweepy/ChangeLog,v 1.7 2014/06/04 01:15:21 idella4 Exp $
30 +
31 +*tweepy-2.2 (04 Jun 2014)
32 +
33 + 04 Jun 2014; Ian Delaney <idella4@g.o> +tweepy-2.2.ebuild:
34 + bump
35
36 *tweepy-2.1 (21 May 2014)
37
38
39
40
41 1.1 dev-python/tweepy/tweepy-2.2.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/tweepy/tweepy-2.2.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/tweepy/tweepy-2.2.ebuild?rev=1.1&content-type=text/plain
45
46 Index: tweepy-2.2.ebuild
47 ===================================================================
48 # Copyright 1999-2014 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/dev-python/tweepy/tweepy-2.2.ebuild,v 1.1 2014/06/04 01:15:21 idella4 Exp $
51
52 EAPI=5
53
54 PYTHON_COMPAT=( python2_7 pypy )
55
56 inherit distutils-r1 vcs-snapshot
57
58 DESCRIPTION="A Python library for accessing the Twitter API "
59 HOMEPAGE="http://tweepy.github.com/"
60 SRC_URI="https://github.com/tweepy/${PN}/tarball/${PV} -> ${P}.tar.gz"
61
62 LICENSE="MIT"
63 SLOT="0"
64 KEYWORDS="~amd64 ~x86"
65 IUSE="doc examples test"
66
67 RESTRICT="test" #fails all
68
69 python_prepare_all() {
70 # Required to avoid file collisions at install
71 sed -e s":find_packages():find_packages(exclude=['tests','tests.*']):" -i setup.py || die
72 distutils-r1_python_prepare_all
73 }
74
75 python_test() {
76 "${PYTHON}" -m tests || die "Tests failed"
77 }
78
79 python_compile_all() {
80 use doc && emake -C docs html
81 }
82
83 python_install_all() {
84 use doc && local HTML_DOCS=( docs/_build/html/. )
85 use examples && local EXAMPLES=( examples/. )
86 distutils-r1_python_install_all
87 }