void-packages/srcpkgs/python-enchant/template
2017-08-28 04:46:17 +02:00

33 lines
964 B
Bash

# Template file for 'python-enchant'
pkgname=python-enchant
version=1.6.11
revision=2
noarch=yes
wrksrc="pyenchant-${version}"
build_style=python-module
pycompile_module="enchant"
hostmakedepends="python-setuptools python3-setuptools enchant-devel"
depends="enchant"
short_desc="Spellchecking library for Python2"
maintainer="Andrea Brancaleoni <abc@pompel.me>"
license="LGPL-2.1"
homepage="https://github.com/rfk/pyenchant"
distfiles="${PYPI_SITE}/p/pyenchant/pyenchant-${version}.tar.gz"
checksum=27d3307aa3d3cd413c20eb1fd977446c133cae47d7329d8f846cd3d8ddae6278
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() {
noarch=yes
build_style=meta
short_desc="${short_desc/Python2/Python3.4} (transitional dummy package)"
depends="python3-enchant>=${version}_${revision}"
}