blob: 5a330b6cb710c6fe50e5ac21fd9391bdeca5c359 (
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.1
pkgrel=2
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="$pkgname-$pkgver.tar.gz::https://github.com/python/typing/archive/3.7.4.1.tar.gz"
builddir="$srcdir/typing-$pkgver/typing_extensions"
build() {
python3 setup.py build
}
check() {
python3 -m unittest src_py3
}
package() {
python3 setup.py install --prefix=/usr --root="$pkgdir"
}
sha512sums="e6e0e415338bb24e3a00c936cb9c316efe9d75799a2d46393074ddfbf65e1554a6eb9a1a5f2e4d946d09c373902105027ba38a8f25f75b262314eb6a2594317b py3-typing-extensions-3.7.4.1.tar.gz"
|