29 lines
801 B
Bash
29 lines
801 B
Bash
# Template file for 'python-enchant'
|
|
pkgname=python-enchant
|
|
version=1.6.8
|
|
revision=1
|
|
noarch=yes
|
|
wrksrc="pyenchant-${version}"
|
|
build_style=python-module
|
|
python_versions="2.7 3.4"
|
|
pycompile_module=enchant
|
|
hostmakedepends="python-setuptools python3.4-setuptools enchant-devel"
|
|
depends="enchant"
|
|
short_desc="Spellchecking library for Python2"
|
|
maintainer="Andrea Brancaleoni <miwaxe@gmail.com>"
|
|
license="LGPL-2.1"
|
|
homepage="https://github.com/rfk/pyenchant"
|
|
distfiles="${PYPI_SITE}/p/pyenchant/pyenchant-${version}.tar.gz"
|
|
checksum=7ead2ee74f1a4fc2a7199b3d6012eaaaceea03fbcadcb5df67d2f9d0d51f050a
|
|
|
|
python3.4-enchant_package() {
|
|
noarch=yes
|
|
pycompile_version="3.4"
|
|
pycompile_module="enchant"
|
|
depends="enchant"
|
|
short_desc="${short_desc/Python2/Python3.4}"
|
|
pkg_install() {
|
|
vmove usr/lib/python3.4
|
|
}
|
|
}
|