aboutsummaryrefslogtreecommitdiffstats
path: root/testing/xml2rfc/APKBUILD
blob: c45a955c5509c3ceece2fd5c0851c779171768e6 (plain) (blame)
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
# Contributor:
# Maintainer:
pkgname=xml2rfc
pkgver=3.3.0
pkgrel=0
pkgdesc="tool for converting XML documents into internet drafts and RFCs"
options="!check" # Requires unpackaged i18naddress
url="https://tools.ietf.org/"
arch="noarch"
license="BSD-2-Clause"
depends="python3 py3-setuptools py3-six py3-requests py3-lxml"
source="https://files.pythonhosted.org/packages/source/x/xml2rfc/xml2rfc-$pkgver.tar.gz"

build() {
	python3 setup.py build
}

check() {
	python3 test.py
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="16d88ff3c15b98dc7c8747aead7f29baa6653a5eebf9b499700058b2971eb563a51964361bba5a63e1f891cc62fef076d612f71df04f6036f67d2e110bd509a1  xml2rfc-3.3.0.tar.gz"