summaryrefslogtreecommitdiff
path: root/user/py3-docutils/APKBUILD
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2022-11-28 00:05:04 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2022-11-28 00:06:01 +0000
commit7c891f1b68cdae9c34133c93c2b4b3a600b1c148 (patch)
treed8533d3acec57a2763eae4d6987b01e36b7d9b03 /user/py3-docutils/APKBUILD
parent5b5c5dc82d40efa231b4a2403dfcd154311e0baf (diff)
downloadpackages-7c891f1b68cdae9c34133c93c2b4b3a600b1c148.tar.gz
packages-7c891f1b68cdae9c34133c93c2b4b3a600b1c148.tar.bz2
packages-7c891f1b68cdae9c34133c93c2b4b3a600b1c148.tar.xz
packages-7c891f1b68cdae9c34133c93c2b4b3a600b1c148.zip
user/py3-docutils: Fix test suite for 3.11 compat
Backport of https://sourceforge.net/p/docutils/code/8909 and 8910. Fixes: #892
Diffstat (limited to 'user/py3-docutils/APKBUILD')
-rw-r--r--user/py3-docutils/APKBUILD7
1 files changed, 5 insertions, 2 deletions
diff --git a/user/py3-docutils/APKBUILD b/user/py3-docutils/APKBUILD
index 7dc54af91..34006c824 100644
--- a/user/py3-docutils/APKBUILD
+++ b/user/py3-docutils/APKBUILD
@@ -14,7 +14,9 @@ license="Custom"
depends="python3 py3-pillow"
makedepends="python3-dev"
subpackages="$pkgname-doc"
-source="$pkgname-$pkgver.tar.gz::https://files.pythonhosted.org/packages/source/$_p/$_pkgname/$_pkgname-$pkgver.tar.gz"
+source="$pkgname-$pkgver.tar.gz::https://files.pythonhosted.org/packages/source/$_p/$_pkgname/$_pkgname-$pkgver.tar.gz
+ py311-test.patch
+ "
builddir="$srcdir/$_pkgname-$pkgver"
build() {
@@ -49,4 +51,5 @@ doc() {
cp "$builddir"/licenses/* "$licdir"
}
-sha512sums="5ec2087116bd5356fdffc54f07f6b0355aac5fa9d6caeefa77e8d201fd4706c0d419193c4d9a3964ae493da3091fe2c7dc36b74f81a1e1b9282173658b06e71b py3-docutils-0.17.1.tar.gz"
+sha512sums="5ec2087116bd5356fdffc54f07f6b0355aac5fa9d6caeefa77e8d201fd4706c0d419193c4d9a3964ae493da3091fe2c7dc36b74f81a1e1b9282173658b06e71b py3-docutils-0.17.1.tar.gz
+9842be1028d6430c74ba2537eeee151eff459bac52b04934a165cc9776d9a6ad4e602b97d556b337a8f38d46f181878dd325565afb259b481abc3b7648d897ac py311-test.patch"