commit: 9e0e937c1ad75ea7fb380fcefc9602d0c53e06c4 Author: Justin Lecher <jlec <AT> gentoo <DOT> org> AuthorDate: Sun Sep 20 10:10:05 2015 +0000 Commit: Justin Lecher <jlec <AT> gentoo <DOT> org> CommitDate: Sun Sep 20 10:10:05 2015 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9e0e937c
dev-python/mechanize: Drop old Package-Manager: portage-2.2.20.1 Signed-off-by: Justin Lecher <jlec <AT> gentoo.org> dev-python/mechanize/mechanize-0.2.5.ebuild | 40 ----------------------------- 1 file changed, 40 deletions(-) diff --git a/dev-python/mechanize/mechanize-0.2.5.ebuild b/dev-python/mechanize/mechanize-0.2.5.ebuild deleted file mode 100644 index 639cc2f..0000000 --- a/dev-python/mechanize/mechanize-0.2.5.ebuild +++ /dev/null @@ -1,40 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -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/ https://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 (https://github.com/jjlee/mechanize/issues/issue/13). - PYTHONPATH="build-${PYTHON_ABI}/lib" "$(PYTHON)" -W ignore 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" -}
