mirror of
https://github.com/void-linux/void-packages.git
synced 2025-08-02 10:52:57 +02:00
python-enchant: rebuild for Python 3.5
Switch to python3-* pkgs. Convert python3.4-* pkg into dummy pkg.
This commit is contained in:
parent
a054e59459
commit
975384290d
2 changed files with 13 additions and 7 deletions
|
@ -1,13 +1,12 @@
|
||||||
# Template file for 'python-enchant'
|
# Template file for 'python-enchant'
|
||||||
pkgname=python-enchant
|
pkgname=python-enchant
|
||||||
version=1.6.8
|
version=1.6.8
|
||||||
revision=1
|
revision=2
|
||||||
noarch=yes
|
noarch=yes
|
||||||
wrksrc="pyenchant-${version}"
|
wrksrc="pyenchant-${version}"
|
||||||
build_style=python-module
|
build_style=python-module
|
||||||
python_versions="2.7 3.4"
|
|
||||||
pycompile_module=enchant
|
pycompile_module=enchant
|
||||||
hostmakedepends="python-setuptools python3.4-setuptools enchant-devel"
|
hostmakedepends="python-setuptools python3-setuptools enchant-devel"
|
||||||
depends="enchant"
|
depends="enchant"
|
||||||
short_desc="Spellchecking library for Python2"
|
short_desc="Spellchecking library for Python2"
|
||||||
maintainer="Andrea Brancaleoni <miwaxe@gmail.com>"
|
maintainer="Andrea Brancaleoni <miwaxe@gmail.com>"
|
||||||
|
@ -16,13 +15,19 @@ homepage="https://github.com/rfk/pyenchant"
|
||||||
distfiles="${PYPI_SITE}/p/pyenchant/pyenchant-${version}.tar.gz"
|
distfiles="${PYPI_SITE}/p/pyenchant/pyenchant-${version}.tar.gz"
|
||||||
checksum=7ead2ee74f1a4fc2a7199b3d6012eaaaceea03fbcadcb5df67d2f9d0d51f050a
|
checksum=7ead2ee74f1a4fc2a7199b3d6012eaaaceea03fbcadcb5df67d2f9d0d51f050a
|
||||||
|
|
||||||
|
python3-enchant_package() {
|
||||||
|
noarch=yes
|
||||||
|
pycompile_module="enchant"
|
||||||
|
replaces="python3.4-enchant>=0"
|
||||||
|
depends="enchant"
|
||||||
|
short_desc="${short_desc/Python2/Python3}"
|
||||||
|
pkg_install() {
|
||||||
|
vmove usr/lib/python3*
|
||||||
|
}
|
||||||
|
}
|
||||||
python3.4-enchant_package() {
|
python3.4-enchant_package() {
|
||||||
noarch=yes
|
noarch=yes
|
||||||
pycompile_version="3.4"
|
build_style=meta
|
||||||
pycompile_module="enchant"
|
short_desc="${short_desc/Python2/Python3.4} (transitional dummy package)"
|
||||||
depends="enchant"
|
depends="python3-enchant>=${version}_${revision}"
|
||||||
short_desc="${short_desc/Python2/Python3.4}"
|
|
||||||
pkg_install() {
|
|
||||||
vmove usr/lib/python3.4
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
1
srcpkgs/python3-enchant
Symbolic link
1
srcpkgs/python3-enchant
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
python-enchant
|
Loading…
Add table
Reference in a new issue