# description : Cryptographic library for Python (python2) # depends : python2 name=python2-pycryptodome _name=${name#*-} _n=${_name%${_name#?}} version=3.15.0 release=1 source="https://files.pythonhosted.org/packages/source/$_n/${name#*-}/${name#*-}-$version.tar.gz" build() { cd ${name#*-}-$version python2 setup.py build python2 setup.py install --root=$PKG --optimize=1 }