Gentoo Archives: gentoo-commits

From: "Mike Gilbert (floppym)" <floppym@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-python/restkit: restkit-4.2.1-r1.ebuild ChangeLog restkit-4.2.1.ebuild restkit-4.2.0.ebuild
Date: Tue, 26 Feb 2013 05:55:12
Message-Id: 20130226055508.923F72171E@flycatcher.gentoo.org
1 floppym 13/02/26 05:55:08
2
3 Modified: ChangeLog
4 Added: restkit-4.2.1-r1.ebuild
5 Removed: restkit-4.2.1.ebuild restkit-4.2.0.ebuild
6 Log:
7 Exclude tests the right way.
8
9 (Portage version: 2.2.0_alpha163/cvs/Linux x86_64, signed Manifest commit with key 0BBEEA1FEA4843A4)
10
11 Revision Changes Path
12 1.10 dev-python/restkit/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/restkit/ChangeLog?rev=1.10&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/restkit/ChangeLog?rev=1.10&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/restkit/ChangeLog?r1=1.9&r2=1.10
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/dev-python/restkit/ChangeLog,v
21 retrieving revision 1.9
22 retrieving revision 1.10
23 diff -u -r1.9 -r1.10
24 --- ChangeLog 10 Feb 2013 09:02:37 -0000 1.9
25 +++ ChangeLog 26 Feb 2013 05:55:08 -0000 1.10
26 @@ -1,6 +1,13 @@
27 # ChangeLog for dev-python/restkit
28 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/dev-python/restkit/ChangeLog,v 1.9 2013/02/10 09:02:37 idella4 Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/dev-python/restkit/ChangeLog,v 1.10 2013/02/26 05:55:08 floppym Exp $
31 +
32 +*restkit-4.2.1-r1 (26 Feb 2013)
33 +
34 + 26 Feb 2013; Mike Gilbert <floppym@g.o>
35 + +files/restkit-exclude-tests.patch, +restkit-4.2.1-r1.ebuild,
36 + -restkit-4.2.0.ebuild, -restkit-4.2.1.ebuild:
37 + Exclude tests the right way.
38
39 *restkit-4.2.1 (10 Feb 2013)
40
41
42
43
44 1.1 dev-python/restkit/restkit-4.2.1-r1.ebuild
45
46 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/restkit/restkit-4.2.1-r1.ebuild?rev=1.1&view=markup
47 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/restkit/restkit-4.2.1-r1.ebuild?rev=1.1&content-type=text/plain
48
49 Index: restkit-4.2.1-r1.ebuild
50 ===================================================================
51 # Copyright 1999-2013 Gentoo Foundation
52 # Distributed under the terms of the GNU General Public License v2
53 # $Header: /var/cvsroot/gentoo-x86/dev-python/restkit/restkit-4.2.1-r1.ebuild,v 1.1 2013/02/26 05:55:08 floppym Exp $
54
55 EAPI=5
56
57 PYTHON_COMPAT=( python{2_6,2_7} pypy{1_9,2_0} )
58
59 inherit distutils-r1
60
61 DESCRIPTION="A HTTP ressource kit for Python."
62 HOMEPAGE="http://github.com/benoitc/restkit http://benoitc.github.com/restkit/ http://pypi.python.org/pypi/restkit"
63 SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
64
65 LICENSE="MIT"
66 SLOT="0"
67 KEYWORDS="~amd64"
68 IUSE="+cli doc examples test"
69
70 DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
71 doc? ( dev-python/sphinx
72 dev-python/epydoc )
73 test? ( dev-python/webob
74 >=dev-python/socketpool-0.5.0
75 >=dev-python/http-parser-0.7.7 )"
76 RDEPEND="cli? ( dev-python/ipython
77 dev-python/setuptools[${PYTHON_USEDEP}] )
78 dev-python/webob
79 >=dev-python/socketpool-0.5.0
80 >=dev-python/http-parser-0.7.7"
81
82 PATCHES=( "${FILESDIR}/${PN}-exclude-tests.patch" )
83
84 python_compile_all() {
85 if use doc ; then
86 pushd doc > /dev/null
87 PYTHONPATH="${S}" emake html
88 popd > /dev/null
89 fi
90 }
91
92 python_test() {
93 nosetests -v tests || die "Tests fail with ${EPYTHON}"
94 }
95
96 python_install_all() {
97 use cli || rm "${ED}"/usr/bin/restcli*
98
99 use doc && dohtml -r doc/_build/html/
100 if use examples ; then
101 insinto /usr/share/doc/${PF}
102 doins -r examples
103 fi
104 }