python3-enchant: replace enchant with enchant2
By ericonr: - switch to GH distfiles, which include tests - fix tests Closes: #27716 [via git-merge-pr]
This commit is contained in:
parent
975d623508
commit
972a5d40bf
@ -1,18 +1,16 @@
|
||||
# Template file for 'python3-enchant'
|
||||
pkgname=python3-enchant
|
||||
version=3.1.1
|
||||
revision=2
|
||||
revision=3
|
||||
wrksrc="pyenchant-${version}"
|
||||
build_style=python3-module
|
||||
hostmakedepends="python3-setuptools enchant-devel"
|
||||
depends="enchant"
|
||||
hostmakedepends="python3-setuptools enchant2-devel"
|
||||
depends="enchant2"
|
||||
# needs an en_US dict to run
|
||||
checkdepends="$depends python3-pytest python3-pytest-cov hunspell-en_US"
|
||||
short_desc="Spellchecking library for Python 3"
|
||||
maintainer="Orphaned <orphan@voidlinux.org>"
|
||||
license="LGPL-2.1"
|
||||
license="LGPL-2.1-only"
|
||||
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
|
||||
}
|
||||
distfiles="https://github.com/pyenchant/pyenchant/archive/v${version}.tar.gz"
|
||||
checksum=ced3a776116e63ed7e496401ed23ac4ba52ac7942cd808492e8e654b27dccacd
|
||||
|
Loading…
x
Reference in New Issue
Block a user