New package: python-pycrytodome-3.4.3

This commit is contained in:
Wietse Kuipers 2016-12-29 16:25:49 +01:00
parent 692222f06c
commit 6decd312d4
2 changed files with 32 additions and 0 deletions

View file

@ -0,0 +1,31 @@
# 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*
}
}

View file

@ -0,0 +1 @@
python-pycryptodome/