diff options
author | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2010-10-30 05:03:33 +0000 |
---|---|---|
committer | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2010-10-30 05:03:33 +0000 |
commit | 7255884d0320a8eea0ac36082f75ce76f057dde7 (patch) | |
tree | b6a597db80f94bdfd97da8e00d36291d6ef2120f /dev-python/mechanize | |
parent | Version bump. (diff) | |
download | gentoo-2-7255884d0320a8eea0ac36082f75ce76f057dde7.tar.gz gentoo-2-7255884d0320a8eea0ac36082f75ce76f057dde7.tar.bz2 gentoo-2-7255884d0320a8eea0ac36082f75ce76f057dde7.zip |
Version bump.
(Portage version: 2.2.0_alpha2_p2/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.4.ebuild | 40 |
2 files changed, 47 insertions, 1 deletions
diff --git a/dev-python/mechanize/ChangeLog b/dev-python/mechanize/ChangeLog index 0d7aea90d919..1d408dc90fea 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.32 2010/10/17 20:36:53 arfrever Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/mechanize/ChangeLog,v 1.33 2010/10/30 05:03:33 arfrever Exp $ + +*mechanize-0.2.4 (30 Oct 2010) + + 30 Oct 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> + +mechanize-0.2.4.ebuild: + Version bump. *mechanize-0.2.3 (17 Oct 2010) diff --git a/dev-python/mechanize/mechanize-0.2.4.ebuild b/dev-python/mechanize/mechanize-0.2.4.ebuild new file mode 100644 index 000000000000..f0596d0dff82 --- /dev/null +++ b/dev-python/mechanize/mechanize-0.2.4.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.4.ebuild,v 1.1 2010/10/30 05:03:33 arfrever Exp $ + +EAPI="3" +PYTHON_DEPEND="2" +SUPPORT_PYTHON_ABIS="1" +RESTRICT_PYTHON_ABIS="3.*" + +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="" + +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() { + distutils_src_install + + # Fix some paths. + sed -e "s:../styles/:styles/:g" -i docs/html/* || die "sed failed" + dohtml -r docs/html/ docs/styles || die "dohtml failed" +} |