python-sphinxcontrib-serializinghtml 1.1.10-1

This commit is contained in:
xhaa123 2024-04-29 11:38:21 +08:00
commit 401bb78997

29
PKGBUILD Normal file
View File

@ -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 <future_linux@163.com>
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
}