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/errorhandler: errorhandler-1.1.1-r1.ebuild ChangeLog errorhandler-1.1.1.ebuild
Date: Fri, 07 Jun 2013 06:16:45
Message-Id: 20130607061639.5F8CD2171D@flycatcher.gentoo.org
1 idella4 13/06/07 06:16:39
2
3 Modified: ChangeLog
4 Added: errorhandler-1.1.1-r1.ebuild
5 Removed: errorhandler-1.1.1.ebuild
6 Log:
7 revbump, migrate -> distutils-r1, patch for docs, rm old
8
9 (Portage version: 2.1.11.63/cvs/Linux x86_64, signed Manifest commit with key 0xB8072B0D)
10
11 Revision Changes Path
12 1.3 dev-python/errorhandler/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/errorhandler/ChangeLog?rev=1.3&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/errorhandler/ChangeLog?rev=1.3&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/errorhandler/ChangeLog?r1=1.2&r2=1.3
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/dev-python/errorhandler/ChangeLog,v
21 retrieving revision 1.2
22 retrieving revision 1.3
23 diff -u -r1.2 -r1.3
24 --- ChangeLog 13 Nov 2012 11:21:36 -0000 1.2
25 +++ ChangeLog 7 Jun 2013 06:16:38 -0000 1.3
26 @@ -1,6 +1,12 @@
27 # ChangeLog for dev-python/errorhandler
28 -# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/dev-python/errorhandler/ChangeLog,v 1.2 2012/11/13 11:21:36 idella4 Exp $
30 +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
31 +# $Header: /var/cvsroot/gentoo-x86/dev-python/errorhandler/ChangeLog,v 1.3 2013/06/07 06:16:38 idella4 Exp $
32 +
33 +*errorhandler-1.1.1-r1 (07 Jun 2013)
34 +
35 + 07 Jun 2013; Ian Delaney <idella4@g.o> +errorhandler-1.1.1-r1.ebuild,
36 + +files/docs.patch, -errorhandler-1.1.1.ebuild:
37 + revbump, migrate -> distutils-r1, patch for docs, rm old
38
39 14 Nov 2012; Ian Delaney <idella4@g.o> metadata.xml:
40 Updating maintainer, metadata.xml
41
42
43
44 1.1 dev-python/errorhandler/errorhandler-1.1.1-r1.ebuild
45
46 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/errorhandler/errorhandler-1.1.1-r1.ebuild?rev=1.1&view=markup
47 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/errorhandler/errorhandler-1.1.1-r1.ebuild?rev=1.1&content-type=text/plain
48
49 Index: errorhandler-1.1.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/errorhandler/errorhandler-1.1.1-r1.ebuild,v 1.1 2013/06/07 06:16:38 idella4 Exp $
54
55 EAPI=5
56 PYTHON_COMPAT=( python{2_6,2_7} pypy2_0 )
57
58 inherit distutils-r1
59
60 DESCRIPTION="A logging framework handler that tracks when messages above a certain level have been logged"
61 HOMEPAGE="http://pypi.python.org/pypi/errorhandler"
62 SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
63
64 KEYWORDS="~amd64 ~x86"
65 IUSE="doc"
66
67 LICENSE="MIT"
68 SLOT="0"
69
70 RDEPEND=""
71 DEPEND="
72 dev-python/pkginfo[${PYTHON_USEDEP}]
73 dev-python/setuptools[${PYTHON_USEDEP}]
74 doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )"
75
76 python_prepare_all() {
77 sed -e 's:../bin/sphinx-build:/usr/bin/sphinx-build:' -i docs/Makefile || die
78 epatch "${FILESDIR}"/${P}-test.patch \
79 "${FILESDIR}"/docs.patch
80 distutils-r1_python_prepare_all
81 }
82
83 python_compile_all() {
84 use doc && emake -C docs html
85 }
86
87 python_test() {
88 "${PYTHON}" -c "import errorhandler.tests as et, unittest; \
89 unittest.TextTestRunner().run(et.test_suite())"
90 # || die
91 }
92
93 src_install() {
94 if use doc; then
95 dohtml -r docs/_build/html/
96 fi
97 distutils_src_install
98 }