From 0c4d35bdb6d14b3ad3e09d606328a4e203bb5256 Mon Sep 17 00:00:00 2001 From: Artur MaciÄ…g Date: Sun, 16 May 2010 00:20:03 +0200 Subject: [dev-python/beautifulsoup] ebuild specific version 3.0.7a added; required by reddit --- dev-python/beautifulsoup/Manifest | 2 ++ .../beautifulsoup/beautifulsoup-3.0.7a.ebuild | 35 ++++++++++++++++++++++ 2 files changed, 37 insertions(+) create mode 100644 dev-python/beautifulsoup/Manifest create mode 100644 dev-python/beautifulsoup/beautifulsoup-3.0.7a.ebuild diff --git a/dev-python/beautifulsoup/Manifest b/dev-python/beautifulsoup/Manifest new file mode 100644 index 0000000..d81bd0d --- /dev/null +++ b/dev-python/beautifulsoup/Manifest @@ -0,0 +1,2 @@ +DIST BeautifulSoup-3.0.7a.tar.gz 30255 RMD160 1e9016446557c61a1a8172f9040aae1b667c667e SHA1 8d184216933aeff921181f5daa8165c155f58e28 SHA256 05be932a40bfd16fd5b5eee09fa1ef96d4793b30e4abf16cf38bbee231e2e417 +EBUILD beautifulsoup-3.0.7a.ebuild 804 RMD160 a4ad74d5804913191def53d703e23746a2d8132c SHA1 2d188954afe5095bc72fdba8b508c5f2c0e09a61 SHA256 9341e819f2035f524e08db0966204db154fcdb47c4bd045f6624be0662ff7ed7 diff --git a/dev-python/beautifulsoup/beautifulsoup-3.0.7a.ebuild b/dev-python/beautifulsoup/beautifulsoup-3.0.7a.ebuild new file mode 100644 index 0000000..a5c8692 --- /dev/null +++ b/dev-python/beautifulsoup/beautifulsoup-3.0.7a.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +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/3.x/${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 +} -- cgit v1.2.3-65-gdbad