summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <bicatali@gentoo.org>2013-08-08 17:48:07 +0000
committerSebastien Fabbro <bicatali@gentoo.org>2013-08-08 17:48:07 +0000
commit1e83f2fb125676215fd60843de7577566bba886d (patch)
treeb72bf4970f16caa1a4b6f31847874ccde488e47e /dev-python/html5lib
parentAdd dev-qt/qtwebkit dependency (diff)
downloadgentoo-2-1e83f2fb125676215fd60843de7577566bba886d.tar.gz
gentoo-2-1e83f2fb125676215fd60843de7577566bba886d.tar.bz2
gentoo-2-1e83f2fb125676215fd60843de7577566bba886d.zip
Version bump and keyword amd64-linux and x86-linux
(Portage version: 2.2.01.22124-prefix/cvs/Linux x86_64, signed Manifest commit with key 0x13CB1360)
Diffstat (limited to 'dev-python/html5lib')
-rw-r--r--dev-python/html5lib/ChangeLog8
-rw-r--r--dev-python/html5lib/html5lib-1.0_beta3.ebuild30
-rw-r--r--dev-python/html5lib/metadata.xml13
3 files changed, 46 insertions, 5 deletions
diff --git a/dev-python/html5lib/ChangeLog b/dev-python/html5lib/ChangeLog
index 56dee35079b8..fcffe5dbff36 100644
--- a/dev-python/html5lib/ChangeLog
+++ b/dev-python/html5lib/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-python/html5lib
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/html5lib/ChangeLog,v 1.18 2013/06/27 21:16:37 aballier Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/html5lib/ChangeLog,v 1.19 2013/08/08 17:48:07 bicatali Exp $
+
+*html5lib-1.0_beta3 (08 Aug 2013)
+
+ 08 Aug 2013; Sébastien Fabbro <bicatali@gentoo.org>
+ +html5lib-1.0_beta3.ebuild, metadata.xml:
+ Version bump and keyword amd64-linux and x86-linux
27 Jun 2013; Alexis Ballier <aballier@gentoo.org> html5lib-1.0_beta1.ebuild:
keyword ~amd64-fbsd, bug #473666
diff --git a/dev-python/html5lib/html5lib-1.0_beta3.ebuild b/dev-python/html5lib/html5lib-1.0_beta3.ebuild
new file mode 100644
index 000000000000..e59dbf07f8e5
--- /dev/null
+++ b/dev-python/html5lib/html5lib-1.0_beta3.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/html5lib/html5lib-1.0_beta3.ebuild,v 1.1 2013/08/08 17:48:07 bicatali Exp $
+
+EAPI=5
+PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3} pypy{1_9,2_0} )
+PYTHON_REQ_USE="xml(+)"
+
+inherit distutils-r1
+
+MY_P=${PN}-${PV/_beta/b}
+DESCRIPTION="HTML parser based on the HTML5 specification"
+HOMEPAGE="https://github.com/html5lib/html5lib-python/"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${MY_P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~hppa ~ppc ~x86 ~amd64-fbsd ~amd64-linux ~x86-fbsd ~x86-linux"
+IUSE="test"
+
+RDEPEND="dev-python/six[${PYTHON_USEDEP}]"
+DEPEND="${RDEPEND}
+ dev-python/setuptools[${PYTHON_USEDEP}]
+ test? ( dev-python/nose[${PYTHON_USEDEP}] )"
+
+S=${WORKDIR}/${MY_P}
+
+python_test() {
+ nosetests || die "Tests fail with ${EPYTHON}"
+}
diff --git a/dev-python/html5lib/metadata.xml b/dev-python/html5lib/metadata.xml
index 428c5064e762..e8cde1e276ed 100644
--- a/dev-python/html5lib/metadata.xml
+++ b/dev-python/html5lib/metadata.xml
@@ -1,8 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <herd>python</herd>
- <upstream>
- <remote-id type="google-code">html5lib</remote-id>
- </upstream>
+<herd>python</herd>
+<longdescription>
+ html5lib is a pure-python library for parsing HTML. It is designed
+ to conform to the WHATWG HTML specification, as is implemented by
+ all major web browsers.
+</longdescription>
+<upstream>
+ <remote-id type="pypi">html5lib</remote-id>
+</upstream>
</pkgmetadata>