blob: 19f72e0d07317d1d6d238cf208b322393c128ec7 (
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
|
# Maintainer: Caleb Maclennan <caleb@alerque.com>
pkgname=python-usfm2osis
_pypiname="${pkgname#python-}"
pkgver=0.6.1
pkgrel=5
pkgdesc='Tools for converting Bibles from USFM to OSIS XML'
arch=(any)
url="https://github.com/chrislit/$_pypiname"
license=(GPL-3.0-only)
depends=(python)
makedepends=(python-{build,installer,wheel}
python-setuptools)
options=(!emptydirs)
_archive="$_pypiname-$pkgver"
source=("https://files.pythonhosted.org/packages/source/${_pypiname::1}/$_pypiname/$_archive.tar.gz")
sha256sums=('bdd1d9d14e0b70d617aa88b4753d49d81c091e810a647df166e129a28b0b5deb')
build() {
cd "$_archive"
python -m build -wn
}
package() {
cd "$_archive"
python -m installer -d "$pkgdir" dist/*.whl
}
|