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/logbook: logbook-0.7.0.ebuild ChangeLog
Date: Sat, 31 May 2014 08:11:32
Message-Id: 20140531081129.4250E2004E@flycatcher.gentoo.org
1 idella4 14/05/31 08:11:29
2
3 Modified: ChangeLog
4 Added: logbook-0.7.0.ebuild
5 Log:
6 bump; drop py2.6 pypy2_0 add py3.4 support, update test phase failings
7
8 (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 0xB8072B0D)
9
10 Revision Changes Path
11 1.17 dev-python/logbook/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/logbook/ChangeLog?rev=1.17&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/logbook/ChangeLog?rev=1.17&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/logbook/ChangeLog?r1=1.16&r2=1.17
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-python/logbook/ChangeLog,v
20 retrieving revision 1.16
21 retrieving revision 1.17
22 diff -u -r1.16 -r1.17
23 --- ChangeLog 12 Apr 2014 00:16:50 -0000 1.16
24 +++ ChangeLog 31 May 2014 08:11:29 -0000 1.17
25 @@ -1,6 +1,11 @@
26 # ChangeLog for dev-python/logbook
27 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-python/logbook/ChangeLog,v 1.16 2014/04/12 00:16:50 idella4 Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-python/logbook/ChangeLog,v 1.17 2014/05/31 08:11:29 idella4 Exp $
30 +
31 +*logbook-0.7.0 (31 May 2014)
32 +
33 + 31 May 2014; Ian Delaney <idella4@g.o> +logbook-0.7.0.ebuild:
34 + bump; drop py2.6 pypy2_0 add py3.4 support, update test phase failings
35
36 *logbook-0.6.0 (12 Apr 2014)
37
38
39
40
41 1.1 dev-python/logbook/logbook-0.7.0.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/logbook/logbook-0.7.0.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/logbook/logbook-0.7.0.ebuild?rev=1.1&content-type=text/plain
45
46 Index: logbook-0.7.0.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/logbook/logbook-0.7.0.ebuild,v 1.1 2014/05/31 08:11:29 idella4 Exp $
51
52 EAPI=5
53 PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy )
54
55 inherit distutils-r1
56
57 DESCRIPTION="A logging replacement for Python"
58 HOMEPAGE="http://packages.python.org/Logbook/ http://pypi.python.org/pypi/Logbook"
59 SRC_URI="https://github.com/mitsuhiko/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
60
61 LICENSE="BSD"
62 SLOT="0"
63 KEYWORDS="~amd64 ~x86"
64 IUSE="doc test"
65 DISTUTILS_IN_SOURCE_BUILD=1
66
67 DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
68 test? ( dev-python/nose[${PYTHON_USEDEP}] )
69 doc? ( >=dev-python/sphinx-1.1.3-r3[${PYTHON_USEDEP}] )"
70
71 PATCHES=( "${FILESDIR}"/${PN}-0.4.2-objectsinv.patch )
72
73 python_prepare_all() {
74 # https://github.com/mitsuhiko/logbook/issues/109
75 sed -e s':test_redis_handle:_&:' -i tests/test_logbook.py || die
76 distutils-r1_python_prepare_all
77 }
78
79 python_compile_all() {
80 use doc && emake -C docs html
81 }
82
83 python_test() {
84 nosetests -w tests || die "Tests failed under ${EPYTHON}"
85 }
86
87 python_install_all() {
88 use doc && HTML_DOCS=( docs/_build/html/. )
89 distutils-r1_python_install_all
90 }