Gentoo Archives: gentoo-commits

From: "Ali Polatel (hawking)" <hawking@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-python/mechanize: ChangeLog mechanize-0.1.9.ebuild
Date: Thu, 25 Sep 2008 12:12:22
Message-Id: E1Kiphj-00052Y-Ik@stork.gentoo.org
1 hawking 08/09/25 12:12:19
2
3 Modified: ChangeLog
4 Added: mechanize-0.1.9.ebuild
5 Log:
6 Version bump.
7 (Portage version: -svn/cvs/Linux 2.6.26-gentoo x86_64)
8
9 Revision Changes Path
10 1.6 dev-python/mechanize/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/mechanize/ChangeLog?rev=1.6&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/mechanize/ChangeLog?rev=1.6&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/mechanize/ChangeLog?r1=1.5&r2=1.6
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-python/mechanize/ChangeLog,v
19 retrieving revision 1.5
20 retrieving revision 1.6
21 diff -u -r1.5 -r1.6
22 --- ChangeLog 1 Jul 2007 13:20:05 -0000 1.5
23 +++ ChangeLog 25 Sep 2008 12:12:19 -0000 1.6
24 @@ -1,6 +1,11 @@
25 # ChangeLog for dev-python/mechanize
26 -# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-python/mechanize/ChangeLog,v 1.5 2007/07/01 13:20:05 pylon Exp $
28 +# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
29 +# $Header: /var/cvsroot/gentoo-x86/dev-python/mechanize/ChangeLog,v 1.6 2008/09/25 12:12:19 hawking Exp $
30 +
31 +*mechanize-0.1.9 (24 Sep 2008)
32 +
33 + 24 Sep 2008; Ali Polatel <hawking@g.o> +mechanize-0.1.9.ebuild:
34 + Version bump.
35
36 01 Jul 2007; Lars Weiler <pylon@g.o> mechanize-0.1.7b.ebuild:
37 Keyworded ~ppc; bug #166914.
38
39
40
41 1.1 dev-python/mechanize/mechanize-0.1.9.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/mechanize/mechanize-0.1.9.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/mechanize/mechanize-0.1.9.ebuild?rev=1.1&content-type=text/plain
45
46 Index: mechanize-0.1.9.ebuild
47 ===================================================================
48 # Copyright 1999-2008 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/dev-python/mechanize/mechanize-0.1.9.ebuild,v 1.1 2008/09/25 12:12:19 hawking Exp $
51
52 NEED_PYTHON=2.3
53
54 inherit distutils
55
56 DESCRIPTION="Stateful programmatic web browsing in Python"
57 HOMEPAGE="http://wwwsearch.sourceforge.net/mechanize/"
58 SRC_URI="http://wwwsearch.sourceforge.net/${PN}/src/${P}.tar.gz"
59
60 LICENSE="|| ( BSD ZPL )"
61 SLOT="0"
62 KEYWORDS="~amd64 ~ia64 ~ppc ~x86"
63 IUSE=""
64
65 DEPEND=">=dev-python/clientform-0.2.7"
66 RDEPEND="${DEPEND}"
67
68 src_unpack() {
69 unpack ${A}
70 cd "${S}"
71
72 # use distutils instead of setuptools
73 sed -i \
74 -e 's/not hasattr(sys, "version_info")/1/' \
75 setup.py || die "sed in setup.py failed"
76
77 # We don't run coverage tests or functional_tests
78 # which access the network, just doctests and unit tests
79 sed -i \
80 -e '/import coverage/d' \
81 test.py || die "sed in test.py failed"
82 }
83
84 src_install() {
85 DOCS="0.1-changes.txt"
86 # remove to prevent distutils_src_install from installing it
87 dohtml *.html
88 rm README.html*
89
90 distutils_src_install
91 }
92
93 src_test() {
94 PYTHONPATH=build/lib/ "${python}" test.py || die "tests failed"
95 }