diff options
author | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2010-01-18 18:38:15 +0000 |
---|---|---|
committer | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2010-01-18 18:38:15 +0000 |
commit | 8059000bcbb9024cdf1726bc05cfaa757b86bab2 (patch) | |
tree | b72115f20ca3d1be5cfde0c4559fb3c2cee6303d /dev-python/html5lib/html5lib-0.90.ebuild | |
parent | Delete older ebuild. (diff) | |
download | gentoo-2-8059000bcbb9024cdf1726bc05cfaa757b86bab2.tar.gz gentoo-2-8059000bcbb9024cdf1726bc05cfaa757b86bab2.tar.bz2 gentoo-2-8059000bcbb9024cdf1726bc05cfaa757b86bab2.zip |
Version bump.
(Portage version: 15200-svn/cvs/Linux x86_64)
Diffstat (limited to 'dev-python/html5lib/html5lib-0.90.ebuild')
-rw-r--r-- | dev-python/html5lib/html5lib-0.90.ebuild | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/dev-python/html5lib/html5lib-0.90.ebuild b/dev-python/html5lib/html5lib-0.90.ebuild new file mode 100644 index 000000000000..f470d6320d29 --- /dev/null +++ b/dev-python/html5lib/html5lib-0.90.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/html5lib/html5lib-0.90.ebuild,v 1.1 2010/01/18 18:38:15 arfrever Exp $ + +EAPI="2" +SUPPORT_PYTHON_ABIS="1" + +inherit distutils eutils + +DESCRIPTION="HTML parser based on the HTML5 specification" +HOMEPAGE="http://code.google.com/p/html5lib/ http://pypi.python.org/pypi/html5lib" +SRC_URI="http://${PN}.googlecode.com/files/${P}.zip" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="examples" + +RDEPEND="dev-lang/python[xml]" +DEPEND="${RDEPEND} + app-arch/unzip + >=dev-python/setuptools-0.6_rc5" +RESTRICT_PYTHON_ABIS="3.*" + +src_install() { + distutils_src_install + + if use examples ; then + find examples -name "*.pyc" | xargs rm -fr + insinto "/usr/share/doc/${PF}" + doins -r examples || die "Installation of examples failed" + fi +} |