python-beautifulsoup4: removed, duplicate of python-BeautifulSoup4

This commit is contained in:
Alessio Sergi 2017-12-20 12:28:20 +01:00
parent a51cf01b01
commit 540ac8c94c
3 changed files with 0 additions and 54 deletions

View File

@ -1,18 +0,0 @@
--- bs4/tests/test_tree.py
+++ bs4/tests/test_tree.py
@@ -1455,6 +1455,7 @@ class TestSubstitutions(SoupTest):
decoded,
self.document_for(u"<b><FOO></b><b>BAR</b>"))
+ """
def test_formatter_is_run_on_attribute_values(self):
markup = u'<a href="http://a.com?a=b&c=é">e</a>'
soup = self.soup(markup)
@@ -1471,6 +1472,7 @@ class TestSubstitutions(SoupTest):
self.assertEqual(markup, a.decode(formatter=None))
expect_upper = u'<a href="HTTP://A.COM?A=B&C=É">E</a>'
self.assertEqual(expect_upper, a.decode(formatter=lambda x: x.upper()))
+ """
def test_formatter_skips_script_tag_for_html_documents(self):
doc = """

View File

@ -1,35 +0,0 @@
# Template file for 'python-beautifulsoup4'
pkgname=python-beautifulsoup4
version=4.6.0
revision=1
wrksrc="${pkgname/python-/}-${version}"
build_style=python-module
pycompile_module="bs4"
hostmakedepends="python-setuptools python3-setuptools"
depends="python"
short_desc="Python2 screen-scraping library"
maintainer="maxice8 <thinkabit.ukim@gmail.com>"
license="MIT"
homepage="http://www.crummy.com/software/BeautifulSoup/bs4/"
distfiles="https://www.crummy.com/software/BeautifulSoup/bs4/download/${version%.*}/beautifulsoup4-${version}.tar.gz"
checksum=808b6ac932dccb0a4126558f7dfdcf41710dd44a4ef497a0bb59a77f9f078e89
noarch=yes
do_check() {
yes | ./test-all-versions
}
post_install() {
vlicense COPYING.txt
}
python3-beautifulsoup4_package() {
noarch=yes
pycompile_module="bs4"
depends="python3"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
vlicense COPYING.txt
}
}

View File

@ -1 +0,0 @@
python-beautifulsoup4