David Runge pushed to branch main at Arch Linux / Packaging / Packages / 
python-sphinxcontrib-jquery


Commits:
557f836b by David Runge at 2024-04-04T10:44:50+02:00
Switch to correct SPDX license identifier

Signed-off-by: David Runge <[email protected]>

- - - - -
3f2b71c9 by David Runge at 2024-04-04T10:48:32+02:00
Disable broken tests

Deselect some tests failing on use of `abspath()`.
Needs further investigation (already broken with Python 3.11)

Signed-off-by: David Runge <[email protected]>

- - - - -
1952a71f by David Runge at 2024-04-04T10:49:26+02:00
Add all direct dependencies

Signed-off-by: David Runge <[email protected]>

- - - - -
ef74770b by David Runge at 2024-04-04T10:50:00+02:00
upgpkg: 4.1-3: Rebuild against Python 3.12

- - - - -


2 changed files:

- + .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -0,0 +1,20 @@
+pkgbase = python-sphinxcontrib-jquery
+       pkgdesc = Extension to include jQuery on newer Sphinx releases
+       pkgver = 4.1
+       pkgrel = 3
+       url = https://github.com/sphinx-contrib/jquery
+       arch = any
+       license = 0BSD
+       checkdepends = python-pytest
+       makedepends = python-build
+       makedepends = python-flit-core
+       makedepends = python-installer
+       depends = python
+       depends = python-sphinx
+       provides = python-sphinxcontrib.jquery
+       replaces = python-sphinxcontrib.jquery
+       source = 
https://files.pythonhosted.org/packages/source/s/sphinxcontrib-jquery/sphinxcontrib-jquery-4.1.tar.gz
+       sha256sums = 
1620739f04e36a2c779f1a131a2dfd49b2fd07351bf1968ced074365933abc7a
+       b2sums = 
3f0ba80c20c13a6543968b0c7234fd86ba238fa723191956e6b125ae709db8a048d585815e6ddb152b3808bcc857bb43c025ffa722a18f74ab265a667c9574b7
+
+pkgname = python-sphinxcontrib-jquery


=====================================
PKGBUILD
=====================================
@@ -3,12 +3,12 @@
 _name=sphinxcontrib-jquery
 pkgname=python-sphinxcontrib-jquery
 pkgver=4.1
-pkgrel=2
+pkgrel=3
 pkgdesc="Extension to include jQuery on newer Sphinx releases"
 arch=('any')
 url=https://github.com/sphinx-contrib/jquery
-license=('custom:0BSD')
-depends=('python-sphinx')
+license=('0BSD')
+depends=('python' 'python-sphinx')
 makedepends=('python-build' 'python-flit-core' 'python-installer')
 checkdepends=('python-pytest')
 provides=('python-sphinxcontrib.jquery')
@@ -23,10 +23,15 @@ build() {
 }
 
 check() {
+  local pytest_options=(
+    -vv
+    --deselect 
tests/test_jquery_installed.py::test_jquery_installed_sphinx_ge_60_use_sri
+    --deselect 
tests/test_jquery_installed.py::test_jquery_installed_sphinx_ge_60
+  )
   cd $_name-$pkgver
   python -m venv --system-site-packages test-env
   test-env/bin/python -m installer dist/*.whl
-  test-env/bin/python -m pytest
+  test-env/bin/python -m pytest "${pytest_options[@]}"
 }
 
 package() {



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-sphinxcontrib-jquery/-/compare/36e2b5b5eb74c6158889a9ae8524744237459a59...ef74770b81cb59cd35209dc327c6117b6ad60bcd

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-sphinxcontrib-jquery/-/compare/36e2b5b5eb74c6158889a9ae8524744237459a59...ef74770b81cb59cd35209dc327c6117b6ad60bcd
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to