forked from ports/contrib
25 lines
734 B
Plaintext
25 lines
734 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
|
|
#python3-pyproject2setuppy
|
|
|
|
name=python3-typing_extensions
|
|
version=3.10.0.2
|
|
release=1
|
|
source=(https://github.com/python/typing/archive/$version/$name-$version.tar.gz)
|
|
|
|
build() {
|
|
cd typing-$version/typing_extensions
|
|
|
|
/usr/bin/python3 setup.py build
|
|
/usr/bin/python3 setup.py install --root=$PKG \
|
|
--optimize=1 \
|
|
--skip-build
|
|
#/usr/bin/python3 -m pyproject2setuppy.main build
|
|
#/usr/bin/python3 -m pyproject2setuppy.main install --prefix=/usr \
|
|
# --root=$PKG \
|
|
# -O1 \
|
|
# --skip-build
|
|
}
|