blob: 8028e910f6e88b2b7a2be7ba71eec7a3d7481da8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py3-enchant
_pkgname=pyenchant
pkgver=2.0.0
pkgrel=2
pkgdesc="A spellchecking library for Python"
options="!check" # No testsuite
url="https://github.com/rfk/pyenchant"
arch="noarch"
license="LGPL-2.0-or-later"
depends="enchant2 python3"
makedepends="py3-setuptools"
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz
enchant-2.patch
"
builddir="$srcdir"/$_pkgname-$pkgver
replaces="py-enchant" # Backwards compatibility
provides="py-enchant=$pkgver-r$pkgrel" # Backwards compatibility
build() {
python3 setup.py --quiet build
}
package() {
python3 setup.py install --prefix=/usr --root="$pkgdir"
}
sha512sums="c985714bc8ad69b6580fa1dd546243da5f3f92e8681d846ed265b086c486ae7ed33754fba303b450be4c0cb20e975a9a10efbeb700ea5213a11ed00612a93af0 pyenchant-2.0.0.tar.gz
c6dc74e60c684b5606b681096d740814a5f138e9caf8ad2f41d9e467c820d46bab6b3d449a99dc17e4b1e1b89964d1fc4248c55a600c977ee6269cddb46ad596 enchant-2.patch"
|