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/guppy: guppy-0.1.10-r1.ebuild ChangeLog guppy-0.1.9.ebuild guppy-0.1.10.ebuild guppy-0.1.9-r2.ebuild
Date: Tue, 30 Dec 2014 12:31:23
Message-Id: 20141230123118.9D97DE7E1@oystercatcher.gentoo.org
1 idella4 14/12/30 12:31:18
2
3 Modified: ChangeLog
4 Added: guppy-0.1.10-r1.ebuild
5 Removed: guppy-0.1.9.ebuild guppy-0.1.10.ebuild
6 guppy-0.1.9-r2.ebuild
7 Log:
8 revbump; conversion -> distutils-r1, rm old
9
10 (Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key 0xB8072B0D)
11
12 Revision Changes Path
13 1.20 dev-python/guppy/ChangeLog
14
15 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/guppy/ChangeLog?rev=1.20&view=markup
16 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/guppy/ChangeLog?rev=1.20&content-type=text/plain
17 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/guppy/ChangeLog?r1=1.19&r2=1.20
18
19 Index: ChangeLog
20 ===================================================================
21 RCS file: /var/cvsroot/gentoo-x86/dev-python/guppy/ChangeLog,v
22 retrieving revision 1.19
23 retrieving revision 1.20
24 diff -u -r1.19 -r1.20
25 --- ChangeLog 3 Jun 2013 16:55:35 -0000 1.19
26 +++ ChangeLog 30 Dec 2014 12:31:18 -0000 1.20
27 @@ -1,6 +1,12 @@
28 # ChangeLog for dev-python/guppy
29 -# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
30 -# $Header: /var/cvsroot/gentoo-x86/dev-python/guppy/ChangeLog,v 1.19 2013/06/03 16:55:35 bicatali Exp $
31 +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
32 +# $Header: /var/cvsroot/gentoo-x86/dev-python/guppy/ChangeLog,v 1.20 2014/12/30 12:31:18 idella4 Exp $
33 +
34 +*guppy-0.1.10-r1 (30 Dec 2014)
35 +
36 + 30 Dec 2014; Ian Delaney <idella4@g.o> +guppy-0.1.10-r1.ebuild,
37 + -guppy-0.1.10.ebuild, -guppy-0.1.9-r2.ebuild, -guppy-0.1.9.ebuild:
38 + revbump; conversion -> distutils-r1, rm old
39
40 03 Jun 2013; Sébastien Fabbro <bicatali@g.o> guppy-0.1.10.ebuild:
41 Keyword amd64-linux and x86-linux
42
43
44
45 1.1 dev-python/guppy/guppy-0.1.10-r1.ebuild
46
47 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/guppy/guppy-0.1.10-r1.ebuild?rev=1.1&view=markup
48 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/guppy/guppy-0.1.10-r1.ebuild?rev=1.1&content-type=text/plain
49
50 Index: guppy-0.1.10-r1.ebuild
51 ===================================================================
52 # Copyright 1999-2014 Gentoo Foundation
53 # Distributed under the terms of the GNU General Public License v2
54 # $Header: /var/cvsroot/gentoo-x86/dev-python/guppy/guppy-0.1.10-r1.ebuild,v 1.1 2014/12/30 12:31:18 idella4 Exp $
55
56 EAPI=5
57 PYTHON_COMPAT=( python2_7 )
58
59 inherit distutils-r1
60
61 DESCRIPTION="Guppy-PE -- A Python Programming Environment"
62 HOMEPAGE="http://guppy-pe.sourceforge.net/ http://pypi.python.org/pypi/guppy"
63 SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
64
65 LICENSE="MIT"
66 SLOT="0"
67 KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
68 IUSE="doc"
69
70 DEPEND=""
71 RDEPEND=""
72
73 PATCHES=( "${FILESDIR}"/${PN}-0.1.9-rm_BrokenTests.patch )
74
75 python_prepare_all() {
76 sed -e 's:_PyLong_AsScaledDouble:_PyLong_Frexp:' -i src/sets/bitset.c || die
77 distutils-r1_python_prepare_all
78 }
79
80 python_compile() {
81 local -x CFLAGS="${CFLAGS} -fno-strict-aliasing"
82 distutils-r1_python_compile
83 }
84
85 python_test() {
86 "${PYTHON}" setup.py build install --home="${T}/test-${EPYTHON}" \
87 || die "Installation of tests failed"
88 pushd "${T}/test-${EPYTHON}/lib/python" > /dev/null
89 "${PYTHON}" guppy/heapy/test/test_all.py || die "tests failed"
90 popd > /dev/null
91 }
92
93 python_install_all() {
94 # leave the html docs for install as the setup.py dictates but rm if set by IUSE doc
95 if use doc; then
96 local HTML_DOCS=( guppy/doc/. )
97 find "${D}$(python_get_sitedir)" -name doc | xargs rm -rf
98 fi
99 distutils-r1_python_install_all
100 }