From 28dfe88c86ec93497882be22505de057606ee526 Mon Sep 17 00:00:00 2001 From: Alexander Kapshuna Date: Sun, 4 Aug 2019 02:39:26 +0300 Subject: [PATCH 1/5] typed-ast: remove old versions --- packages/dev-python/typed-ast/typed-ast-1.0.4.exheres-0 | 7 ------- packages/dev-python/typed-ast/typed-ast-1.1.0.exheres-0 | 7 ------- 2 files changed, 14 deletions(-) delete mode 100644 packages/dev-python/typed-ast/typed-ast-1.0.4.exheres-0 delete mode 100644 packages/dev-python/typed-ast/typed-ast-1.1.0.exheres-0 diff --git a/packages/dev-python/typed-ast/typed-ast-1.0.4.exheres-0 b/packages/dev-python/typed-ast/typed-ast-1.0.4.exheres-0 deleted file mode 100644 index cb2738c5..00000000 --- a/packages/dev-python/typed-ast/typed-ast-1.0.4.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.1.0.exheres-0 b/packages/dev-python/typed-ast/typed-ast-1.1.0.exheres-0 deleted file mode 100644 index cb2738c5..00000000 --- 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" - From 26ccd7f40047742b220a1f351f0456a213962f89 Mon Sep 17 00:00:00 2001 From: Alexander Kapshuna Date: Sun, 4 Aug 2019 02:39:45 +0300 Subject: [PATCH 2/5] typed-ast: version bump to 1.4.0 --- ...ped-ast-1.3.1.exheres-0 => typed-ast-1.4.0.exheres-0} | 0 packages/dev-python/typed-ast/typed-ast.exlib | 9 ++++++--- 2 files changed, 6 insertions(+), 3 deletions(-) rename packages/dev-python/typed-ast/{typed-ast-1.3.1.exheres-0 => typed-ast-1.4.0.exheres-0} (100%) diff --git a/packages/dev-python/typed-ast/typed-ast-1.3.1.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.3.1.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 c5d5997f..479fca5c 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=" From 83ee22167099fb78d203635d079ae9c43ca9e20c Mon Sep 17 00:00:00 2001 From: Alexander Kapshuna Date: Sun, 4 Aug 2019 02:33:42 +0300 Subject: [PATCH 3/5] mypy_extensions: remove python_abi:3.4 --- .../mypy_extensions/mypy_extensions-0.4.1.exheres-0 | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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 b4a3baa9..3a50b047 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] ) " From ab19b51c47a8a09e58a06a18ef8ce25234dea814 Mon Sep 17 00:00:00 2001 From: Alexander Kapshuna Date: Sun, 4 Aug 2019 02:33:07 +0300 Subject: [PATCH 4/5] typing_extensions: add 3.7.4 --- .../typing_extensions-3.7.4.exheres-0 | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 packages/dev-python/typing_extensions/typing_extensions-3.7.4.exheres-0 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 00000000..9c9ffcde --- /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 +} + From 5987bdd5a6cfb349aed56a7e28e8827f2904cb68 Mon Sep 17 00:00:00 2001 From: Alexander Kapshuna Date: Sun, 4 Aug 2019 02:20:33 +0300 Subject: [PATCH 5/5] mypy: version bump to 0.720 --- ...y-0.670.exheres-0 => mypy-0.720.exheres-0} | 26 +++++++------------ 1 file changed, 10 insertions(+), 16 deletions(-) rename packages/dev-python/mypy/{mypy-0.670.exheres-0 => mypy-0.720.exheres-0} (68%) 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 8af79d28..c86991c5 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 }