void-packages/srcpkgs/python-enchant/template
Alessio Sergi 217e7d31f2 srcpkgs: remove python3.4-* transitional dummy packages
After more than a year the switch to python3 packages, it is time to say
them goodbye. So long, and thanks for all the fish.
2017-12-20 11:29:51 +01:00

26 lines
742 B
Bash

# Template file for 'python-enchant'
pkgname=python-enchant
version=2.0.0
revision=1
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=fc31cda72ace001da8fe5d42f11c26e514a91fa8c70468739216ddd8de64e2a0
python3-enchant_package() {
noarch=yes
pycompile_module="enchant"
depends="enchant"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
}
}