20 lines
587 B
Plaintext
20 lines
587 B
Plaintext
# Description: Backported and Experimental Type Hints for Python 3.5+
|
|
# URL: https://github.com/python/typing/tree/master/typing_extensions
|
|
# Maintainer: Tim Biermann, tbier at posteo dot de
|
|
# Depends on: python3-setuptools
|
|
|
|
name=python3-typing_extensions
|
|
version=3.10.0.0
|
|
release=1
|
|
source=(https://github.com/python/typing/archive/$version/$name-$version.tar.gz)
|
|
|
|
build() {
|
|
cd typing-$version/typing_extensions
|
|
sed 's/3.7.4.2/3.7.4.3/g' -i setup.py
|
|
/usr/bin/python3 setup.py build
|
|
/usr/bin/python3 setup.py install --prefix=/usr \
|
|
--root=$PKG \
|
|
-O1 \
|
|
--skip-build
|
|
}
|