From 401bb78997b456b0781b0db630920a52cdd9c644 Mon Sep 17 00:00:00 2001 From: xhaa123 Date: Mon, 29 Apr 2024 11:38:21 +0800 Subject: [PATCH] python-sphinxcontrib-serializinghtml 1.1.10-1 --- PKGBUILD | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 PKGBUILD diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 0000000..829db61 --- /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-serializinghtml +pkgver=1.1.10 +pkgrel=1 +pkgdesc="Sphinx extension which outputs "serialized" HTML files (json and pickle)" +arch=('x86_64') +url="https://github.com/sphinx-doc/sphinxcontrib-serializinghtml" +license=('BSD-2-Clause') +depends=('python') +makedepends=('python-build' 'python-flit-core' 'python-installer') +source=(https://github.com/sphinx-doc/sphinxcontrib-serializinghtml/archive/${pkgver}/${pkgname#*-}-${pkgver}.tar.gz) +sha256sums=(eaeed2c549834245b7bb950cb940ddee84e80926cda8eafd17ec4a91d283462d) + +build() { + cd ${pkgname#*-}-${pkgver} + + python3 -m build --wheel --skip-dependency-check --no-isolation +} + +package() { + cd ${pkgname#*-}-${pkgver} + + python3 -m installer --destdir=${pkgdir} dist/*.whl +}