mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-07-31 10:58:21 -07:00
@@ -8,7 +8,7 @@ PYTHON_COMPAT=( python2_7 pypy )
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Stateful programmatic web browsing in Python"
|
||||
HOMEPAGE="http://wwwsearch.sourceforge.net/mechanize/ http://pypi.python.org/pypi/mechanize"
|
||||
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 )"
|
||||
@@ -20,7 +20,7 @@ DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
RDEPEND=""
|
||||
|
||||
python_test() {
|
||||
# Ignore warnings (http://github.com/jjlee/mechanize/issues/issue/13).
|
||||
# Ignore warnings (https://github.com/jjlee/mechanize/issues/issue/13).
|
||||
# https://github.com/jjlee/mechanize/issues/66
|
||||
"${PYTHON}" -W ignore test.py
|
||||
}
|
||||
|
||||
@@ -10,7 +10,7 @@ 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"
|
||||
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 )"
|
||||
@@ -25,7 +25,7 @@ DOCS="docs/*.txt"
|
||||
|
||||
src_test() {
|
||||
testing() {
|
||||
# Ignore warnings (http://github.com/jjlee/mechanize/issues/issue/13).
|
||||
# Ignore warnings (https://github.com/jjlee/mechanize/issues/issue/13).
|
||||
PYTHONPATH="build-${PYTHON_ABI}/lib" "$(PYTHON)" -W ignore test.py
|
||||
}
|
||||
python_execute_function testing
|
||||
|
||||
Reference in New Issue
Block a user