blob: ecdd9665df9279c1eef23242aed53f6c16f97645 (
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
|
# Contributor: Iztok Fister, Jr. <iztok@iztok-jr-fister.eu>
# Maintainer: Iztok Fister, Jr. <iztok@iztok-jr-fister.eu>
pkgname=rnc2rng
pkgver=2.6.6
pkgrel=1
pkgdesc="RELAX NG Compact to regular syntax conversion library"
url="https://github.com/djc/rnc2rng"
arch="noarch"
license="MIT"
depends="python3 py3-rply"
makedepends="py3-setuptools"
source="$pkgname-$pkgver.tar.gz::https://files.pythonhosted.org/packages/source/r/rnc2rng/rnc2rng-$pkgver.tar.gz"
build() {
python3 setup.py build
}
check() {
python3 test.py
}
package() {
python3 setup.py install --skip-build --root="$pkgdir"
}
sha512sums="
a0f108383ad927c2d9e1cc11960ddaab99a8cb4bf0417cd8e7ccdbc7925746b2fa8c1cbd96a74e89f7166eb8e330c224a49d97aa2ef5d83d7a0c4254240fb308 rnc2rng-2.6.6.tar.gz
"
|