From 89ce48819695a0184e529c6a0f6b58d10a2217fb Mon Sep 17 00:00:00 2001 From: psykose Date: Thu, 21 Jul 2022 20:33:02 +0000 Subject: [PATCH] community/py3-mypy: upgrade to 0.971 --- community/py3-mypy/APKBUILD | 17 ++++++----------- 1 file changed, 6 insertions(+), 11 deletions(-) diff --git a/community/py3-mypy/APKBUILD b/community/py3-mypy/APKBUILD index f205c96ac03..a8dd6765e46 100644 --- a/community/py3-mypy/APKBUILD +++ b/community/py3-mypy/APKBUILD @@ -1,10 +1,9 @@ # Contributor: Justin Berthault # Maintainer: Justin Berthault pkgname=py3-mypy -pkgver=0.961 +pkgver=0.971 pkgrel=0 pkgdesc="Optional static typing for Python (PEP484)" -options="!check" # Tests fail on builders, pass on CI url="https://mypy-lang.org/" arch="noarch" license="MIT" @@ -14,21 +13,17 @@ depends=" py3-typing-extensions " makedepends="python3-dev py3-setuptools" -checkdepends="py3-pytest py3-pytest-xdist py3-lxml py3-virtualenv" +checkdepends="py3-pytest py3-pytest-xdist py3-lxml py3-typed-ast py3-virtualenv" source="https://files.pythonhosted.org/packages/source/m/mypy/mypy-$pkgver.tar.gz" -builddir="$srcdir/"mypy-$pkgver +builddir="$srcdir/mypy-$pkgver" +options="!check" # they take forever build() { python3 setup.py build } check() { - rm -f \ - mypyc/test/test_analysis.py \ - mypyc/test/test_exceptions.py \ - mypyc/test/test_refcount.py \ - mypyc/test/test_run.py - py.test-3 -v + python3 -m pytest } package() { @@ -36,5 +31,5 @@ package() { } sha512sums=" -1056cf3c436f133c316604e837a9705fe12c4f7fa25ea4de396d8a6723b7a76be7ea04ceb6bcd05d62f013accb702601deb9ed8ea94bd0cdbb9cde5992178556 mypy-0.961.tar.gz +5f206f6682f659f461e5927f20a6786a94d8246441c0c480b6eeadb74e9517a2ece1780e91f18e6f23cd658cc4c9350f337e9f7d3cf26507a1debbca94a4e112 mypy-0.971.tar.gz " -- GitLab