blob: 815f8bdb33386009e4f55c41ae3997c70b2255b7 (
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
32
33
34
35
36
37
38
|
# Maintainer: Anton Karmanov <a.karmanov@inventati.org>
pkgname='python-aksharamukha'
_proj_name="${pkgname#python-}"
pkgver='2.2.2'
pkgrel=2
pkgdesc='Indic scripts converter'
arch=(any)
url='https://aksharamukha.appspot.com/python'
license=('AGPL-3.0-only')
depends=(
'python-fonttools'
'python-langcodes'
'python-language-data'
'python-pykakasi'
'python-regex'
'python-requests'
'python-yaml'
'python>=3.8')
optdepends=(
'python-khmer-nltk: processing Khmer script'
'python-lxml: transliterate_file submodule'
'python-beautifulsoup4: transliterate_file submodule')
makedepends=('python-build' 'python-installer' 'python-wheel')
source=("https://files.pythonhosted.org/packages/source/${_proj_name::1}/$_proj_name/$_proj_name-$pkgver.tar.gz")
sha256sums=('9464f1c0f18da23e9112b93d12bee35a569cd729a4699fe1775722d40747bc28')
_tardir="aksharamukha-${pkgver}"
build() {
cd "${srcdir}/${_tardir}"
ls
python -m build --wheel --no-isolation
}
package() {
cd "${srcdir}/${_tardir}"
python -m installer --destdir="$pkgdir" dist/*.whl
}
|