aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py3-mypy/APKBUILD
diff options
context:
space:
mode:
authorJustin Berthault <justin.berthault@zaclys.net>2020-05-20 14:22:07 +0200
committerLeo <thinkabit.ukim@gmail.com>2020-05-21 07:46:25 +0000
commit98b324e9a2170e218932316000b4d8b5c8c77b08 (patch)
tree9f0ffab3cbec01f5ccac12174e3079c7f3a0a981 /testing/py3-mypy/APKBUILD
parent05d4555e03501b1da5f18fa0e4fb34d67126a253 (diff)
downloadaports-98b324e9a2170e218932316000b4d8b5c8c77b08.tar.gz
aports-98b324e9a2170e218932316000b4d8b5c8c77b08.tar.bz2
aports-98b324e9a2170e218932316000b4d8b5c8c77b08.tar.xz
testing/py3-mypy: new aport
https://www.mypy-lang.org/ Optional static typing for Python (PEP484)
Diffstat (limited to 'testing/py3-mypy/APKBUILD')
-rw-r--r--testing/py3-mypy/APKBUILD28
1 files changed, 28 insertions, 0 deletions
diff --git a/testing/py3-mypy/APKBUILD b/testing/py3-mypy/APKBUILD
new file mode 100644
index 0000000000..85dc694876
--- /dev/null
+++ b/testing/py3-mypy/APKBUILD
@@ -0,0 +1,28 @@
+# Contributor: Justin Berthault <justin.berthault@zaclys.net>
+# Maintainer: Justin Berthault <justin.berthault@zaclys.net>
+pkgname=py3-mypy
+pkgver=0.770
+pkgrel=0
+pkgdesc="Optional static typing for Python (PEP484)"
+url="https://www.mypy-lang.org/"
+arch="noarch"
+license="MIT"
+depends="py3-mypy-extensions py3-typing-extensions py3-typed-ast"
+makedepends="python3-dev py3-setuptools"
+checkdepends="py3-tox"
+source="https://files.pythonhosted.org/packages/source/m/mypy/mypy-$pkgver.tar.gz"
+builddir="$srcdir/"mypy-$pkgver
+
+build() {
+ python3 setup.py build
+}
+
+check() {
+ tox
+}
+
+package() {
+ python3 setup.py install --prefix=/usr --root="$pkgdir"
+}
+
+sha512sums="0137a2a68f89a05b27afd3e579f54bf7607494ffe6870aec7711c16f4d8737fffea5b2eb617ca6077906dcfdea557cc1407442f5da811974098b3fb934e59bd7 mypy-0.770.tar.gz"