Date: Friday, March 10, 2023 @ 07:53:55
Author: polyzen
Revision: 1417202
upgpkg: python-sphinxcontrib-jquery 4.0.0-1
Modified:
python-sphinxcontrib-jquery/trunk/PKGBUILD
----------+
PKGBUILD | 16 +++++++++-------
1 file changed, 9 insertions(+), 7 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2023-03-10 06:15:48 UTC (rev 1417201)
+++ PKGBUILD 2023-03-10 07:53:55 UTC (rev 1417202)
@@ -2,8 +2,8 @@
_name=jquery
pkgname=python-sphinxcontrib-jquery
-pkgver=3.0.0
-pkgrel=2
+pkgver=4.0.0
+pkgrel=1
pkgdesc="Extension to include jQuery on newer Sphinx releases"
arch=('any')
url=https://github.com/sphinx-contrib/jquery
@@ -13,16 +13,18 @@
checkdepends=('python-pytest')
provides=("python-$_name")
replaces=("python-$_name")
-source=("$url/archive/v$pkgver/$_name-$pkgver.tar.gz")
-b2sums=('5b160fa1434b111683824442a0ecb0da230dba7f29161495859845282e1b6471faa256be6fffc2d34c6fc97e4e188bb1247284613bf65bf322fcb77463b6cf83')
+source=("$url/archive/v3.0.0/$_name-3.0.0.tar.gz"
+
'jquery-optional_SRI_checks.patch::https://github.com/sphinx-contrib/jquery/pull/14.patch')
+b2sums=('5b160fa1434b111683824442a0ecb0da230dba7f29161495859845282e1b6471faa256be6fffc2d34c6fc97e4e188bb1247284613bf65bf322fcb77463b6cf83'
+
'3e547eeefecb949e3678ce2966430e42c61426bf56951839609d12b76a86444f3369a1a2c531efe6189a1bdf3778e9bb73f3cc584f23fb3e32718f844d0b84ad')
build() {
- cd $_name-$pkgver
+ cd $_name-3.0.0
python -m build --wheel --skip-dependency-check --no-isolation
}
check() {
- cd $_name-$pkgver
+ cd $_name-3.0.0
python -m venv --system-site-packages test-env
test-env/bin/python -m installer dist/*.whl
test-env/bin/python -m pytest
@@ -29,7 +31,7 @@
}
package() {
- cd $_name-$pkgver
+ cd $_name-3.0.0
python -m installer --destdir="$pkgdir" dist/*.whl
install -Dm644 -t "$pkgdir"/usr/share/doc/$pkgname README.rst
install -Dm644 -t "$pkgdir"/usr/share/licenses/$pkgname LICENCE