27 lines
887 B
Bash
27 lines
887 B
Bash
# Template file for 'python-pynacl'
|
|
pkgname=python-pynacl
|
|
version=1.2.0
|
|
revision=1
|
|
wrksrc="PyNaCl-${version}"
|
|
build_style=python-module
|
|
pycompile_module="nacl"
|
|
hostmakedepends="python-setuptools python3-setuptools python-cffi python3-cffi"
|
|
makedepends="python-devel python3-devel python-cffi python3-cffi libsodium-devel"
|
|
depends="python-cffi python-six"
|
|
short_desc="Python2 binding to the Networking and Cryptography (NaCl) library"
|
|
maintainer="Alessio Sergi <al3hex@gmail.com>"
|
|
homepage="https://github.com/pyca/pynacl/"
|
|
license="Apache-2.0"
|
|
distfiles="${PYPI_SITE}/P/PyNaCl/PyNaCl-${version}.tar.gz"
|
|
checksum=45c5bcdf8ddefe2e9381f5d37fe778bbda6991fe7004e0b1ea3570df2fc07207
|
|
|
|
export SODIUM_INSTALL=system
|
|
|
|
python3-pynacl_package() {
|
|
pycompile_module="nacl"
|
|
depends="python3-cffi python3-six"
|
|
short_desc="${short_desc/Python2/Python3}"
|
|
pkg_install() {
|
|
vmove usr/lib/python3*
|
|
}
|
|
}
|