void-packages/srcpkgs/python-pycryptodome/template
2016-12-29 16:25:49 +01:00

31 lines
853 B
Bash

# Template file for 'python-pycryptodome'
pkgname=python-pycryptodome
version=3.4.3
revision=1
wrksrc="pycryptodome-${version}"
build_style=python-module
pycompile_module="pycryptodome"
hostmakedepends="python-setuptools python3-setuptools"
makedepends="python-devel python3-devel"
short_desc="PyCryptodome is a Python2 package of low-level cryptographic primitives"
maintainer="Wietse Kuipers <wietse@kuiprs.nl>"
homepage="http://www.pycryptodome.org/"
license="BSD"
distfiles="https://github.com/Legrandin/pycryptodome/archive/v${version}.tar.gz"
checksum=e10b7725deb6bcfc9500e5467ee68f68192bc4cbf5e89428eed73c3611fd6b24
pre_build() {
mkdir build
}
post_install() {
vlicense LICENSE.rst
}
python3-pycryptodome_package() {
pycompile_module="pycryptodome"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
}
}