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 | be0470dac5096e6579b30ff9d9ed4e038d6ee7b2 (patch) | |
tree | f8bf5162f3e3ea8163cecde5a0519c036e2a68cc /dev-python/mechanize | |
parent | Fixed build on amd64. Thanks to angelos and vapier. bug \#153575 (diff) | |
download | gentoo-2-be0470dac5096e6579b30ff9d9ed4e038d6ee7b2.tar.gz gentoo-2-be0470dac5096e6579b30ff9d9ed4e038d6ee7b2.tar.bz2 gentoo-2-be0470dac5096e6579b30ff9d9ed4e038d6ee7b2.zip |
Added NEED_PYTHON=2.3, moved DOCS to src_install, quotes and cosmetics.
(Portage version: 2.1.3_rc6)
Diffstat (limited to 'dev-python/mechanize')
-rw-r--r-- | dev-python/mechanize/ChangeLog | 5 | ||||
-rw-r--r-- | dev-python/mechanize/mechanize-0.1.7b.ebuild | 14 |
2 files changed, 9 insertions, 10 deletions
diff --git a/dev-python/mechanize/ChangeLog b/dev-python/mechanize/ChangeLog index 8a6826de739d..d49efe256539 100644 --- a/dev-python/mechanize/ChangeLog +++ b/dev-python/mechanize/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for dev-python/mechanize # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/mechanize/ChangeLog,v 1.1 2007/06/30 06:01:21 hawking Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/mechanize/ChangeLog,v 1.2 2007/06/30 13:27:02 hawking Exp $ + + 30 Jun 2007; Ali Polatel <hawking@gentoo.org> mechanize-0.1.7b.ebuild: + Added NEED_PYTHON=2.3, moved DOCS to src_install, quotes and cosmetics. *mechanize-0.1.7b (30 Jun 2007) 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" } |