From fd270309011659c69402d07498a4c4d79bbb8b5d Mon Sep 17 00:00:00 2001 From: Justin Lecher Date: Tue, 29 Sep 2015 09:49:56 +0200 Subject: dev-python/beautifulsoup: Drop old Github: closes gentoo/gentoo#141 Package-Manager: portage-2.2.22 Signed-off-by: Justin Lecher --- dev-python/beautifulsoup/Manifest | 2 - .../beautifulsoup/beautifulsoup-4.1.3-r1.ebuild | 46 --------------- .../beautifulsoup/beautifulsoup-4.1.3.ebuild | 54 ----------------- .../beautifulsoup/beautifulsoup-4.2.0.ebuild | 48 ---------------- .../beautifulsoup/files/bfs-4.2.0-no-lxml.patch | 67 ---------------------- 5 files changed, 217 deletions(-) delete mode 100644 dev-python/beautifulsoup/beautifulsoup-4.1.3-r1.ebuild delete mode 100644 dev-python/beautifulsoup/beautifulsoup-4.1.3.ebuild delete mode 100644 dev-python/beautifulsoup/beautifulsoup-4.2.0.ebuild delete mode 100644 dev-python/beautifulsoup/files/bfs-4.2.0-no-lxml.patch (limited to 'dev-python/beautifulsoup') diff --git a/dev-python/beautifulsoup/Manifest b/dev-python/beautifulsoup/Manifest index b097e562e2f5..ab4562766f97 100644 --- a/dev-python/beautifulsoup/Manifest +++ b/dev-python/beautifulsoup/Manifest @@ -1,7 +1,5 @@ DIST BeautifulSoup-3.1.0.1.tar.gz 71460 SHA256 820a80f473240d9d30047f36c959d530a699a732500662dd8b03e1d3ccad12a8 SHA512 812969faf454a58d849921836ed07ec9a950f34fb31e29e118cdf1a75a533370e430f417402b5a5016d23b2d3a1c44a1cf5fde5b3bfd1bc98c50036edd51c0d6 WHIRLPOOL a199585817dcabcc6327c3836a66128605ebf92a6663b5c660125061a797485a504d300791bcd43e0e94e4f08ca59c01f65f42481da07b1240350cbfc6ea6b0c DIST BeautifulSoup-3.2.1.tar.gz 31224 SHA256 f5ba85e907e7dfd78e44e4000b3eaef3a650aefc57831e8a645702db2e5b50db SHA512 365b7b045a2069cf437877543577bc0aa99256a6dc4c9743670b46bfceab5494a06628012d6eccecfe99c25d5c9e0c65814964b47026f15ba1a538444cfb7789 WHIRLPOOL c2f84b29421d0153fb1fecc87d63e00a61182e03bc0683132babca5d6c94143b4875a60a19124a36e4e6e78ce80bff9e1e81b37335700efc14084da933307e26 -DIST beautifulsoup4-4.1.3.tar.gz 131292 SHA256 a295b93b30e1126f3fd64edc106f6939349280dde2ba47cef1e5a92dad9319bf SHA512 79ed4f65bcb5599a0d278d5462a67e80f532cdddcb753e0703b28347d84512165ee0bffd09795a501f3b55e6e4869354f04efdceae9de9093a4d85381fee660e WHIRLPOOL 53713ca72b5a409b3755e28d69de65b7994fb387d21ba9a1827f3e4dda2355f318660f69a706825ecb3852447823ffb8bae2cee6bacc093e6ad73347852f29c6 -DIST beautifulsoup4-4.2.0.tar.gz 138400 SHA256 9565ce6f6d28808007ab6248c37d59a49934e358276da5d3ac211ea1ccfd0782 SHA512 50c7514f2a1de49df6300d292e1f00e746b341e9c70dbfc3508663870ddf92f5c8e0ea981dc7742f888428845e90bce2cce8b158e8548039be4c2c06ee76db97 WHIRLPOOL 95db573c6c291d27187af9403694bcff27add7ad378b105df96f988074480b7a1491710681a93f1396dfa33cfa8c493637564ab7fc228e9e92659c385aa769a2 DIST beautifulsoup4-4.3.2.tar.gz 143356 SHA256 a2b29bd048ca2fe54a046b29770964738872a9747003a371344a93eedf7ad58e SHA512 3d55e553a1a2109378e2961a0feb23a8f038f4ff7bd335a21a26d588d39761f6735888e6ca2d001587e9a6a3b8259a1a09b92b310aa17e9b76fd85601a1ca592 WHIRLPOOL 3570395aa0fae03edc1de10b1c41e82efefa4753c306d2619032b124536a72b6db696c7f85c6a7c32b18c0506ec33d4c8a2fb73660264ad5afd92aba76f32884 DIST beautifulsoup4-4.4.0.tar.gz 151500 SHA256 fad91da88f69438b9ba939ab1b2cabaa31b1d914f1cccb4bb157a993ed2917f6 SHA512 812abb09099779ecb9c41ce55963ad42973eef00193e28e59dd907715fd6bc2b470b07f80bbe2838b790be252935eb81357a8cfb59808865d2fb62479476eb2f WHIRLPOOL 93b4bd82f1b7596a198d3a8ad5d21cfad51595884b2eb03c36e827e1b3d9f7a8400ed4415c9f0ffe9d014eac66c93cd52521a433ca914cac1a390a6487f153ba DIST beautifulsoup4-4.4.1.tar.gz 152140 SHA256 87d4013d0625d4789a4f56b8d79a04d5ce6db1152bb65f1d39744f7709a366b4 SHA512 16c692196d306564df23018bde714052b0209301f32df27c18413c085e98b404d81fad6427c8e8179e54158e98bdf2edce71ee75d8b8d835d2566cc170eae1d5 WHIRLPOOL c59d384ff72a1e9ca3a0e6e54b4e201ab8d127a4e2eecd01b43f2f67b6a6bba3af4de6ddd8441a237b5838428098aaf3198e2d55607a188331c6e7dff5d51a8f diff --git a/dev-python/beautifulsoup/beautifulsoup-4.1.3-r1.ebuild b/dev-python/beautifulsoup/beautifulsoup-4.1.3-r1.ebuild deleted file mode 100644 index 90e842ac4c8b..000000000000 --- a/dev-python/beautifulsoup/beautifulsoup-4.1.3-r1.ebuild +++ /dev/null @@ -1,46 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 - -PYTHON_COMPAT=( python{2_7,3_3} pypy ) - -inherit distutils-r1 - -MY_PN="${PN}4" -MY_P="${MY_PN}-${PV}" -DESCRIPTION="Provides pythonic idioms for iterating, searching, and modifying an HTML/XML parse tree" -HOMEPAGE="http://www.crummy.com/software/BeautifulSoup/ - https://pypi.python.org/pypi/beautifulsoup4" -SRC_URI="mirror://pypi/${MY_P:0:1}/${MY_PN}/${MY_P}.tar.gz" - -LICENSE="MIT" -SLOT="4" -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" -# new html5 awaits keywording of html5lib in Bug 471002 -IUSE="doc test" -# pending Bug 471002; html5? ( dev-python/html5lib[$(python_gen_usedep 'python{2_6,2_7}' pypy pypy2_0)] ) - -RDEPEND="" -DEPEND="${RDEPEND} - doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) - test? ( dev-python/nose[${PYTHON_USEDEP}] - dev-python/lxml[${PYTHON_USEDEP}] )" - -S="${WORKDIR}/${MY_P}" - -python_compile_all() { - if use doc; then - emake -C doc html - fi -} - -python_test() { - nosetests -w "${BUILD_DIR}"/lib || die "Tests fail with ${EPYTHON}" -} - -python_install_all() { - use doc && local HTML_DOCS=doc/build/html/. - distutils-r1_python_install_all -} diff --git a/dev-python/beautifulsoup/beautifulsoup-4.1.3.ebuild b/dev-python/beautifulsoup/beautifulsoup-4.1.3.ebuild deleted file mode 100644 index 7b6cc39b179a..000000000000 --- a/dev-python/beautifulsoup/beautifulsoup-4.1.3.ebuild +++ /dev/null @@ -1,54 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI="4" - -PYTHON_DEPEND="*:2.6" -SUPPORT_PYTHON_ABIS="1" -RESTRICT_PYTHON_ABIS="2.5" -PYTHON_TESTS_RESTRICTED_ABIS="*-pypy-*" -DISTUTILS_SRC_TEST="nosetests" - -inherit distutils - -MY_PN="${PN}4" -MY_P="${MY_PN}-${PV}" -DESCRIPTION="Provides pythonic idioms for iterating, searching, and modifying an HTML/XML parse tree" -HOMEPAGE="http://www.crummy.com/software/BeautifulSoup/ - https://pypi.python.org/pypi/beautifulsoup4" -SRC_URI="mirror://pypi/${MY_P:0:1}/${MY_PN}/${MY_P}.tar.gz" - -LICENSE="MIT" -SLOT="4" -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" -IUSE="doc test" - -DEPEND="doc? ( dev-python/sphinx ) - test? ( dev-python/lxml )" -RDEPEND="" - -PYTHON_MODNAME="bs4" -S="${WORKDIR}/${MY_P}" - -src_compile() { - distutils_src_compile - if use doc; then - emake -C doc html - fi -} - -src_test() { - testing() { - cd "build-${PYTHON_ABI}/lib" - nosetests --verbosity="${PYTHON_TEST_VERBOSITY}" - } - python_execute_function testing -} - -src_install() { - distutils_src_install - if use doc; then - dohtml -r doc/build/html/* - fi -} diff --git a/dev-python/beautifulsoup/beautifulsoup-4.2.0.ebuild b/dev-python/beautifulsoup/beautifulsoup-4.2.0.ebuild deleted file mode 100644 index 4c55fbb60809..000000000000 --- a/dev-python/beautifulsoup/beautifulsoup-4.2.0.ebuild +++ /dev/null @@ -1,48 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 -PYTHON_COMPAT=( python{2_7,3_3} pypy ) - -inherit distutils-r1 - -MY_PN=${PN}4 -MY_P=${MY_PN}-${PV} - -DESCRIPTION="Provides pythonic idioms for iterating, searching, and modifying an HTML/XML parse tree" -HOMEPAGE="http://www.crummy.com/software/BeautifulSoup/ - https://pypi.python.org/pypi/beautifulsoup4" -SRC_URI="mirror://pypi/${MY_P:0:1}/${MY_PN}/${MY_P}.tar.gz" - -LICENSE="MIT" -SLOT="4" -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" -# new html5 awaits keywording of html5lib in Bug 471002 -IUSE="doc test" -# pending Bug 471002; html5? ( dev-python/html5lib[$(python_gen_usedep 'python{2_6,2_7}' pypy pypy2_0)] ) - -RDEPEND="" -DEPEND="${RDEPEND} - doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) - test? ( dev-python/nose[${PYTHON_USEDEP}] - dev-python/lxml[$(python_gen_usedep 'python{2_6,2_7}' 'python3*')] )" - -S=${WORKDIR}/${MY_P} - -PATCHES=( "${FILESDIR}"/bfs-${PV}-no-lxml.patch ) - -python_compile_all() { - if use doc; then - emake -C doc html - fi -} - -python_test() { - nosetests -w "${BUILD_DIR}"/lib || die "Tests fail with ${EPYTHON}" -} - -python_install_all() { - use doc && local HTML_DOCS=doc/build/html/. - distutils-r1_python_install_all -} diff --git a/dev-python/beautifulsoup/files/bfs-4.2.0-no-lxml.patch b/dev-python/beautifulsoup/files/bfs-4.2.0-no-lxml.patch deleted file mode 100644 index 75ae98b1ef45..000000000000 --- a/dev-python/beautifulsoup/files/bfs-4.2.0-no-lxml.patch +++ /dev/null @@ -1,67 +0,0 @@ -=== modified file 'bs4/testing.py' ---- bs4/testing.py 2013-05-07 12:19:02 +0000 -+++ bs4/testing.py 2013-05-20 13:19:16 +0000 -@@ -464,6 +464,18 @@ - self.assertEqual( - soup.encode("utf-8"), markup) - -+ def test_formatter_processes_script_tag_for_xml_documents(self): -+ doc = """ -+ -+""" -+ soup = BeautifulSoup(doc, "xml") -+ # lxml would have stripped this while parsing, but we can add -+ # it later. -+ soup.script.string = 'console.log("< < hey > > ");' -+ encoded = soup.encode() -+ self.assertTrue(b"< < hey > >" in encoded) -+ - def test_popping_namespaced_tag(self): - markup = 'b2012-07-02T20:33:42Zcd' - soup = self.soup(markup) - -=== modified file 'bs4/tests/test_lxml.py' ---- bs4/tests/test_lxml.py 2013-05-09 19:36:30 +0000 -+++ bs4/tests/test_lxml.py 2013-05-20 13:19:16 +0000 -@@ -10,6 +10,7 @@ - LXML_VERSION = lxml.etree.LXML_VERSION - except ImportError, e: - LXML_PRESENT = False -+ LXML_VERSION = (0,) - - from bs4 import ( - BeautifulSoup, -@@ -47,7 +48,7 @@ - # test if an old version of lxml is installed. - - @skipIf( -- LXML_VERSION < (2,3,5,0), -+ not LXML_PRESENT or LXML_VERSION < (2,3,5,0), - "Skipping doctype test for old version of lxml to avoid segfault.") - def test_empty_doctype(self): - soup = self.soup("") - -=== modified file 'bs4/tests/test_tree.py' ---- bs4/tests/test_tree.py 2013-05-14 12:39:16 +0000 -+++ bs4/tests/test_tree.py 2013-05-20 13:19:16 +0000 -@@ -1344,18 +1344,6 @@ - encoded = BeautifulSoup(doc).encode() - self.assertTrue(b"< < hey > >" in encoded) - -- def test_formatter_processes_script_tag_for_xml_documents(self): -- doc = """ -- --""" -- soup = BeautifulSoup(doc, "xml") -- # lxml would have stripped this while parsing, but we can add -- # it later. -- soup.script.string = 'console.log("< < hey > > ");' -- encoded = soup.encode() -- self.assertTrue(b"< < hey > >" in encoded) -- - def test_prettify_leaves_preformatted_text_alone(self): - soup = self.soup("
foo
  \tbar\n  \n  
baz ") - # Everything outside the
 tag is reformatted, but everything
-
-- 
cgit v1.2.3-65-gdbad