mypy #18

Manually merged
hasufell merged 5 commits from kapsh/hasufell-repository:mypy into master 2019-08-04 15:38:14 +00:00
Showing only changes of commit 5987bdd5a6 - Show all commits

View File

@ -23,35 +23,29 @@ MYOPTIONS=""
DEPENDENCIES="
build+run:
dev-python/typed-ast[>=1.3.1&<1.4.0][python_abis:*(-)?]
dev-python/typed-ast[>=1.4.0&<1.5.0][python_abis:*(-)?]
dev-python/mypy_extensions[>=0.4.0&<0.5.0][python_abis:*(-)?]
python_abis:3.4? (
dev-python/typing[>=3.5.3][python_abis:3.4]
)
dev-python/typing_extensions[>=3.7.4][python_abis:*(-)?]
test:
dev-python/attrs[>=18.0][python_abis:*(-)?]
dev-python/flake8[>=3.7][python_abis:*(-)?]
dev-python/lxml[>=4.2.4][python_abis:*(-)?]
dev-python/psutil[>=4.0][python_abis:*(-)?]
dev-python/py[>=1.5.2][python_abis:*(-)?]
dev-python/pytest[>=3.0][python_abis:*(-)?]
dev-python/pytest[>=4.4][python_abis:*(-)?]
dev-python/pytest-cov[>=2.4.0][python_abis:*(-)?]
dev-python/pytest-xdist[>=1.18][python_abis:*(-)?]
dev-python/pytest-xdist[>=1.22][python_abis:*(-)?]
dev-python/virtualenv[python_abis:*(-)?]
suggestion:
dev-python/psutil[>=5.4.0&<5.5.0][python_abis:*(-)?] [[
dev-python/psutil[>=4.0][python_abis:*(-)?] [[
description = [ Show memory stats in 'dmypy status -v' ] ]]
"
BUGS_TO="hasufell@posteo.de"
# Require unpackaged: flake8-bugbear, flake8-pyi
# Require unpackaged: flake8-bugbear, flake8-pyi, pytest 4.4+
RESTRICT="test"
prepare_one_multibuild() {
edo sed -i \
-e "/target = /s|lib|$(exhost --target)/lib|" \
setup.py
setup-py_prepare_one_multibuild
}
test_one_multibuild() {
PYTHONPATH="${PWD}" edo ${PYTHON} -B runtests.py -x lint
}