python-cffi: rebuild for Python 3.5
Switch to python3-* pkgs. Convert python3.4-* pkg into dummy pkg.
This commit is contained in:
parent
98edb477c0
commit
7f3d02587b
|
@ -1,12 +1,11 @@
|
||||||
# Template file for 'python-cffi'
|
# Template file for 'python-cffi'
|
||||||
pkgname=python-cffi
|
pkgname=python-cffi
|
||||||
version=1.8.3
|
version=1.8.3
|
||||||
revision=1
|
revision=2
|
||||||
wrksrc="cffi-${version}"
|
wrksrc="cffi-${version}"
|
||||||
build_style=python-module
|
build_style=python-module
|
||||||
python_versions="2.7 3.4"
|
hostmakedepends="python-setuptools python3-setuptools libffi-devel"
|
||||||
hostmakedepends="python-setuptools python3.4-setuptools libffi-devel"
|
makedepends="python-devel python3-devel libffi-devel"
|
||||||
makedepends="python-devel python3.4-devel libffi-devel"
|
|
||||||
depends="python-pycparser"
|
depends="python-pycparser"
|
||||||
pycompile_module="cffi"
|
pycompile_module="cffi"
|
||||||
short_desc="C foreign function interface for Python2"
|
short_desc="C foreign function interface for Python2"
|
||||||
|
@ -20,13 +19,18 @@ post_install() {
|
||||||
vlicense LICENSE
|
vlicense LICENSE
|
||||||
}
|
}
|
||||||
|
|
||||||
python3.4-cffi_package() {
|
python3-cffi_package() {
|
||||||
depends="python3.4-pycparser"
|
depends="python3-pycparser"
|
||||||
pycompile_version="3.4"
|
|
||||||
pycompile_module="cffi"
|
pycompile_module="cffi"
|
||||||
short_desc="${short_desc/Python2/Python3.4}"
|
replaces="python3.4-cffi>=0"
|
||||||
|
short_desc="${short_desc/Python2/Python3}"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove usr/lib/python3.4
|
vmove usr/lib/python3*
|
||||||
vlicense LICENSE
|
vlicense LICENSE
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
python3.4-cffi_package() {
|
||||||
|
build_style=meta
|
||||||
|
short_desc="${short_desc/Python2/Python3.4} (transitional dummy package)"
|
||||||
|
depends="python3-cffi>=${version}_${revision}"
|
||||||
|
}
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
python-cffi
|
Loading…
Reference in New Issue