diff --git a/packages/dev-python/mypy/mypy-0.670.exheres-0 b/packages/dev-python/mypy/mypy-0.720.exheres-0 similarity index 68% rename from packages/dev-python/mypy/mypy-0.670.exheres-0 rename to packages/dev-python/mypy/mypy-0.720.exheres-0 index 8af79d2..c86991c 100644 --- a/packages/dev-python/mypy/mypy-0.670.exheres-0 +++ b/packages/dev-python/mypy/mypy-0.720.exheres-0 @@ -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 } diff --git a/packages/dev-python/mypy_extensions/mypy_extensions-0.4.1.exheres-0 b/packages/dev-python/mypy_extensions/mypy_extensions-0.4.1.exheres-0 index b4a3baa..3a50b04 100644 --- a/packages/dev-python/mypy_extensions/mypy_extensions-0.4.1.exheres-0 +++ b/packages/dev-python/mypy_extensions/mypy_extensions-0.4.1.exheres-0 @@ -7,11 +7,9 @@ SUMMARY="Experimental type system extensions for programs checked with the mypy LICENCES="MIT" SLOT="0" -PLATFORMS="~amd64" +PLATFORMS="~amd64 ~x86" MYOPTIONS="" DEPENDENCIES=" - build+run: - python_abis:3.4? ( dev-python/typing[>=3.5.3][python_abis:3.4] ) " diff --git a/packages/dev-python/typed-ast/typed-ast-1.1.0.exheres-0 b/packages/dev-python/typed-ast/typed-ast-1.1.0.exheres-0 deleted file mode 100644 index cb2738c..0000000 --- a/packages/dev-python/typed-ast/typed-ast-1.1.0.exheres-0 +++ /dev/null @@ -1,7 +0,0 @@ -# Copyright 2017 Julian Ospald -# Distributed under the terms of the GNU General Public License v2 - -require typed-ast - -PLATFORMS="~amd64 ~x86" - diff --git a/packages/dev-python/typed-ast/typed-ast-1.3.1.exheres-0 b/packages/dev-python/typed-ast/typed-ast-1.3.1.exheres-0 deleted file mode 100644 index cb2738c..0000000 --- a/packages/dev-python/typed-ast/typed-ast-1.3.1.exheres-0 +++ /dev/null @@ -1,7 +0,0 @@ -# Copyright 2017 Julian Ospald -# Distributed under the terms of the GNU General Public License v2 - -require typed-ast - -PLATFORMS="~amd64 ~x86" - diff --git a/packages/dev-python/typed-ast/typed-ast-1.0.4.exheres-0 b/packages/dev-python/typed-ast/typed-ast-1.4.0.exheres-0 similarity index 100% rename from packages/dev-python/typed-ast/typed-ast-1.0.4.exheres-0 rename to packages/dev-python/typed-ast/typed-ast-1.4.0.exheres-0 diff --git a/packages/dev-python/typed-ast/typed-ast.exlib b/packages/dev-python/typed-ast/typed-ast.exlib index c5d5997..479fca5 100644 --- a/packages/dev-python/typed-ast/typed-ast.exlib +++ b/packages/dev-python/typed-ast/typed-ast.exlib @@ -1,9 +1,12 @@ # Copyright 2017 Julian Ospald # Distributed under the terms of the GNU General Public License v2 -require github [ user="python" project="typed_ast" ] -require pypi -require setup-py [ import=setuptools blacklist=2 ] +MY_PN="typed_ast" +MY_PNV="${MY_PN}-${PV}" + +require github [ user="python" project="${MY_PN}" ] +require pypi [ pnv="${MY_PNV}" ] +require setup-py [ import=setuptools blacklist=2 work="${MY_PNV}" ] SUMMARY="A fork of Python 2 and 3 ast modules with type comment support" DESCRIPTION=" diff --git a/packages/dev-python/typing_extensions/typing_extensions-3.7.4.exheres-0 b/packages/dev-python/typing_extensions/typing_extensions-3.7.4.exheres-0 new file mode 100644 index 0000000..9c9ffcd --- /dev/null +++ b/packages/dev-python/typing_extensions/typing_extensions-3.7.4.exheres-0 @@ -0,0 +1,20 @@ +# Copyright 2019 Alexander Kapshuna +# Distributed under the terms of the GNU General Public License v2 + +require pypi setup-py [ import=setuptools ] + +SUMMARY="Backported and Experimental Type Hints for Python 3.5+" + +LICENCES="PSF" +SLOT="0" +PLATFORMS="~amd64 ~x86" +MYOPTIONS="" + +DEPENDENCIES=" +" + +test_one_multibuild() { + local major=$(ever major $(python_get_abi)) + edo ${PYTHON} -B src_py${major}/test_typing_extensions.py +} +