aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorptrcnull <git@ptrcnull.me>2023-11-09 01:15:10 +0100
committerptrcnull <git@ptrcnull.me>2023-11-09 01:15:26 +0100
commitb9794696f5ab08fd3499648e548d1b5e7e155c84 (patch)
treedf787a9ad377357cd5b8e9767c6551304fa5d266
parent691fb975e7cbffc89888625df05ee81e01752ba6 (diff)
community/py3-enchant: disable PWL tests
-rw-r--r--community/py3-enchant/APKBUILD10
1 files changed, 9 insertions, 1 deletions
diff --git a/community/py3-enchant/APKBUILD b/community/py3-enchant/APKBUILD
index b7a2b2139ca..af9b61b39cb 100644
--- a/community/py3-enchant/APKBUILD
+++ b/community/py3-enchant/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py3-enchant
pkgver=3.2.2
-pkgrel=2
+pkgrel=3
pkgdesc="Spellchecking library for Python"
url="https://github.com/pyenchant/pyenchant"
arch="noarch"
@@ -19,6 +19,14 @@ builddir="$srcdir"/pyenchant-$pkgver
replaces="py-enchant" # Backwards compatibility
provides="py-enchant=$pkgver-r$pkgrel" # Backwards compatibility
+prepare() {
+ default_prepare
+
+ # PWL was removed in Enchant2 2.5.0
+ # https://github.com/pyenchant/pyenchant/issues/313
+ rm tests/test_pwl.py
+}
+
build() {
python3 setup.py build
}