python-cairocffi: rebuild for Python 3.5
Switch to python3-* pkgs. Convert python3.4-* pkg into dummy pkg.
This commit is contained in:
parent
c29a048a35
commit
0ee4cc4199
2 changed files with 14 additions and 8 deletions
|
@ -1,12 +1,11 @@
|
||||||
# Template file for 'python-cairocffi'
|
# Template file for 'python-cairocffi'
|
||||||
pkgname=python-cairocffi
|
pkgname=python-cairocffi
|
||||||
version=0.7.2
|
version=0.7.2
|
||||||
revision=1
|
revision=2
|
||||||
noarch=yes
|
noarch=yes
|
||||||
wrksrc="cairocffi-${version}"
|
wrksrc="cairocffi-${version}"
|
||||||
build_style=python-module
|
build_style=python-module
|
||||||
python_versions="2.7 3.4"
|
hostmakedepends="python-setuptools python3-setuptools python-cffi python3-cffi"
|
||||||
hostmakedepends="python-setuptools python3.4-setuptools python-cffi python3.4-cffi"
|
|
||||||
depends="python-cffi"
|
depends="python-cffi"
|
||||||
pycompile_module="cairocffi"
|
pycompile_module="cairocffi"
|
||||||
short_desc="CFFI-based cairo bindings for Python2"
|
short_desc="CFFI-based cairo bindings for Python2"
|
||||||
|
@ -16,13 +15,19 @@ maintainer="Alessio Sergi <al3hex@gmail.com>"
|
||||||
distfiles="${PYPI_SITE}/c/cairocffi/cairocffi-${version}.tar.gz"
|
distfiles="${PYPI_SITE}/c/cairocffi/cairocffi-${version}.tar.gz"
|
||||||
checksum=e42b4256d27bd960cbf3b91a6c55d602defcdbc2a73f7317849c80279feeb975
|
checksum=e42b4256d27bd960cbf3b91a6c55d602defcdbc2a73f7317849c80279feeb975
|
||||||
|
|
||||||
python3.4-cairocffi_package() {
|
python3-cairocffi_package() {
|
||||||
noarch=yes
|
noarch=yes
|
||||||
depends="python3.4-cffi"
|
depends="python3-cffi"
|
||||||
pycompile_version="3.4"
|
|
||||||
pycompile_module="cairocffi"
|
pycompile_module="cairocffi"
|
||||||
short_desc="${short_desc/Python2/Python3.4}"
|
replaces="python3.4-cairocffi>=0"
|
||||||
|
short_desc="${short_desc/Python2/Python3}"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove usr/lib/python3.4
|
vmove usr/lib/python3*
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
python3.4-cairocffi_package() {
|
||||||
|
noarch=yes
|
||||||
|
build_style=meta
|
||||||
|
short_desc="${short_desc/Python2/Python3.4} (transitional dummy package)"
|
||||||
|
depends="python3-cairocffi>=${version}_${revision}"
|
||||||
|
}
|
||||||
|
|
1
srcpkgs/python3-cairocffi
Symbolic link
1
srcpkgs/python3-cairocffi
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
python-cairocffi
|
Loading…
Reference in a new issue