mirror of
https://github.com/outbackdingo/ports.git
synced 2026-01-27 18:20:07 +00:00
16 lines
511 B
Plaintext
16 lines
511 B
Plaintext
# description : Internationalized Domain Names in Applications (IDNA)
|
|
# depends : python3-build python3-flit-core python3-installer
|
|
|
|
name=python3-idna
|
|
_name=${name#*-}
|
|
_n=${_name%${_name#?}}
|
|
version=3.6
|
|
release=1
|
|
source="$name-$version.tar.gz::https://files.pythonhosted.org/packages/source/$_n/${name#*-}/${name#*-}-$version.tar.gz"
|
|
|
|
build() {
|
|
cd ${name#*-}-$version
|
|
python3 -m build --wheel --skip-dependency-check --no-isolation
|
|
python3 -m installer --compile-bytecode 0 --destdir=$PKG dist/*.whl
|
|
}
|