aboutsummaryrefslogtreecommitdiffstats
path: root/testing/xml2rfc/APKBUILD
blob: 6b041214e58e01efe277b132daff4fff60a151c2 (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.2.1
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="5a1a4df3df98fce90c58ab7c1ec19b610b78b1735bd79be2c28b7c29efc3c1679bc8d7c6a710dbf73e81711db3e3168946942d9663b097a15bc106191fd9bca3  xml2rfc-3.2.1.tar.gz"