Gentoo Archives: gentoo-commits

From: Justin Lecher <jlec@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/beautifulsoup/
Date: Tue, 29 Sep 2015 07:41:19
Message-Id: 1443512471.3a182a6e1f7257f8d265c6d3ebce2ff2d71387b7.jlec@gentoo
1 commit: 3a182a6e1f7257f8d265c6d3ebce2ff2d71387b7
2 Author: Justin Lecher <jlec <AT> gentoo <DOT> org>
3 AuthorDate: Tue Sep 29 07:39:17 2015 +0000
4 Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
5 CommitDate: Tue Sep 29 07:41:11 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3a182a6e
7
8 dev-python/beautifulsoup: Version Bump
9
10 Package-Manager: portage-2.2.22
11 Signed-off-by: Justin Lecher <jlec <AT> gentoo.org>
12
13 dev-python/beautifulsoup/Manifest | 1 +
14 .../beautifulsoup/beautifulsoup-4.4.1.ebuild | 46 ++++++++++++++++++++++
15 2 files changed, 47 insertions(+)
16
17 diff --git a/dev-python/beautifulsoup/Manifest b/dev-python/beautifulsoup/Manifest
18 index 0512d10..b097e56 100644
19 --- a/dev-python/beautifulsoup/Manifest
20 +++ b/dev-python/beautifulsoup/Manifest
21 @@ -4,3 +4,4 @@ DIST beautifulsoup4-4.1.3.tar.gz 131292 SHA256 a295b93b30e1126f3fd64edc106f69393
22 DIST beautifulsoup4-4.2.0.tar.gz 138400 SHA256 9565ce6f6d28808007ab6248c37d59a49934e358276da5d3ac211ea1ccfd0782 SHA512 50c7514f2a1de49df6300d292e1f00e746b341e9c70dbfc3508663870ddf92f5c8e0ea981dc7742f888428845e90bce2cce8b158e8548039be4c2c06ee76db97 WHIRLPOOL 95db573c6c291d27187af9403694bcff27add7ad378b105df96f988074480b7a1491710681a93f1396dfa33cfa8c493637564ab7fc228e9e92659c385aa769a2
23 DIST beautifulsoup4-4.3.2.tar.gz 143356 SHA256 a2b29bd048ca2fe54a046b29770964738872a9747003a371344a93eedf7ad58e SHA512 3d55e553a1a2109378e2961a0feb23a8f038f4ff7bd335a21a26d588d39761f6735888e6ca2d001587e9a6a3b8259a1a09b92b310aa17e9b76fd85601a1ca592 WHIRLPOOL 3570395aa0fae03edc1de10b1c41e82efefa4753c306d2619032b124536a72b6db696c7f85c6a7c32b18c0506ec33d4c8a2fb73660264ad5afd92aba76f32884
24 DIST beautifulsoup4-4.4.0.tar.gz 151500 SHA256 fad91da88f69438b9ba939ab1b2cabaa31b1d914f1cccb4bb157a993ed2917f6 SHA512 812abb09099779ecb9c41ce55963ad42973eef00193e28e59dd907715fd6bc2b470b07f80bbe2838b790be252935eb81357a8cfb59808865d2fb62479476eb2f WHIRLPOOL 93b4bd82f1b7596a198d3a8ad5d21cfad51595884b2eb03c36e827e1b3d9f7a8400ed4415c9f0ffe9d014eac66c93cd52521a433ca914cac1a390a6487f153ba
25 +DIST beautifulsoup4-4.4.1.tar.gz 152140 SHA256 87d4013d0625d4789a4f56b8d79a04d5ce6db1152bb65f1d39744f7709a366b4 SHA512 16c692196d306564df23018bde714052b0209301f32df27c18413c085e98b404d81fad6427c8e8179e54158e98bdf2edce71ee75d8b8d835d2566cc170eae1d5 WHIRLPOOL c59d384ff72a1e9ca3a0e6e54b4e201ab8d127a4e2eecd01b43f2f67b6a6bba3af4de6ddd8441a237b5838428098aaf3198e2d55607a188331c6e7dff5d51a8f
26
27 diff --git a/dev-python/beautifulsoup/beautifulsoup-4.4.1.ebuild b/dev-python/beautifulsoup/beautifulsoup-4.4.1.ebuild
28 new file mode 100644
29 index 0000000..e90c609
30 --- /dev/null
31 +++ b/dev-python/beautifulsoup/beautifulsoup-4.4.1.ebuild
32 @@ -0,0 +1,46 @@
33 +# Copyright 1999-2015 Gentoo Foundation
34 +# Distributed under the terms of the GNU General Public License v2
35 +# $Id$
36 +
37 +EAPI=5
38 +PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy pypy3 )
39 +
40 +inherit distutils-r1
41 +
42 +MY_PN=${PN}4
43 +MY_P=${MY_PN}-${PV}
44 +
45 +DESCRIPTION="Provides pythonic idioms for iterating, searching, and modifying an HTML/XML parse tree"
46 +HOMEPAGE="https://bugs.launchpad.net/beautifulsoup/
47 + https://pypi.python.org/pypi/beautifulsoup4"
48 +SRC_URI="mirror://pypi/${MY_P:0:1}/${MY_PN}/${MY_P}.tar.gz"
49 +
50 +LICENSE="MIT"
51 +SLOT="4"
52 +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris"
53 +
54 +IUSE="doc test"
55 +
56 +# html5lib is optional however hard coding since its use is actively discouraged in the devmanual
57 +RDEPEND="
58 + $(python_gen_cond_dep 'dev-python/html5lib[${PYTHON_USEDEP}]' python2_7 pypy)
59 + $(python_gen_cond_dep 'dev-python/lxml[${PYTHON_USEDEP}]' python2_7 'python3*')"
60 +DEPEND="
61 + doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
62 + test? ( dev-python/nose[${PYTHON_USEDEP}] )
63 + "
64 +
65 +S=${WORKDIR}/${MY_P}
66 +
67 +python_compile_all() {
68 + use doc && emake -C doc html
69 +}
70 +
71 +python_test() {
72 + nosetests --verbose -w "${BUILD_DIR}"/lib || die "Tests fail with ${EPYTHON}"
73 +}
74 +
75 +python_install_all() {
76 + use doc && local HTML_DOCS=( doc/build/html/. )
77 + distutils-r1_python_install_all
78 +}