summaryrefslogtreecommitdiff
path: root/python3-typing_extensions/Pkgfile
blob: 49efed1c547a37a6bcdcaa895276554ee5589166 (plain)
    1 # Description: Backported and Experimental Type Hints for Python 3.5+
    2 # URL: https://github.com/python/typing/tree/master/typing_extensions
    3 # Maintainer: Tim Biermann, tbier at posteo dot de
    4 # Depends on: python3-build python3-install
    5 # Optional: python3-flit-core
    6 
    7 name=python3-typing_extensions
    8 version=4.2.0
    9 release=1
   10 source=(https://github.com/python/typing/archive/$version/$name-$version.tar.gz)
   11 
   12 build() {
   13   cd typing-$version/typing_extensions
   14 
   15   if prt-get isinst python3-flit-core; then
   16     /usr/bin/python3 -m build --wheel --skip-dependency-check --no-isolation
   17     /usr/bin/python3 -m install --optimize=1 --destdir=$PKG dist/*.whl
   18   else
   19     /usr/bin/pip3 install --isolate --root=$PKG --ignore-installed --no-deps typing_extensions
   20   fi
   21 }

Generated by cgit