[arch-commits] Commit in python-sphinxcontrib-htmlhelp/trunk (PKGBUILD)
Daniel M. Capella
polyzen at gemini.archlinux.org
Tue Sep 6 20:16:08 UTC 2022
Date: Tuesday, September 6, 2022 @ 20:16:08
Author: polyzen
Revision: 1294879
upgpkg: python-sphinxcontrib-htmlhelp 2.0.0-5: Use PEP 517
Modified:
python-sphinxcontrib-htmlhelp/trunk/PKGBUILD
----------+
PKGBUILD | 20 ++++++++++++++------
1 file changed, 14 insertions(+), 6 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2022-09-06 20:15:51 UTC (rev 1294878)
+++ PKGBUILD 2022-09-06 20:16:08 UTC (rev 1294879)
@@ -3,7 +3,7 @@
_name=sphinxcontrib-htmlhelp
pkgname=python-sphinxcontrib-htmlhelp
pkgver=2.0.0
-pkgrel=4
+pkgrel=5
pkgdesc='Sphinx extension which renders HTML help files'
arch=('any')
url=https://github.com/sphinx-doc/sphinxcontrib-htmlhelp
@@ -11,10 +11,19 @@
makedepends=('python-build' 'python-installer' 'python-setuptools'
'python-wheel')
checkdepends=('python-html5lib' 'python-pytest' 'python-sphinx')
-source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz")
-sha256sums=('f5f8bb2d0d629f398bf47d0d69c07bc13b65f75a81ad9e2f71a63d4b7a2f6db2')
-b2sums=('09b0d9bcec57140278c4476fa0bbc40d359fc167d8ea891a1585fbdeafe6eb0b52442dbbc8d1d5b6edb3953b04fc29a71f6f74e58a281ebb0d79e5a30cb02749')
+source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz"
+ 'htmlhelp-read_txt.patch::https://github.com/sphinx-doc/sphinxcontrib-htmlhelp/commit/248ff52b3c3d39c20cdaef3052ac7507a407733a.patch')
+sha256sums=('f5f8bb2d0d629f398bf47d0d69c07bc13b65f75a81ad9e2f71a63d4b7a2f6db2'
+ '064d99933b5b922181f7a6f89f745d32c7d7ae7f8cd864e9dca76c76b56e106a')
+b2sums=('09b0d9bcec57140278c4476fa0bbc40d359fc167d8ea891a1585fbdeafe6eb0b52442dbbc8d1d5b6edb3953b04fc29a71f6f74e58a281ebb0d79e5a30cb02749'
+ 'a82d788549acacbcd3a5b056fea76c7f1dfe9a0ca3b367c0f456cbe32d394e21a07766e407311dd3b62b49fb7cec94a05fe26780ab2ec615e23bc9c255bba0ce')
+prepare() {
+ cd $_name-$pkgver
+ # https://github.com/sphinx-doc/sphinxcontrib-htmlhelp/pull/16
+ patch --forward --strip=1 --input=../htmlhelp-read_txt.patch
+}
+
build() {
cd $_name-$pkgver
python -m build --wheel --skip-dependency-check --no-isolation
@@ -22,8 +31,7 @@
check() {
cd $_name-$pkgver
- # Deselect tests that have begun to fail at some point
- pytest -k 'not test_build_htmlhelp and not test_htmlhelp_hhc'
+ pytest
}
package() {
More information about the arch-commits
mailing list