forked from hasufell/hasufell-repository
Merge remote-tracking branch 'kapsh/mypy'
This commit is contained in:
commit
712c6622d6
@ -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
|
||||
}
|
@ -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] )
|
||||
"
|
||||
|
||||
|
@ -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>
|
||||
# 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="
|
||||
|
@ -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