2018-03-15 13:14:28 +01:00
|
|
|
# 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
|
|
|
|
|
|
|
|
name=python3-idna
|
2018-06-22 15:52:03 +02:00
|
|
|
version=2.7
|
2018-03-15 13:14:28 +01:00
|
|
|
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
|
2018-06-22 15:52:03 +02:00
|
|
|
|
|
|
|
find $PKG/usr/lib/python*/site-packages/ -type f\
|
|
|
|
-exec chmod -x+r '{}' \+
|
2018-03-15 13:14:28 +01:00
|
|
|
}
|