summaryrefslogtreecommitdiff
path: root/python3-frozenlist/Pkgfile
blob: 0f4c3111d7e9bafc308e0ef6a64e518855ba1f75 (plain)
    1 # Description: FrozenList is a list-like structure which can be made immutable
    2 # URL: https://github.com/aio-libs/frozenlist
    3 # Maintainer: Tim Biermann, tbier at posteo dot de
    4 # Depends on: python3-cython
    5 
    6 name=python3-frozenlist
    7 version=1.3.3
    8 release=1
    9 source=(https://github.com/aio-libs/frozenlist/archive/v$version/frozenlist-$version.tar.gz)
   10 
   11 build() {
   12   cd frozenlist-$version
   13   sed -e 's|.install-cython ||' \
   14     -e '13s|cython|cython3|g' \
   15     -i Makefile
   16   make cythonize
   17   /usr/bin/python3 setup.py build
   18   /usr/bin/python3 setup.py install --root=$PKG \
   19     --optimize=1 \
   20     --skip-build
   21 }

Generated by cgit