21 lines
658 B
Plaintext
21 lines
658 B
Plaintext
# Description: FrozenList is a list-like structure which can be made immutable
|
|
# URL: https://github.com/aio-libs/frozenlist
|
|
# Maintainer: Tim Biermann, tbier at posteo dot de
|
|
# Depends on: python3-cython python3-expandvars
|
|
|
|
name=python3-frozenlist
|
|
version=1.4.1
|
|
release=1
|
|
source=(https://github.com/aio-libs/frozenlist/archive/v$version/frozenlist-$version.tar.gz)
|
|
|
|
build() {
|
|
cd frozenlist-$version
|
|
sed -e 's|.install-cython ||' \
|
|
-e '13s|cython|cython3|g' \
|
|
-i Makefile
|
|
make cythonize
|
|
|
|
/usr/bin/python3 -m build --wheel --skip-dependency-check --no-isolation
|
|
/usr/bin/python3 -m installer --compile-bytecode 2 --destdir=$PKG dist/*.whl
|
|
}
|