Gentoo Archives: gentoo-commits

From: "Dirkjan Ochtman (djc)" <djc@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-python/mechanize: ChangeLog mechanize-0.2.0.ebuild
Date: Sat, 24 Apr 2010 10:33:39
Message-Id: 20100424103334.A4AFB2C04C@corvid.gentoo.org
1 djc 10/04/24 10:33:34
2
3 Modified: ChangeLog
4 Added: mechanize-0.2.0.ebuild
5 Log:
6 Version bump dev-python/mechanize to 0.2.0.
7 (Portage version: 2.1.8.3/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.19 dev-python/mechanize/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/mechanize/ChangeLog?rev=1.19&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/mechanize/ChangeLog?rev=1.19&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/mechanize/ChangeLog?r1=1.18&r2=1.19
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-python/mechanize/ChangeLog,v
19 retrieving revision 1.18
20 retrieving revision 1.19
21 diff -u -r1.18 -r1.19
22 --- ChangeLog 14 Feb 2010 18:48:41 -0000 1.18
23 +++ ChangeLog 24 Apr 2010 10:33:34 -0000 1.19
24 @@ -1,6 +1,11 @@
25 # ChangeLog for dev-python/mechanize
26 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-python/mechanize/ChangeLog,v 1.18 2010/02/14 18:48:41 armin76 Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/dev-python/mechanize/ChangeLog,v 1.19 2010/04/24 10:33:34 djc Exp $
29 +
30 +*mechanize-0.2.0 (24 Apr 2010)
31 +
32 + 24 Apr 2010; Dirkjan Ochtman <djc@g.o> +mechanize-0.2.0.ebuild:
33 + Version bump to 0.2.0.
34
35 14 Feb 2010; Raúl Porcel <armin76@g.o> mechanize-0.1.11.ebuild:
36 Add ~alpha/~sparc
37
38
39
40 1.1 dev-python/mechanize/mechanize-0.2.0.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/mechanize/mechanize-0.2.0.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/mechanize/mechanize-0.2.0.ebuild?rev=1.1&content-type=text/plain
44
45 Index: mechanize-0.2.0.ebuild
46 ===================================================================
47 # Copyright 1999-2010 Gentoo Foundation
48 # Distributed under the terms of the GNU General Public License v2
49 # $Header: /var/cvsroot/gentoo-x86/dev-python/mechanize/mechanize-0.2.0.ebuild,v 1.1 2010/04/24 10:33:34 djc Exp $
50
51 EAPI="2"
52 SUPPORT_PYTHON_ABIS="1"
53
54 inherit distutils eutils
55
56 DESCRIPTION="Stateful programmatic web browsing in Python"
57 HOMEPAGE="http://wwwsearch.sourceforge.net/mechanize/ http://pypi.python.org/pypi/mechanize"
58 SRC_URI="http://wwwsearch.sourceforge.net/${PN}/src/${P}.tar.gz"
59
60 LICENSE="|| ( BSD ZPL )"
61 SLOT="0"
62 KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~sparc ~x86 ~amd64-linux ~ia64-linux ~x86-linux ~x86-macos"
63 IUSE=""
64
65 DEPEND=""
66 RDEPEND=""
67 RESTRICT_PYTHON_ABIS="3.*"
68
69 DOCS="0.1-changes.txt"
70
71 src_prepare() {
72 # Use distutils instead of setuptools.
73 # (This can't be removed in the same ${PV} due to file->directory replacement.)
74 sed -e 's/not hasattr(sys, "version_info")/True/' -i setup.py || die "sed in setup.py failed"
75
76 # We don't run coverage tests or functional_tests
77 # which access the network, just doctests and unit tests
78 sed -e '/import coverage/d' -i test.py || die "sed in test.py failed"
79 }
80
81 src_test() {
82 testing() {
83 # ignore warnings http://github.com/jjlee/mechanize/issues/issue/13
84 PYTHONPATH="build-${PYTHON_ABI}/lib" "$(PYTHON)" -Wignore test.py
85 }
86 python_execute_function testing
87 }
88
89 src_install() {
90 # Remove some files to prevent distutils_src_install from installing them.
91 dohtml *.html
92 rm -f README.html*
93
94 distutils_src_install
95 }