29 lines
871 B
Plaintext

# Contributor: Justin Berthault <justin.berthault@zaclys.net>
# Maintainer: Justin Berthault <justin.berthault@zaclys.net>
pkgname=py3-mypy-extensions
pkgver=0.4.3
pkgrel=2
pkgdesc="Experimental type system extensions for mypy typechecker"
url="http://www.mypy-lang.org/"
arch="noarch"
license="MIT"
depends="python3"
makedepends="py3-setuptools"
# tests are not packaged on PyPI so use GitHub
source="$pkgname-$pkgver.tar.gz::https://github.com/python/mypy_extensions/archive/$pkgver.tar.gz"
builddir="$srcdir/"mypy_extensions-$pkgver
build() {
python3 setup.py build
}
check() {
python3 -m unittest discover tests
}
package() {
python3 setup.py install --prefix=/usr --root="$pkgdir"
}
sha512sums="22d8dc538cf6f77d97f4113dd34fce8095dd98944c7613fab2b3e71a3e9b7df1374654af41ead5c934f789ef1b72f54d980ab06f3ca28b8b4c6bb14ba1ca3ce2 py3-mypy-extensions-0.4.3.tar.gz"