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.4.2.ebuild ChangeLog
Date: Sun, 30 Jun 2013 14:50:53
Message-Id: 20130630145047.27F382171C@flycatcher.gentoo.org
1 idella4 13/06/30 14:50:47
2
3 Modified: ChangeLog
4 Added: logbook-0.4.2.ebuild
5 Log:
6 bump; Drop support py3.1 py3.2 add py3.3, patch for doc build, add IUSE doc, upgrade all phases, closes Bug #440210
7
8 (Portage version: 2.1.11.63/cvs/Linux x86_64, signed Manifest commit with key 0xB8072B0D)
9
10 Revision Changes Path
11 1.9 dev-python/logbook/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/logbook/ChangeLog?rev=1.9&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/logbook/ChangeLog?rev=1.9&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/logbook/ChangeLog?r1=1.8&r2=1.9
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-python/logbook/ChangeLog,v
20 retrieving revision 1.8
21 retrieving revision 1.9
22 diff -u -r1.8 -r1.9
23 --- ChangeLog 5 Apr 2013 21:49:42 -0000 1.8
24 +++ ChangeLog 30 Jun 2013 14:50:46 -0000 1.9
25 @@ -1,6 +1,14 @@
26 # ChangeLog for dev-python/logbook
27 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-python/logbook/ChangeLog,v 1.8 2013/04/05 21:49:42 ago Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-python/logbook/ChangeLog,v 1.9 2013/06/30 14:50:46 idella4 Exp $
30 +
31 +*logbook-0.4.2 (30 Jun 2013)
32 +
33 + 30 Jun 2013; Ian Delaney <idella4@g.o>
34 + +files/logbook-0.4.2-objectsinv.patch, +logbook-0.4.2.ebuild,
35 + logbook-0.4.ebuild:
36 + bump; Drop support py3.1 py3.2 add py3.3, patch for doc build, add IUSE doc,
37 + upgrade all phases, closes Bug #440210
38
39 05 Apr 2013; Agostino Sarubbo <ago@g.o> logbook-0.4.ebuild:
40 Stable for x86, wrt bug #457900
41
42
43
44 1.1 dev-python/logbook/logbook-0.4.2.ebuild
45
46 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/logbook/logbook-0.4.2.ebuild?rev=1.1&view=markup
47 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/logbook/logbook-0.4.2.ebuild?rev=1.1&content-type=text/plain
48
49 Index: logbook-0.4.2.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/logbook/logbook-0.4.2.ebuild,v 1.1 2013/06/30 14:50:46 idella4 Exp $
54
55 EAPI=5
56 # py3.2 fails tests & is marked to be dropped next release which will be very soon
57 # along with py2.5. See issue/86
58 PYTHON_COMPAT=( python{2_5,2_6,2_7,3_3} )
59
60 inherit distutils-r1
61
62 DESCRIPTION="A logging replacement for Python"
63 HOMEPAGE="http://packages.python.org/Logbook/ http://pypi.python.org/pypi/Logbook"
64 SRC_URI="https://github.com/mitsuhiko/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
65
66 LICENSE="BSD"
67 SLOT="0"
68 KEYWORDS="~amd64 ~x86"
69 IUSE="doc test"
70 DISTUTILS_IN_SOURCE_BUILD=1
71
72 DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
73 test? ( virtual/python-json[${PYTHON_USEDEP}]
74 dev-python/nose[${PYTHON_USEDEP}] )
75 doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )"
76
77 PATCHES=( "${FILESDIR}"/${P}-objectsinv.patch )
78
79 python_compile_all() {
80 use doc && emake -C docs html
81 }
82
83 python_compile() {
84 # https://github.com/mitsuhiko/logbook/issues/86
85 distutils-r1_python_compile
86 pushd "${BUILD_DIR}"/lib/ > /dev/null
87 if [[ "${EPYTHON}" != 'python2.5' ]]; then
88 rm $(find . -name _stringfmt.py) || die
89 fi
90 }
91
92 python_test() {
93 # https://github.com/mitsuhiko/logbook/issues/86
94 nosetests tests || die
95 }
96
97 python_install_all() {
98 use doc && HTML_DOCS=( docs/_build/html/. )
99 distutils-r1_python_install_all
100 }