aboutsummaryrefslogtreecommitdiffstats
path: root/community/py3-typing-extensions/APKBUILD
blob: af2df3aed6e13cef854d0515497f4a939b072430 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Contributor: Leo <thinkabit.ukim@gmail.com>
# Maintainer: Leo <thinkabit.ukim@gmail.com>
pkgname=py3-typing-extensions
pkgver=3.7.4.2
pkgrel=0
pkgdesc="Backported and Experimental Type Hints for Python 3.5+"
url="https://github.com/python/typing/blob/master/typing_extensions/README.rst"
arch="noarch"
license="Python-2.0"
depends="python3"
makedepends="py3-setuptools"
source="https://files.pythonhosted.org/packages/source/t/typing_extensions/typing_extensions-$pkgver.tar.gz"
builddir="$srcdir/typing_extensions-$pkgver"

build() {
	python3 setup.py build
}

check() {
	python3 -m unittest src_py3
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="7a74c4a97d8cda3e56830c92b409235ffbe7cf0c1685b7fefa7a275a0abf21937622d12c25b4163b4927f6269ed689cbd30f95990ad0b7d2d4341ed648516819  typing_extensions-3.7.4.2.tar.gz"