mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-29 08:52:56 +02:00
python-crypto: rebuild for Python 3.5
Switch to python3-* pkgs. Convert python3.4-* pkg into dummy pkg.
This commit is contained in:
parent
ae4c95b450
commit
2c62bf53ba
2 changed files with 13 additions and 9 deletions
|
@ -1,12 +1,10 @@
|
||||||
# Template file for 'python-crypto'
|
# Template file for 'python-crypto'
|
||||||
pkgname=python-crypto
|
pkgname=python-crypto
|
||||||
version=2.6.1
|
version=2.6.1
|
||||||
revision=6
|
revision=7
|
||||||
wrksrc="pycrypto-${version}"
|
wrksrc="pycrypto-${version}"
|
||||||
replaces="pycrypto>=0"
|
|
||||||
build_style=python-module
|
build_style=python-module
|
||||||
python_versions="2.7 3.4"
|
hostmakedepends="python-devel python3-devel"
|
||||||
hostmakedepends="python-devel python3.4-devel"
|
|
||||||
makedepends="${hostmakedepends} gmp-devel"
|
makedepends="${hostmakedepends} gmp-devel"
|
||||||
depends="python"
|
depends="python"
|
||||||
pycompile_module="Crypto"
|
pycompile_module="Crypto"
|
||||||
|
@ -26,12 +24,17 @@ pre_build() {
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
python3.4-crypto_package() {
|
python3-crypto_package() {
|
||||||
depends="python3.4"
|
depends="python3"
|
||||||
pycompile_version="3.4"
|
|
||||||
pycompile_module="Crypto"
|
pycompile_module="Crypto"
|
||||||
short_desc="${short_desc/Python2/Python3.4}"
|
replaces="python3.4-crypto>=0"
|
||||||
|
short_desc="${short_desc/Python2/Python3}"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove usr/lib/python3.4
|
vmove usr/lib/python3*
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
python3.4-crypto_package() {
|
||||||
|
build_style=meta
|
||||||
|
short_desc="${short_desc/Python2/Python3.4} (transitional dummy package)"
|
||||||
|
depends="python3-crypto>=${version}_${revision}"
|
||||||
|
}
|
||||||
|
|
1
srcpkgs/python3-crypto
Symbolic link
1
srcpkgs/python3-crypto
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
python-crypto
|
Loading…
Add table
Reference in a new issue