diff options
author | Ali Polatel <hawking@gentoo.org> | 2007-06-30 13:27:02 +0000 |
---|---|---|
committer | Ali Polatel <hawking@gentoo.org> | 2007-06-30 13:27:02 +0000 |
commit | aba10cf2fbc44b279b149d2d83f082c1563ee00e (patch) | |
tree | 4278229d030f1e1cd31c3e3dacb2954bec761f1f /dev-python/mechanize/mechanize-0.1.7b.ebuild | |
parent | Fixed build on amd64. Thanks to angelos and vapier. bug \#153575 (diff) | |
download | historical-aba10cf2fbc44b279b149d2d83f082c1563ee00e.tar.gz historical-aba10cf2fbc44b279b149d2d83f082c1563ee00e.tar.bz2 historical-aba10cf2fbc44b279b149d2d83f082c1563ee00e.zip |
Added NEED_PYTHON=2.3, moved DOCS to src_install, quotes and cosmetics.
Package-Manager: portage-2.1.3_rc6
Diffstat (limited to 'dev-python/mechanize/mechanize-0.1.7b.ebuild')
-rw-r--r-- | dev-python/mechanize/mechanize-0.1.7b.ebuild | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/dev-python/mechanize/mechanize-0.1.7b.ebuild b/dev-python/mechanize/mechanize-0.1.7b.ebuild index 5b04784bf298..0c46d7330022 100644 --- a/dev-python/mechanize/mechanize-0.1.7b.ebuild +++ b/dev-python/mechanize/mechanize-0.1.7b.ebuild @@ -1,6 +1,8 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/mechanize/mechanize-0.1.7b.ebuild,v 1.1 2007/06/30 06:01:21 hawking Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/mechanize/mechanize-0.1.7b.ebuild,v 1.2 2007/06/30 13:27:02 hawking Exp $ + +NEED_PYTHON=2.3 inherit distutils @@ -16,8 +18,6 @@ IUSE="" DEPEND=">=dev-python/clientform-0.2.7" RDEPEND="${DEPEND}" -DOCS="0.1-changes.txt" - src_unpack() { unpack ${A} cd "${S}" @@ -32,13 +32,10 @@ src_unpack() { sed -i \ -e '/import coverage/d' \ test.py || die "sed in test.py failed" - - # For some weird reason README.txt - # is just a copy of README.html - rm README.txt } src_install() { + DOCS="0.1-changes.txt" # remove to prevent distutils_src_install from installing it dohtml *.html rm README.html* @@ -47,6 +44,5 @@ src_install() { } src_test() { - PYTHONPATH=build/lib/ \ - ${python} test.py || die "tests failed" + PYTHONPATH=build/lib/ "${python}" test.py || die "tests failed" } |