mirror of
https://github.com/outbackdingo/ports.git
synced 2026-01-28 02:20:05 +00:00
16 lines
381 B
Plaintext
16 lines
381 B
Plaintext
# 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
|
|
}
|