forked from hasufell/hasufell-repository
Merge remote-tracking branch 'kapsh/mypy'
This commit is contained in:
commit
712c6622d6
@ -23,35 +23,29 @@ MYOPTIONS=""
|
|||||||
|
|
||||||
DEPENDENCIES="
|
DEPENDENCIES="
|
||||||
build+run:
|
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:*(-)?]
|
dev-python/mypy_extensions[>=0.4.0&<0.5.0][python_abis:*(-)?]
|
||||||
python_abis:3.4? (
|
dev-python/typing_extensions[>=3.7.4][python_abis:*(-)?]
|
||||||
dev-python/typing[>=3.5.3][python_abis:3.4]
|
|
||||||
)
|
|
||||||
test:
|
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/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-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:*(-)?]
|
dev-python/virtualenv[python_abis:*(-)?]
|
||||||
suggestion:
|
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' ] ]]
|
description = [ Show memory stats in 'dmypy status -v' ] ]]
|
||||||
"
|
"
|
||||||
|
|
||||||
BUGS_TO="hasufell@posteo.de"
|
BUGS_TO="hasufell@posteo.de"
|
||||||
|
|
||||||
# Require unpackaged: flake8-bugbear, flake8-pyi
|
# Require unpackaged: flake8-bugbear, flake8-pyi, pytest 4.4+
|
||||||
RESTRICT="test"
|
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() {
|
test_one_multibuild() {
|
||||||
PYTHONPATH="${PWD}" edo ${PYTHON} -B runtests.py -x lint
|
PYTHONPATH="${PWD}" edo ${PYTHON} -B runtests.py -x lint
|
||||||
}
|
}
|
@ -7,11 +7,9 @@ SUMMARY="Experimental type system extensions for programs checked with the mypy
|
|||||||
|
|
||||||
LICENCES="MIT"
|
LICENCES="MIT"
|
||||||
SLOT="0"
|
SLOT="0"
|
||||||
PLATFORMS="~amd64"
|
PLATFORMS="~amd64 ~x86"
|
||||||
MYOPTIONS=""
|
MYOPTIONS=""
|
||||||
|
|
||||||
DEPENDENCIES="
|
DEPENDENCIES="
|
||||||
build+run:
|
|
||||||
python_abis:3.4? ( dev-python/typing[>=3.5.3][python_abis:3.4] )
|
|
||||||
"
|
"
|
||||||
|
|
||||||
|
@ -1,7 +0,0 @@
|
|||||||
# Copyright 2017 Julian Ospald <hasufell@posteo.de>
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
require typed-ast
|
|
||||||
|
|
||||||
PLATFORMS="~amd64 ~x86"
|
|
||||||
|
|
@ -1,7 +0,0 @@
|
|||||||
# Copyright 2017 Julian Ospald <hasufell@posteo.de>
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
require typed-ast
|
|
||||||
|
|
||||||
PLATFORMS="~amd64 ~x86"
|
|
||||||
|
|
@ -1,9 +1,12 @@
|
|||||||
# Copyright 2017 Julian Ospald <hasufell@posteo.de>
|
# Copyright 2017 Julian Ospald <hasufell@posteo.de>
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
require github [ user="python" project="typed_ast" ]
|
MY_PN="typed_ast"
|
||||||
require pypi
|
MY_PNV="${MY_PN}-${PV}"
|
||||||
require setup-py [ import=setuptools blacklist=2 ]
|
|
||||||
|
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"
|
SUMMARY="A fork of Python 2 and 3 ast modules with type comment support"
|
||||||
DESCRIPTION="
|
DESCRIPTION="
|
||||||
|
@ -0,0 +1,20 @@
|
|||||||
|
# Copyright 2019 Alexander Kapshuna <kapsh@kap.sh>
|
||||||
|
# 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
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user