From 7a5279e733fa11661eb0aaad16bac24c8cdb0959 Mon Sep 17 00:00:00 2001 From: xhaa123 Date: Mon, 29 Apr 2024 11:42:04 +0800 Subject: [PATCH] python-sphinx 7.3.7-1 --- PKGBUILD | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 PKGBUILD diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 0000000..bf42800 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,39 @@ +# 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-sphinx +pkgver=7.3.7 +pkgrel=1 +pkgdesc="Python documentation generator" +arch=('x86_64') +url="http://www.sphinx-doc.org/" +license=('BSD') +depends=('python-alabaster' + 'python-babel' + 'python-docutils' + 'python-imagesize' + 'python-jinja2' + 'python-packaging' + 'python-pygments' + 'python-requests' + 'python-snowballstemmer' + 'python-sphinxcontrib-'{{apple,dev,html}help,jsmath,qthelp,serializinghtml}) +makedepends=('python-build' 'python-flit-core' 'python-installer') +source=(https://github.com/sphinx-doc/sphinx/archive/v${pkgver}/${pkgname#*-}-${pkgver}.tar.gz) +sha256sums=(43c4cdb796b41dc1645117efbc74655d41ccea49fe34170a2b5bb88eee6f83a5) + +build() { + cd ${pkgname#*-}-${pkgver} + + python3 -m build --wheel --skip-dependency-check --no-isolation + +} + +package() { + cd ${pkgname#*-}-${pkgver} + + python3 -m installer --destdir=${pkgdir} dist/*.whl +}