python-M2Crypto: add python3 flavor
This commit is contained in:
parent
f4f4648cd5
commit
bfa0c48625
|
@ -1,14 +1,14 @@
|
|||
# Template file for 'python-M2Crypto'
|
||||
pkgname=python-M2Crypto
|
||||
version=0.29.0
|
||||
revision=1
|
||||
revision=2
|
||||
wrksrc="M2Crypto-${version}"
|
||||
build_style=python2-module
|
||||
build_style=python-module
|
||||
pycompile_module="M2Crypto"
|
||||
hostmakedepends="python-setuptools swig libressl-devel"
|
||||
makedepends="libressl-devel python-devel"
|
||||
hostmakedepends="python-setuptools python3-setuptools swig libressl-devel"
|
||||
makedepends="libressl-devel python-devel python3-devel"
|
||||
depends="python-typing"
|
||||
short_desc="Python crypto and SSL toolkit"
|
||||
short_desc="Python2 crypto and SSL toolkit"
|
||||
maintainer="Andrea Brancaleoni <abc@pompel.me>"
|
||||
license="MIT"
|
||||
homepage="https://gitlab.com/m2crypto/m2crypto/"
|
||||
|
@ -23,3 +23,12 @@ pre_configure() {
|
|||
post_install() {
|
||||
vlicense LICENCE
|
||||
}
|
||||
|
||||
python3-M2Crypto_package() {
|
||||
pycompile_module="M2Crypto"
|
||||
short_desc="${short_desc/Python2/Python3}"
|
||||
pkg_install() {
|
||||
vmove usr/lib/python3*
|
||||
vlicense LICENCE
|
||||
}
|
||||
}
|
||||
|
|
1
srcpkgs/python3-M2Crypto
Symbolic link
1
srcpkgs/python3-M2Crypto
Symbolic link
|
@ -0,0 +1 @@
|
|||
python-M2Crypto
|
Loading…
Reference in New Issue
Block a user