* add python-sphinxcontrib-spelling

This commit is contained in:
Alexander Baldeck 2024-06-26 10:24:38 +02:00
parent 4305ea9a3f
commit 24a828b56e
2 changed files with 47 additions and 0 deletions

View File

@ -0,0 +1,18 @@
pkgbase = python-sphinxcontrib-spelling
pkgdesc = Spelling checker for Sphinx
pkgver = 8.0.0
pkgrel = 3
url = https://sphinxcontrib-spelling.readthedocs.io/
arch = any
license = BSD
makedepends = python-build
makedepends = python-installer
makedepends = python-wheel
makedepends = python-setuptools
makedepends = python-setuptools-scm
depends = python-sphinx
depends = python-pyenchant
source = https://files.pythonhosted.org/packages/source/s/sphinxcontrib-spelling/sphinxcontrib-spelling-8.0.0.tar.gz
sha256sums = 199d0a16902ad80c387c2966dc9eb10f565b1fb15ccce17210402db7c2443e5c
pkgname = python-sphinxcontrib-spelling

View File

@ -0,0 +1,29 @@
# POWER Maintainer: Alexander Baldeck <alex.bldck@gmail.com>
# Maintainer: Evangelos Foutras <evangelos@foutrelis.com>
_name=sphinxcontrib-spelling
pkgname=python-$_name
pkgver=8.0.0
pkgrel=3
pkgdesc="Spelling checker for Sphinx"
arch=('any')
url="https://sphinxcontrib-spelling.readthedocs.io/"
license=('BSD')
depends=('python-sphinx' 'python-pyenchant')
makedepends=('python-build' 'python-installer' 'python-wheel'
'python-setuptools' 'python-setuptools-scm')
source=(https://files.pythonhosted.org/packages/source/s/$_name/$_name-$pkgver.tar.gz)
sha256sums=('199d0a16902ad80c387c2966dc9eb10f565b1fb15ccce17210402db7c2443e5c')
build() {
cd $_name-$pkgver
python -m build --wheel --no-isolation
}
package() {
cd $_name-$pkgver
python -m installer --destdir="$pkgdir" dist/*.whl
install -Dm644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE
}
# vim:set ts=2 sw=2 et: