From be9b5eb82fcd753b6174639e7b154d04742b6144 Mon Sep 17 00:00:00 2001 From: xhaa123 Date: Mon, 29 Apr 2024 11:34:51 +0800 Subject: [PATCH] python-sphinxcontrib-devhelp 1.0.6-1 --- PKGBUILD | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 PKGBUILD diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 0000000..9e4e20a --- /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-devhelp +pkgver=1.0.6 +pkgrel=1 +pkgdesc="Sphinx extension which outputs Devhelp document" +arch=('x86_64') +url="https://github.com/sphinx-doc/sphinxcontrib-devhelp" +license=('BSD-2-Clause') +depends=('python') +makedepends=('python-build' 'python-flit-core' 'python-installer') +source=(https://github.com/sphinx-doc/sphinxcontrib-devhelp/archive/${pkgver}/${pkgname#*-}-${pkgver}.tar.gz) +sha256sums=(01c3a703ebd10b2c152a53a0e22fc956538dda425a4aa4ac6760369fc33cb0b6) + +build() { + cd ${pkgname#*-}-${pkgver} + + python3 -m build --wheel --skip-dependency-check --no-isolation +} + +package() { + cd ${pkgname#*-}-${pkgver} + + python3 -m installer --destdir=${pkgdir} dist/*.whl +}