cruxports/python3-pyicu/Pkgfile

18 lines
549 B
Plaintext
Raw Normal View History

2022-02-18 17:40:09 -05:00
# Description: python wrapper for the ICU C++ libraries
# URL: https://gitlab.pyicu.org/main/pyicu
# Maintainer: John McQuah, jmcquah at disroot dot org
2023-11-04 13:56:38 -04:00
# Depends on: python3-build icu
2022-02-18 17:40:09 -05:00
name=python3-pyicu
2023-11-04 13:56:38 -04:00
version=2.12
2022-02-18 17:40:09 -05:00
release=1
2023-11-04 13:56:38 -04:00
source=(https://gitlab.pyicu.org/main/pyicu/-/archive/v$version/pyicu-v$version.tar.gz)
2022-02-18 17:40:09 -05:00
build() {
2023-11-04 13:56:38 -04:00
cd ${name##python3-}-v$version
/usr/bin/python3 -m build
2022-02-18 17:40:09 -05:00
2023-11-04 13:56:38 -04:00
/usr/bin/pip3 install --no-deps --isolate --root=$PKG --ignore-installed .
rm -f $PKG/usr/lib/python*/site-packages/PyICU-*/{LICENSE,INSTALLER,REQUESTED}
2022-02-18 17:40:09 -05:00
}