17 lines
559 B
Plaintext
17 lines
559 B
Plaintext
# Description: Internationalized Domain Names in Applications (IDNA).
|
|
# URL: https://github.com/kjd/idna
|
|
# Maintainer: Danny Rawlins, crux at romster dot me
|
|
# Depends on: python3-setuptools
|
|
|
|
## don't bump this to 3.x until "python3-requests idna<3,>=2.5" gets updated
|
|
name=python3-idna
|
|
version=2.10
|
|
release=1
|
|
source=(https://files.pythonhosted.org/packages/source/${name:8:1}/${name#*-}/${name#*-}-$version.tar.gz)
|
|
|
|
build() {
|
|
cd ${name#*-}-$version
|
|
/usr/bin/python3 setup.py build
|
|
/usr/bin/python3 setup.py install --prefix=/usr --root=$PKG --optimize=1
|
|
}
|