Gentoo Archives: gentoo-commits

From: "Tim Harder (radhermit)" <radhermit@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-python/beautifulsoup: ChangeLog beautifulsoup-4.1.0.ebuild
Date: Fri, 08 Jun 2012 07:37:47
Message-Id: 20120608073723.B4EF02004B@flycatcher.gentoo.org
1 radhermit 12/06/08 07:37:23
2
3 Modified: ChangeLog
4 Added: beautifulsoup-4.1.0.ebuild
5 Log:
6 Version bump.
7
8 (Portage version: 2.2.0_alpha109/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.66 dev-python/beautifulsoup/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/beautifulsoup/ChangeLog?rev=1.66&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/beautifulsoup/ChangeLog?rev=1.66&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/beautifulsoup/ChangeLog?r1=1.65&r2=1.66
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-python/beautifulsoup/ChangeLog,v
20 retrieving revision 1.65
21 retrieving revision 1.66
22 diff -u -r1.65 -r1.66
23 --- ChangeLog 16 May 2012 02:25:50 -0000 1.65
24 +++ ChangeLog 8 Jun 2012 07:37:23 -0000 1.66
25 @@ -1,6 +1,11 @@
26 # ChangeLog for dev-python/beautifulsoup
27 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-python/beautifulsoup/ChangeLog,v 1.65 2012/05/16 02:25:50 jer Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-python/beautifulsoup/ChangeLog,v 1.66 2012/06/08 07:37:23 radhermit Exp $
30 +
31 +*beautifulsoup-4.1.0 (08 Jun 2012)
32 +
33 + 08 Jun 2012; Tim Harder <radhermit@g.o> +beautifulsoup-4.1.0.ebuild:
34 + Version bump.
35
36 16 May 2012; Jeroen Roovers <jer@g.o> beautifulsoup-3.1.0.1-r1.ebuild:
37 Marked ~hppa too.
38
39
40
41 1.1 dev-python/beautifulsoup/beautifulsoup-4.1.0.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/beautifulsoup/beautifulsoup-4.1.0.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/beautifulsoup/beautifulsoup-4.1.0.ebuild?rev=1.1&content-type=text/plain
45
46 Index: beautifulsoup-4.1.0.ebuild
47 ===================================================================
48 # Copyright 1999-2012 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/dev-python/beautifulsoup/beautifulsoup-4.1.0.ebuild,v 1.1 2012/06/08 07:37:23 radhermit Exp $
51
52 EAPI="4"
53
54 PYTHON_DEPEND="*:2.6"
55 SUPPORT_PYTHON_ABIS="1"
56 RESTRICT_PYTHON_ABIS="2.5"
57 PYTHON_TESTS_RESTRICTED_ABIS="*-pypy-*"
58 DISTUTILS_SRC_TEST="nosetests"
59
60 inherit distutils
61
62 MY_PN="${PN}4"
63 MY_P="${MY_PN}-${PV}"
64 DESCRIPTION="Provides pythonic idioms for iterating, searching, and modifying an HTML/XML parse tree"
65 HOMEPAGE="http://www.crummy.com/software/BeautifulSoup/
66 http://pypi.python.org/pypi/beautifulsoup4"
67 SRC_URI="mirror://pypi/${MY_P:0:1}/${MY_PN}/${MY_P}.tar.gz"
68
69 LICENSE="MIT"
70 SLOT="4"
71 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris"
72 IUSE="doc test"
73
74 DEPEND="doc? ( dev-python/sphinx )
75 test? ( dev-python/lxml )"
76 RDEPEND=""
77
78 PYTHON_MODNAME="bs4"
79 S="${WORKDIR}/${MY_P}"
80
81 src_compile() {
82 distutils_src_compile
83 if use doc; then
84 emake -C doc html
85 fi
86 }
87
88 src_test() {
89 testing() {
90 cd "build-${PYTHON_ABI}/lib"
91 nosetests --verbosity="${PYTHON_TEST_VERBOSITY}"
92 }
93 python_execute_function testing
94 }
95
96 src_install() {
97 distutils_src_install
98 if use doc; then
99 dohtml -r doc/build/html/*
100 fi
101 }