void-packages/srcpkgs/python-pycryptodome/template

32 lines
853 B
Bash
Raw Normal View History

2016-12-29 15:25:49 +00:00
# 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*
}
}