diff options
author | Michał Górny <mgorny@gentoo.org> | 2020-03-27 17:48:33 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2020-03-27 17:51:44 +0100 |
commit | b9ba51fcd21ff4badcd0e52c8d0bb96a1de3685a (patch) | |
tree | 7d1f0d66cf14036a0e2df252607ff4515a17cd55 /dev-python/mechanize/mechanize-0.2.5-r1.ebuild | |
parent | dev-python/unidecode: Remove py2 (diff) | |
download | gentoo-b9ba51fcd21ff4badcd0e52c8d0bb96a1de3685a.tar.gz gentoo-b9ba51fcd21ff4badcd0e52c8d0bb96a1de3685a.tar.bz2 gentoo-b9ba51fcd21ff4badcd0e52c8d0bb96a1de3685a.zip |
dev-python/mechanize: Remove redundant versions
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/mechanize/mechanize-0.2.5-r1.ebuild')
-rw-r--r-- | dev-python/mechanize/mechanize-0.2.5-r1.ebuild | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/dev-python/mechanize/mechanize-0.2.5-r1.ebuild b/dev-python/mechanize/mechanize-0.2.5-r1.ebuild deleted file mode 100644 index 283c628975a9..000000000000 --- a/dev-python/mechanize/mechanize-0.2.5-r1.ebuild +++ /dev/null @@ -1,35 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 -PYTHON_COMPAT=( python2_7 ) - -inherit distutils-r1 - -DESCRIPTION="Stateful programmatic web browsing in Python" -HOMEPAGE="http://wwwsearch.sourceforge.net/mechanize/ https://pypi.org/project/mechanize/" -SRC_URI="http://wwwsearch.sourceforge.net/${PN}/src/${P}.tar.gz" - -LICENSE="|| ( BSD ZPL )" -SLOT="0" -KEYWORDS="~alpha amd64 ~arm ~arm64 ~ia64 ppc ~sparc x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos" -IUSE="doc" - -DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" -RDEPEND="" - -python_test() { - # Ignore warnings (https://github.com/jjlee/mechanize/issues/issue/13). - # https://github.com/jjlee/mechanize/issues/66 - "${PYTHON}" -W ignore test.py -} - -python_install_all() { - # Fix some paths. - sed -e "s:../styles/:styles/:g" -i docs/html/* || die "sed failed" - if use doc; then - dohtml -r docs/html/ docs/styles - fi - - distutils-r1_python_install_all -} |