mirror of
https://github.com/void-linux/void-packages.git
synced 2025-09-23 12:15:11 +02:00
New package: python-pynacl-1.1.2
This commit is contained in:
parent
76bb81a092
commit
9139850a27
2 changed files with 28 additions and 0 deletions
27
srcpkgs/python-pynacl/template
Normal file
27
srcpkgs/python-pynacl/template
Normal file
|
@ -0,0 +1,27 @@
|
||||||
|
# Template file for 'python-pynacl'
|
||||||
|
pkgname=python-pynacl
|
||||||
|
version=1.1.2
|
||||||
|
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=32f52b754abf07c319c04ce16905109cab44b0e7f7c79497431d3b2000f8af8c
|
||||||
|
|
||||||
|
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*
|
||||||
|
}
|
||||||
|
}
|
1
srcpkgs/python3-pynacl
Symbolic link
1
srcpkgs/python3-pynacl
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
python-pynacl
|
Loading…
Add table
Reference in a new issue