From 031711bc90a921e5458f3b1d3500bb7a5e85b978 Mon Sep 17 00:00:00 2001 From: xhaa123 Date: Sat, 2 Nov 2024 22:39:18 +0800 Subject: [PATCH] python-sphinxcontrib-jquery 4.1-1 --- PKGBUILD | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 PKGBUILD diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 0000000..b334d03 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,29 @@ +# This is an example PKGBUILD file. Use this as a start to creating your own, +# and remove these comments. For more information, see 'man PKGBUILD'. +# NOTE: Please fill out the license field for your package! If it is unknown, +# then please put 'unknown'. + +# Maintainer: Future Linux Team +pkgname=python-sphinxcontrib-jquery +pkgver=4.1 +pkgrel=1 +pkgdesc="Extension to include jQuery on newer Sphinx releases" +arch=('x86_64') +url="https://github.com/sphinx-contrib/jquery" +license=('0BSD') +depends=('python' 'python-sphinx') +makedepends=('python-build' 'python-flit-core' 'python-installer') +source=(https://files.pythonhosted.org/packages/source/s/${pkgname#*-}/${pkgname#*-}-${pkgver}.tar.gz) +sha256sums=(1620739f04e36a2c779f1a131a2dfd49b2fd07351bf1968ced074365933abc7a) + +build() { + cd ${pkgname#*-}-${pkgver} + + python3 -m build --wheel --skip-dependency-check --no-isolation +} + +package() { + cd ${pkgname#*-}-${pkgver} + + python3 -m installer --destdir=${pkgdir} dist/*.whl +}