diff options
author | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2010-05-18 12:51:22 +0000 |
---|---|---|
committer | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2010-05-18 12:51:22 +0000 |
commit | 67c4a9cdafd292161a455b1054eb0932bfd69ff8 (patch) | |
tree | 93e8c5fedb9967b2786fd362e868f114a9c4f593 /dev-python/mechanize | |
parent | x86 stable wrt bug #320247 (diff) | |
download | gentoo-2-67c4a9cdafd292161a455b1054eb0932bfd69ff8.tar.gz gentoo-2-67c4a9cdafd292161a455b1054eb0932bfd69ff8.tar.bz2 gentoo-2-67c4a9cdafd292161a455b1054eb0932bfd69ff8.zip |
Version bump.
(Portage version: HEAD/cvs/Linux x86_64)
Diffstat (limited to 'dev-python/mechanize')
-rw-r--r-- | dev-python/mechanize/ChangeLog | 8 | ||||
-rw-r--r-- | dev-python/mechanize/mechanize-0.2.1.ebuild | 40 |
2 files changed, 47 insertions, 1 deletions
diff --git a/dev-python/mechanize/ChangeLog b/dev-python/mechanize/ChangeLog index 37fb497c6fea..c5dccd99973a 100644 --- a/dev-python/mechanize/ChangeLog +++ b/dev-python/mechanize/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-python/mechanize # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/mechanize/ChangeLog,v 1.20 2010/04/25 09:03:30 djc Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/mechanize/ChangeLog,v 1.21 2010/05/18 12:51:22 arfrever Exp $ + +*mechanize-0.2.1 (18 May 2010) + + 18 May 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> + +mechanize-0.2.1.ebuild: + Version bump. 25 Apr 2010; Dirkjan Ochtman <djc@gentoo.org> mechanize-0.2.0.ebuild: Bug 317047: fix docs. Patch by Olivier Huber <oli.huber@gmail.com>. diff --git a/dev-python/mechanize/mechanize-0.2.1.ebuild b/dev-python/mechanize/mechanize-0.2.1.ebuild new file mode 100644 index 000000000000..d02d9d0b0760 --- /dev/null +++ b/dev-python/mechanize/mechanize-0.2.1.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/mechanize/mechanize-0.2.1.ebuild,v 1.1 2010/05/18 12:51:22 arfrever Exp $ + +EAPI="3" +PYTHON_DEPEND="2" +SUPPORT_PYTHON_ABIS="1" + +inherit distutils eutils + +DESCRIPTION="Stateful programmatic web browsing in Python" +HOMEPAGE="http://wwwsearch.sourceforge.net/mechanize/ http://pypi.python.org/pypi/mechanize" +SRC_URI="http://wwwsearch.sourceforge.net/${PN}/src/${P}.tar.gz" + +LICENSE="|| ( BSD ZPL )" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~sparc ~x86 ~amd64-linux ~ia64-linux ~x86-linux ~x86-macos" +IUSE="" + +DEPEND="dev-python/setuptools" +RDEPEND="" +RESTRICT_PYTHON_ABIS="3.*" + +DOCS="docs/*.txt" + +src_test() { + testing() { + # Ignore warnings (http://github.com/jjlee/mechanize/issues/issue/13). + PYTHONPATH="build-${PYTHON_ABI}/lib" "$(PYTHON)" -Wignore test.py + } + python_execute_function testing +} + +src_install() { + # Fix some paths. + sed -i -e 's:../styles/:styles/:g' docs/html/* + dohtml -r docs/html/ docs/styles + + distutils_src_install +} |