# Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/dev-python/beautifulsoup/beautifulsoup-3.0.7.ebuild,v 1.6 2009/12/20 23:41:25 arfrever Exp $ EAPI="2" SUPPORT_PYTHON_ABIS="1" inherit distutils 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/" SRC_URI="http://www.crummy.com/software/${MY_PN}/download/${MY_P}.tar.gz" LICENSE="PSF-2.3" SLOT="0" KEYWORDS="amd64 ~hppa ~ia64 ppc ppc64 ~sparc x86 ~x86-fbsd" IUSE="" DEPEND="" RDEPEND="" RESTRICT_PYTHON_ABIS="3.*" S="${WORKDIR}/${MY_P}" PYTHON_MODNAME="BeautifulSoup.py BeautifulSoupTests.py" src_test() { testing() { PYTHONPATH="build-${PYTHON_ABI}/lib" "$(PYTHON)" BeautifulSoupTests.py } python_execute_function testing }