Date: Friday, March 10, 2023 @ 07:54:19
Author: polyzen
Revision: 1417203
archrelease: copy trunk to community-testing-any
Added:
python-sphinxcontrib-jquery/repos/community-testing-any/PKGBUILD
(from rev 1417202, python-sphinxcontrib-jquery/trunk/PKGBUILD)
Deleted:
python-sphinxcontrib-jquery/repos/community-testing-any/PKGBUILD
----------+
PKGBUILD | 74 +++++++++++++++++++++++++++++++------------------------------
1 file changed, 38 insertions(+), 36 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2023-03-10 07:53:55 UTC (rev 1417202)
+++ PKGBUILD 2023-03-10 07:54:19 UTC (rev 1417203)
@@ -1,36 +0,0 @@
-# Contributor: Astro Benzene <universebenzene at sina dot com>
-
-_name=jquery
-pkgname=python-sphinxcontrib-jquery
-pkgver=3.0.0
-pkgrel=2
-pkgdesc="Extension to include jQuery on newer Sphinx releases"
-arch=('any')
-url=https://github.com/sphinx-contrib/jquery
-license=('custom:0BSD')
-depends=('python-sphinx')
-makedepends=('python-build' 'python-flit-core' 'python-installer')
-checkdepends=('python-pytest')
-provides=("python-$_name")
-replaces=("python-$_name")
-source=("$url/archive/v$pkgver/$_name-$pkgver.tar.gz")
-b2sums=('5b160fa1434b111683824442a0ecb0da230dba7f29161495859845282e1b6471faa256be6fffc2d34c6fc97e4e188bb1247284613bf65bf322fcb77463b6cf83')
-
-build() {
- cd $_name-$pkgver
- python -m build --wheel --skip-dependency-check --no-isolation
-}
-
-check() {
- 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
-}
-
-package() {
- cd $_name-$pkgver
- 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
-}
Copied: python-sphinxcontrib-jquery/repos/community-testing-any/PKGBUILD (from
rev 1417202, python-sphinxcontrib-jquery/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2023-03-10 07:54:19 UTC (rev 1417203)
@@ -0,0 +1,38 @@
+# Contributor: Astro Benzene <universebenzene at sina dot com>
+
+_name=jquery
+pkgname=python-sphinxcontrib-jquery
+pkgver=4.0.0
+pkgrel=1
+pkgdesc="Extension to include jQuery on newer Sphinx releases"
+arch=('any')
+url=https://github.com/sphinx-contrib/jquery
+license=('custom:0BSD')
+depends=('python-sphinx')
+makedepends=('python-build' 'python-flit-core' 'python-installer')
+checkdepends=('python-pytest')
+provides=("python-$_name")
+replaces=("python-$_name")
+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-3.0.0
+ python -m build --wheel --skip-dependency-check --no-isolation
+}
+
+check() {
+ 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
+}
+
+package() {
+ 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
+}