Gentoo Archives: gentoo-commits

From: "Mike Gilbert (floppym)" <floppym@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-python/beautifulsoup: beautifulsoup-3.1.0.1-r2.ebuild ChangeLog
Date: Wed, 22 May 2013 21:56:49
Message-Id: 20130522215645.BBB6D2171D@flycatcher.gentoo.org
1 floppym 13/05/22 21:56:45
2
3 Modified: ChangeLog
4 Added: beautifulsoup-3.1.0.1-r2.ebuild
5 Log:
6 Convert to distutils-r1.
7
8 (Portage version: 2.2.0_alpha176/cvs/Linux x86_64, signed Manifest commit with key 0BBEEA1FEA4843A4)
9
10 Revision Changes Path
11 1.92 dev-python/beautifulsoup/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/beautifulsoup/ChangeLog?rev=1.92&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/beautifulsoup/ChangeLog?rev=1.92&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/beautifulsoup/ChangeLog?r1=1.91&r2=1.92
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-python/beautifulsoup/ChangeLog,v
20 retrieving revision 1.91
21 retrieving revision 1.92
22 diff -u -r1.91 -r1.92
23 --- ChangeLog 22 May 2013 21:49:29 -0000 1.91
24 +++ ChangeLog 22 May 2013 21:56:45 -0000 1.92
25 @@ -1,6 +1,12 @@
26 # ChangeLog for dev-python/beautifulsoup
27 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-python/beautifulsoup/ChangeLog,v 1.91 2013/05/22 21:49:29 floppym Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-python/beautifulsoup/ChangeLog,v 1.92 2013/05/22 21:56:45 floppym Exp $
30 +
31 +*beautifulsoup-3.1.0.1-r2 (22 May 2013)
32 +
33 + 22 May 2013; Mike Gilbert <floppym@g.o>
34 + +beautifulsoup-3.1.0.1-r2.ebuild:
35 + Convert to distutils-r1.
36
37 22 May 2013; Mike Gilbert <floppym@g.o>
38 beautifulsoup-3.1.0.1-r1.ebuild:
39
40
41
42 1.1 dev-python/beautifulsoup/beautifulsoup-3.1.0.1-r2.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/beautifulsoup/beautifulsoup-3.1.0.1-r2.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/beautifulsoup/beautifulsoup-3.1.0.1-r2.ebuild?rev=1.1&content-type=text/plain
46
47 Index: beautifulsoup-3.1.0.1-r2.ebuild
48 ===================================================================
49 # Copyright 1999-2013 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/dev-python/beautifulsoup/beautifulsoup-3.1.0.1-r2.ebuild,v 1.1 2013/05/22 21:56:45 floppym Exp $
52
53 EAPI="5"
54 PYTHON_COMPAT=( python{3_1,3_2,3_3} )
55
56 inherit distutils-r1 eutils
57
58 MY_PN="BeautifulSoup"
59 MY_P="${MY_PN}-${PV}"
60
61 DESCRIPTION="HTML/XML parser for quick-turnaround applications like screen-scraping."
62 HOMEPAGE="http://www.crummy.com/software/BeautifulSoup/ http://pypi.python.org/pypi/BeautifulSoup"
63 SRC_URI="http://www.crummy.com/software/${MY_PN}/download/${MY_P}.tar.gz"
64
65 LICENSE="BSD"
66 SLOT="python-3"
67 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~x86-macos ~x86-solaris"
68 IUSE=""
69
70 DEPEND=""
71 RDEPEND="!dev-python/beautifulsoup:0"
72
73 S="${WORKDIR}/${MY_P}"
74 PATCHES=( "${FILESDIR}/${P}-python-3.patch" )
75
76 python_test() {
77 "${PYTHON}" BeautifulSoupTests.py || die "Tests fail with ${EPYTHON}"
78 }
79
80 python_install_all() {
81 distutils-r1_python_install_all
82 # Delete useless files.
83 rm -r "${ED%/}/usr/bin" || die
84 }