* update python-pyenchant to 3.2.2-5
This commit is contained in:
parent
6dd0c47709
commit
3f24da4b63
@ -1,15 +1,26 @@
|
||||
pkgbase = python-pyenchant
|
||||
pkgdesc = PyEnchant is a spellchecking library for Python3 based on the Enchant library
|
||||
pkgdesc = Python bindings for the Enchant spellchecker
|
||||
pkgver = 3.2.2
|
||||
pkgrel = 4
|
||||
url = https://pypi.python.org/pypi/pyenchant
|
||||
pkgrel = 5
|
||||
url = https://pyenchant.github.io/pyenchant/
|
||||
arch = any
|
||||
license = LGPL
|
||||
license = LGPL-2.1-or-later
|
||||
checkdepends = hunspell
|
||||
checkdepends = hunspell-en_us
|
||||
checkdepends = python-pytest
|
||||
makedepends = git
|
||||
makedepends = python-build
|
||||
makedepends = python-installer
|
||||
makedepends = python-setuptools
|
||||
makedepends = enchant
|
||||
depends = python
|
||||
makedepends = python-sphinx_rtd_theme
|
||||
makedepends = python-wheel
|
||||
depends = enchant
|
||||
source = python-pyenchant-3.2.2.tar.gz::https://github.com/rfk/pyenchant/archive/v3.2.2.tar.gz
|
||||
sha512sums = 42ab2e0cc38af4223ec0233c9e22cd151aa9bda5b56b7bd642e39e3a323ab3c034391123af5d3a5399551533ba1c1746abd6bc9ee2ab4c7879b9bf0ac91e056d
|
||||
depends = python
|
||||
source = git+https://github.com/pyenchant/pyenchant.git#tag=v3.2.2
|
||||
b2sums = 2e60d31bd6a409d1d90609383dcad00873809b300de15e052d6c39904770b53ce5f83d6d31546bc144530bbe1293f244b9cbb3aa57fb3e0a36669aacc3997178
|
||||
|
||||
pkgname = python-pyenchant
|
||||
|
||||
pkgname = python-pyenchant-docs
|
||||
pkgdesc = Developer documentation for python-pyenchant
|
||||
depends =
|
||||
|
@ -1,5 +1,5 @@
|
||||
[python-pyenchant]
|
||||
source = "git"
|
||||
git = "https://github.com/rfk/pyenchant.git"
|
||||
git = "https://github.com/pyenchant/pyenchant.git"
|
||||
prefix = "v"
|
||||
exclude_regex = ".*(rc|beta).*"
|
||||
exclude_regex = ".*(rc|a)[0-9]+"
|
||||
|
@ -1,30 +1,63 @@
|
||||
# POWER Maintainer: Alexander Baldeck <alex.bldck@gmail.com>
|
||||
# Maintainer: Balló György <ballogyor+arch at gmail dot com>
|
||||
# Contributor: Pierre Buard <pierre.buard@gmail.com>
|
||||
# Contributor: Allan McRae <allan@archlinux.org>
|
||||
# Contributor: Sebastien Piccand <sebcactus gmail com>
|
||||
# Contributor: Daniel J Griffiths <ghost1227@archlinux.us>
|
||||
# Maintainer: Jelle van der Waa <jelle@archlinux.org>
|
||||
# Contributor: Jelle van der Waa <jelle@archlinux.org>
|
||||
|
||||
pkgname=python-pyenchant
|
||||
pkgbase=python-pyenchant
|
||||
pkgname=(
|
||||
python-pyenchant
|
||||
python-pyenchant-docs
|
||||
)
|
||||
pkgver=3.2.2
|
||||
pkgrel=4
|
||||
pkgrel=5
|
||||
pkgdesc='Python bindings for the Enchant spellchecker'
|
||||
arch=(any)
|
||||
url="https://pypi.python.org/pypi/pyenchant"
|
||||
license=('LGPL')
|
||||
pkgdesc='PyEnchant is a spellchecking library for Python3 based on the Enchant library'
|
||||
depends=('python' 'enchant')
|
||||
makedepends=('python-setuptools' 'enchant')
|
||||
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/rfk/pyenchant/archive/v${pkgver}.tar.gz")
|
||||
sha512sums=('42ab2e0cc38af4223ec0233c9e22cd151aa9bda5b56b7bd642e39e3a323ab3c034391123af5d3a5399551533ba1c1746abd6bc9ee2ab4c7879b9bf0ac91e056d')
|
||||
url='https://pyenchant.github.io/pyenchant/'
|
||||
license=(LGPL-2.1-or-later)
|
||||
depends=(
|
||||
enchant
|
||||
python
|
||||
)
|
||||
makedepends=(
|
||||
git
|
||||
python-build
|
||||
python-installer
|
||||
python-setuptools
|
||||
python-sphinx_rtd_theme
|
||||
python-wheel
|
||||
)
|
||||
checkdepends=(
|
||||
hunspell
|
||||
hunspell-en_us
|
||||
python-pytest
|
||||
)
|
||||
source=("git+https://github.com/pyenchant/pyenchant.git#tag=v$pkgver")
|
||||
b2sums=(2e60d31bd6a409d1d90609383dcad00873809b300de15e052d6c39904770b53ce5f83d6d31546bc144530bbe1293f244b9cbb3aa57fb3e0a36669aacc3997178)
|
||||
|
||||
build() {
|
||||
cd pyenchant-${pkgver}
|
||||
|
||||
python3 setup.py build
|
||||
cd pyenchant
|
||||
python -m build --wheel --no-isolation
|
||||
}
|
||||
|
||||
package() {
|
||||
cd pyenchant-${pkgver}
|
||||
|
||||
python3 setup.py install --root="${pkgdir}" --optimize=1
|
||||
check() {
|
||||
cd pyenchant
|
||||
PYTHONPATH="$PWD/build/lib" \
|
||||
pytest --ignore=tests/test_pwl.py
|
||||
}
|
||||
|
||||
package_python-pyenchant() {
|
||||
cd pyenchant
|
||||
python -m installer --destdir="$pkgdir" dist/*.whl
|
||||
}
|
||||
|
||||
package_python-pyenchant-docs() {
|
||||
pkgdesc='Developer documentation for python-pyenchant'
|
||||
depends=()
|
||||
|
||||
cd pyenchant
|
||||
python -m sphinx -b html -c website website/content "$pkgdir/usr/share/doc/$pkgbase/html"
|
||||
rm -r "$pkgdir/usr/share/doc/$pkgbase/html/.doctrees"
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user