diff options
Diffstat (limited to 'dev-python/beautifulsoup/beautifulsoup-3.2.1-r1.ebuild')
-rw-r--r-- | dev-python/beautifulsoup/beautifulsoup-3.2.1-r1.ebuild | 29 |
1 files changed, 29 insertions, 0 deletions
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 00000000000..1ed0b2621f6 --- /dev/null +++ b/dev-python/beautifulsoup/beautifulsoup-3.2.1-r1.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +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/ http://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 ~x86-freebsd ~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}" +} |