python3-enchant: update to 3.1.1

This commit is contained in:
Đoàn Trần Công Danh 2020-08-12 21:37:41 +07:00
parent df444f7584
commit 1d95e7bdc1
4 changed files with 24 additions and 16 deletions

View file

@ -1,26 +1,15 @@
# Template file for 'python-enchant'
pkgname=python-enchant
version=2.0.0
revision=2
revision=3
archs=noarch
wrksrc="pyenchant-${version}"
build_style=python-module
pycompile_module="enchant"
hostmakedepends="python-setuptools python3-setuptools enchant-devel"
build_style=python2-module
hostmakedepends="python-setuptools enchant-devel"
depends="enchant"
short_desc="Spellchecking library for Python2"
short_desc="Spellchecking library for Python 3"
maintainer="Orphaned <orphan@voidlinux.org>"
license="LGPL-2.1"
homepage="https://github.com/rfk/pyenchant"
distfiles="${PYPI_SITE}/p/pyenchant/pyenchant-${version}.tar.gz"
checksum=fc31cda72ace001da8fe5d42f11c26e514a91fa8c70468739216ddd8de64e2a0
python3-enchant_package() {
archs=noarch
pycompile_module="enchant"
depends="enchant"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
}
}

View file

@ -1 +0,0 @@
python-enchant

View file

@ -0,0 +1,19 @@
# Template file for 'python3-enchant'
pkgname=python3-enchant
version=3.1.1
revision=1
archs=noarch
wrksrc="pyenchant-${version}"
build_style=python3-module
hostmakedepends="python3-setuptools enchant-devel"
depends="enchant"
short_desc="Spellchecking library for Python 3"
maintainer="Orphaned <orphan@voidlinux.org>"
license="LGPL-2.1"
homepage="https://github.com/rfk/pyenchant"
distfiles="${PYPI_SITE}/p/pyenchant/pyenchant-${version}.tar.gz"
checksum=ce0915d7acd771fde6e8c2dce8ad0cb0e6f7c4fa8430cc96e3e7134e99aeb12f
do_check() {
: GtkSpellCheckerDialog is Python 2 only, at least in my understand
}

View file

@ -0,0 +1 @@
pkgname=pyenchant