python-sphinxcontrib-devhelp 2.0.0-1

This commit is contained in:
xhaa123 2024-11-04 15:13:56 +08:00
parent be9b5eb82f
commit 43344d39ae

View File

@ -5,7 +5,7 @@
# Maintainer: Future Linux Team <future_linux@163.com>
pkgname=python-sphinxcontrib-devhelp
pkgver=1.0.6
pkgver=2.0.0
pkgrel=1
pkgdesc="Sphinx extension which outputs Devhelp document"
arch=('x86_64')
@ -14,16 +14,16 @@ 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)
sha256sums=(e650ce2bde1204477df2f428757e14aa85735bd6a40517645eba55730262b8e8)
build() {
cd ${pkgname#*-}-${pkgver}
cd ${pkgname#*-}-${pkgver}
python3 -m build --wheel --skip-dependency-check --no-isolation
python3 -m build --wheel --skip-dependency-check --no-isolation
}
package() {
cd ${pkgname#*-}-${pkgver}
cd ${pkgname#*-}-${pkgver}
python3 -m installer --destdir=${pkgdir} dist/*.whl
python3 -m installer --destdir=${pkgdir} dist/*.whl
}