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/buildutils: buildutils-0.3-r1.ebuild ChangeLog buildutils-0.3.ebuild
Date: Wed, 05 Jun 2013 11:18:17
Message-Id: 20130605111811.D6C3E2171D@flycatcher.gentoo.org
1 idella4 13/06/05 11:18:11
2
3 Modified: ChangeLog
4 Added: buildutils-0.3-r1.ebuild
5 Removed: buildutils-0.3.ebuild
6 Log:
7 revbump, migrate -> distutils-r1, remove old, add test phase
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.9 dev-python/buildutils/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/buildutils/ChangeLog?rev=1.9&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/buildutils/ChangeLog?rev=1.9&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/buildutils/ChangeLog?r1=1.8&r2=1.9
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/dev-python/buildutils/ChangeLog,v
21 retrieving revision 1.8
22 retrieving revision 1.9
23 diff -u -r1.8 -r1.9
24 --- ChangeLog 4 Apr 2010 16:41:05 -0000 1.8
25 +++ ChangeLog 5 Jun 2013 11:18:11 -0000 1.9
26 @@ -1,6 +1,12 @@
27 # ChangeLog for dev-python/buildutils
28 -# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/dev-python/buildutils/ChangeLog,v 1.8 2010/04/04 16:41:05 arfrever Exp $
30 +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
31 +# $Header: /var/cvsroot/gentoo-x86/dev-python/buildutils/ChangeLog,v 1.9 2013/06/05 11:18:11 idella4 Exp $
32 +
33 +*buildutils-0.3-r1 (05 Jun 2013)
34 +
35 + 05 Jun 2013; Ian Delaney <idella4@g.o> +buildutils-0.3-r1.ebuild,
36 + -buildutils-0.3.ebuild:
37 + revbump, migrate -> distutils-r1, remove old, add test phase
38
39 04 Apr 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@g.o>
40 buildutils-0.3.ebuild:
41 @@ -37,4 +43,3 @@
42 07 Jan 2007; Tiziano Müller <dev-zero@g.o> +metadata.xml,
43 +buildutils-0.1.2.ebuild:
44 New ebuild for bug #155366, thanks to Brad Walker.
45 -
46
47
48
49 1.1 dev-python/buildutils/buildutils-0.3-r1.ebuild
50
51 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/buildutils/buildutils-0.3-r1.ebuild?rev=1.1&view=markup
52 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/buildutils/buildutils-0.3-r1.ebuild?rev=1.1&content-type=text/plain
53
54 Index: buildutils-0.3-r1.ebuild
55 ===================================================================
56 # Copyright 1999-2013 Gentoo Foundation
57 # Distributed under the terms of the GNU General Public License v2
58 # $Header: /var/cvsroot/gentoo-x86/dev-python/buildutils/buildutils-0.3-r1.ebuild,v 1.1 2013/06/05 11:18:11 idella4 Exp $
59
60 EAPI=5
61 PYTHON_COMPAT=( python{2_6,2_7} pypy2_0 )
62
63 inherit distutils-r1
64
65 DESCRIPTION="Extensions for developing Python libraries and applications."
66 HOMEPAGE="http://buildutils.lesscode.org http://pypi.python.org/pypi/buildutils"
67 SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
68
69 LICENSE="MIT"
70 SLOT="0"
71 KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~x86-macos"
72 IUSE="doc test"
73
74 DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
75 doc? ( dev-python/pudge[$(python_gen_usedep python{2_6,2_7})] )
76 test? ( dev-python/pytest[${PYTHON_USEDEP}] )"
77 RDEPEND=""
78
79 python_prepare_all() {
80 # Enable pudge command.
81 epatch "${FILESDIR}/${P}-pudge_addcommand.patch"
82 sed -e "s/buildutils.command.publish/buildutils.publish_command.publish/" \
83 -i buildutils/test/test_publish.py || die "sed failed"
84 distutils-r1_python_prepare_all
85 }
86
87 python_compile_all() {
88 if use doc; then
89 einfo "Generation of documentation"
90 # ensure docs are built with py2
91 if "${PYTHON}" -c "import pudge"; then
92 "${PYTHON}" setup.py pudge || die "Generation of documentation failed"
93 else
94 die "Generation of documentation failed"
95 fi
96 fi
97 }
98
99 python_test() {
100 py.test || die "Tests failed under ${EPYTHON}"
101 }
102
103 python_install_all() {
104 use doc && local HTML_DOCS=( doc/html/. )
105 distutils-r1_python_install_all
106 }