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