summaryrefslogtreecommitdiff
path: root/dev-python/beautifulsoup
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-python/beautifulsoup
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-python/beautifulsoup')
-rw-r--r--dev-python/beautifulsoup/Manifest11
-rw-r--r--dev-python/beautifulsoup/beautifulsoup-3.2.1-r1.ebuild28
-rw-r--r--dev-python/beautifulsoup/beautifulsoup-4.5.1.ebuild46
-rw-r--r--dev-python/beautifulsoup/beautifulsoup-4.5.3.ebuild46
-rw-r--r--dev-python/beautifulsoup/beautifulsoup-4.6.0.ebuild45
-rw-r--r--dev-python/beautifulsoup/metadata.xml19
6 files changed, 195 insertions, 0 deletions
diff --git a/dev-python/beautifulsoup/Manifest b/dev-python/beautifulsoup/Manifest
new file mode 100644
index 000000000000..aa77951b991a
--- /dev/null
+++ b/dev-python/beautifulsoup/Manifest
@@ -0,0 +1,11 @@
+DIST BeautifulSoup-3.2.1.tar.gz 31224 SHA256 f5ba85e907e7dfd78e44e4000b3eaef3a650aefc57831e8a645702db2e5b50db SHA512 365b7b045a2069cf437877543577bc0aa99256a6dc4c9743670b46bfceab5494a06628012d6eccecfe99c25d5c9e0c65814964b47026f15ba1a538444cfb7789 WHIRLPOOL c2f84b29421d0153fb1fecc87d63e00a61182e03bc0683132babca5d6c94143b4875a60a19124a36e4e6e78ce80bff9e1e81b37335700efc14084da933307e26
+DIST beautifulsoup4-4.5.1.tar.gz 158039 SHA256 3c9474036afda9136aac6463def733f81017bf9ef3510d25634f335b0c87f5e1 SHA512 d560d7f743507084ec546708d29bb3764512f5b2c380004280dde813350bf48d1697fddce3bd3f95186407bf5142941d7adc7d0de8e7962eb5ca1278dbc7e93f WHIRLPOOL bf971596707c2ff69e93528164be01254258aa45601763c543246b67c5d31024b0e4de618382775a3cf313d255d8d1d6268a47542773531aacee9a2643412661
+DIST beautifulsoup4-4.5.3.tar.gz 159185 SHA256 b21ca09366fa596043578fd4188b052b46634d22059e68dd0077d9ee77e08a3e SHA512 d31db0e3bb778a78c37882fcd55dc580eb5eeadfd48744eae6e2e0d0ef5983b216a4682af84a4971611b05fb99c45012ce094475f2d7c39a5b90dad99906ec84 WHIRLPOOL f8dbffd8e4a1dbee0a7ad8a4bcbe22a984f524474f0241a4c03ef5c37b291f9834a6ff1d076421c0cf1087588df1e49f5b99cd9afd7e81591c9063d92d4d097d
+DIST beautifulsoup4-4.6.0.tar.gz 160846 SHA256 808b6ac932dccb0a4126558f7dfdcf41710dd44a4ef497a0bb59a77f9f078e89 SHA512 1a7eee4218e58cc3852e71fe4f0892f673bb46a851941264766a38eff8ef05d612d88b4641fcb478ce8f66ac50dc987ca039923c4bbb11867c74813289f7e578 WHIRLPOOL 46809fd612cd90533fbf4252d1c2ee19c571301306c549526b355b4a7ad17090aa1e505268f25a521ed0d2c90c7686a6a2c1144a934a16823754aac5f599ac2c
+EBUILD beautifulsoup-3.2.1-r1.ebuild 859 SHA256 ed5c8a76b1dbeeda89efc57d32645461bb62eda231f846c42215040d90c1905d SHA512 aa3b7d3bd0161f7ea00bdedf48160023513686461012b93e62d635183e668271d7b6e3f275d2f6a368f74abb741494c58978a00c6884df65ebc791006065d2dc WHIRLPOOL 6d0f228c8a50bd6790a30bc181ae24d9d48efc2f1f54d1cd4f4e35a04c376135cd52c9c378d45c04fa094db2401c1424afc1b29ef009c52e2a07701fc8504555
+EBUILD beautifulsoup-4.5.1.ebuild 1362 SHA256 a7ffb53b50e4b269685add9ae6ff96170041c46265b37632ee5c21a735fe1878 SHA512 78b6092f6806324b91fe73a554bdc94ec258d8ce461331b276864ab99492b78eaef07e745a90b9f1400c34028a28ce206d2ec57f8d3f295b951541affd4b2114 WHIRLPOOL 21078e3c97b693c91034371bc73f923f134bf07a89f497b1427638b20b748dd2824f2d782507d363ce24afcce4e1c211b4ac16e69cf946a786de7b6739b0476e
+EBUILD beautifulsoup-4.5.3.ebuild 1371 SHA256 8ccf77c711c048a05a14ce51f538e1618017906d429e7ce9f25b3b5cd9f17039 SHA512 e637971890f68ce4f485be1c4e3fb7bc10812080b427e9c929e5f02208606e754c70b024f00b98cf2efe854c11554b60a0a3f03930996a87d722649361965053 WHIRLPOOL 3826c352b44f2440f04816d03d1c1b0998472f4ad3d50768715267baea76ca4e5ea537161c00e6ab0fa365c37f8367e0e1879c197fbe0de939d8f3c7db1c2de5
+EBUILD beautifulsoup-4.6.0.ebuild 1327 SHA256 8720248a45b18e6807d6dac3a10fa70da6795cc283bd22fefaf91e57b6c4ac48 SHA512 e7a259c6a3ffc73f4e7bfab7eb44bf44b05011bc1de15ba5d86a3bff2aa630fa5d45a789421800028c035d7298ca80b9c416a606c0a4611740210de61d3fb385 WHIRLPOOL e543c73cd7664f40677690f4429ce6c16bb3f3f818f963234be19494f12b313a7e3b2115207140bea50d4007cd9ff7327a98059d691c5825097685197e552b53
+MISC ChangeLog 5040 SHA256 0276750bc9f88c0cddc9d699b49dc825c5d462303292edd6fd101e417d1a0a9a SHA512 5c0a72e2d60e4645a5097ca8841ad3f510c97453c5e82aba4ab696959e9baaafd2c2af338a7fafa40b4ffc53fd90cfe07475e51872a3665a1e514d4a5d5a9242 WHIRLPOOL ebd194800471c2542b740b4dffb6051e7c6a25f1046fec3a7a461fa1f6970321327accdeef0da0911df5f865ff912d75efb08a926d12fedf517fe7d727bdb727
+MISC ChangeLog-2015 18871 SHA256 f7c4f4239e577dcc3cdb88738e5040eeb59f388eca2e72071af545dc936bb843 SHA512 97860287bae63869b9a2a44b4df0dde981d1757f9e2bf6990fe717bf80250eba73bf80fe3a2488439e6a0f58c7a0135bec05921c5594d6968491e59a254ad15d WHIRLPOOL 8f7d28203ef3bce32d883d9db0d0b499b990cc89a5dff5ff2eee6fa1865b4a8238fd42fc1ef5a7b52562bddb581f8ab58971eecc616def382ffea847ae9d9da4
+MISC metadata.xml 720 SHA256 33d514bd597448d6cf2172b3b8ade1be835290b6f01ff708bec167934d4c5c6b SHA512 94493d30b0e0e55b94d08f9a56841c54088469a86b706b73e8efe9c0f9a0da598feececd01f5f14d7e28bfe6fea5d7b017fb84a2df680335f519803450c6f578 WHIRLPOOL 3cafaf2b783533cf8a7d8631accd99ca7afb04b45d6b32a14ad84fd5039759d982019b22a605701552efe979db1f51f8eb4d0ec8d2a76d781f411fec5eb5941f
diff --git a/dev-python/beautifulsoup/beautifulsoup-3.2.1-r1.ebuild b/dev-python/beautifulsoup/beautifulsoup-3.2.1-r1.ebuild
new file mode 100644
index 000000000000..94e8fdfc00c6
--- /dev/null
+++ b/dev-python/beautifulsoup/beautifulsoup-3.2.1-r1.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+PYTHON_COMPAT=( python2_7 pypy )
+
+inherit distutils-r1
+
+MY_PN="BeautifulSoup"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="HTML/XML parser for quick-turnaround applications like screen-scraping"
+HOMEPAGE="http://www.crummy.com/software/BeautifulSoup/ https://pypi.python.org/pypi/BeautifulSoup"
+SRC_URI="http://www.crummy.com/software/${MY_PN}/download/3.x/${MY_P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="python-2"
+KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris"
+IUSE=""
+
+DEPEND=""
+RDEPEND="!dev-python/beautifulsoup:0"
+
+S="${WORKDIR}/${MY_P}"
+
+python_test() {
+ "${PYTHON}" BeautifulSoupTests.py || die "Testing failed with ${EPYTHON}"
+}
diff --git a/dev-python/beautifulsoup/beautifulsoup-4.5.1.ebuild b/dev-python/beautifulsoup/beautifulsoup-4.5.1.ebuild
new file mode 100644
index 000000000000..df69b8e49ddf
--- /dev/null
+++ b/dev-python/beautifulsoup/beautifulsoup-4.5.1.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy pypy3 )
+
+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="https://bugs.launchpad.net/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 ~arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris"
+
+IUSE="doc test"
+
+# html5lib is optional however hard coding since its use is actively discouraged in the devmanual
+RDEPEND="
+ $(python_gen_cond_dep 'dev-python/html5lib[${PYTHON_USEDEP}]' python2_7 pypy)
+ $(python_gen_cond_dep 'dev-python/lxml[${PYTHON_USEDEP}]' python2_7 'python3*')"
+DEPEND="
+ doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
+ test? ( dev-python/nose[${PYTHON_USEDEP}] )
+ "
+
+S=${WORKDIR}/${MY_P}
+
+python_compile_all() {
+ use doc && emake -C doc html
+}
+
+python_test() {
+ nosetests --verbose -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.5.3.ebuild b/dev-python/beautifulsoup/beautifulsoup-4.5.3.ebuild
new file mode 100644
index 000000000000..82ee5a047f3e
--- /dev/null
+++ b/dev-python/beautifulsoup/beautifulsoup-4.5.3.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy pypy3 )
+
+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="https://bugs.launchpad.net/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 ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris"
+
+IUSE="doc test"
+
+# html5lib is optional however hard coding since its use is actively discouraged in the devmanual
+RDEPEND="
+ $(python_gen_cond_dep 'dev-python/html5lib[${PYTHON_USEDEP}]' python2_7 pypy)
+ $(python_gen_cond_dep 'dev-python/lxml[${PYTHON_USEDEP}]' python2_7 'python3*')"
+DEPEND="
+ doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
+ test? ( dev-python/nose[${PYTHON_USEDEP}] )
+ "
+
+S=${WORKDIR}/${MY_P}
+
+python_compile_all() {
+ use doc && emake -C doc html
+}
+
+python_test() {
+ nosetests --verbose -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.6.0.ebuild b/dev-python/beautifulsoup/beautifulsoup-4.6.0.ebuild
new file mode 100644
index 000000000000..d321b00e57a9
--- /dev/null
+++ b/dev-python/beautifulsoup/beautifulsoup-4.6.0.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy pypy3 )
+
+inherit distutils-r1
+
+MY_PN=${PN}4
+MY_P=${MY_PN}-${PV}
+
+DESCRIPTION="Pythonic idioms for iterating, searching, and modifying an HTML/XML parse tree"
+HOMEPAGE="http://www.crummy.com/software/BeautifulSoup/bs4/"
+SRC_URI="mirror://pypi/${MY_P:0:1}/${MY_PN}/${MY_P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="4"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris"
+
+IUSE="doc test"
+
+# html5lib is optional however hard coding since its use is actively discouraged in the devmanual
+RDEPEND="
+ $(python_gen_cond_dep 'dev-python/html5lib[${PYTHON_USEDEP}]' python2_7 pypy)
+ $(python_gen_cond_dep 'dev-python/lxml[${PYTHON_USEDEP}]' python2_7 'python3*')"
+DEPEND="
+ doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
+ test? ( dev-python/nose[${PYTHON_USEDEP}] )
+ "
+
+S="${WORKDIR}/${MY_P}"
+
+python_compile_all() {
+ use doc && emake -C doc html
+}
+
+python_test() {
+ nosetests --verbose -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/metadata.xml b/dev-python/beautifulsoup/metadata.xml
new file mode 100644
index 000000000000..1a865dd3b27d
--- /dev/null
+++ b/dev-python/beautifulsoup/metadata.xml
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>python@gentoo.org</email>
+ <name>Python</name>
+ </maintainer>
+ <longdescription lang="en">
+ Beautiful Soup is a Python HTML/XML parser designed for quick
+ turnaround projects like screen-scraping. Two features make it
+ powerful: it won't choke if you give it bad markup and it provides a
+ few simple methods and Pythonic idioms for navigating and searching
+ a parse tree: a toolkit for dissecting a document and extracting
+ what you need.
+ </longdescription>
+ <upstream>
+ <remote-id type="pypi">beautifulsoup4</remote-id>
+ </upstream>
+</pkgmetadata>