mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-18 05:06:53 +02:00
32 lines
856 B
Text
32 lines
856 B
Text
# Maintainer: Patrycja Rosa <alpine@ptrcnull.me>
|
|
pkgname=xml2rfc
|
|
pkgver=3.28.0
|
|
pkgrel=0
|
|
pkgdesc="tool for converting XML documents into internet drafts and RFCs"
|
|
options="!check" # Requires unpackaged i18naddress
|
|
url="https://github.com/ietf-tools/xml2rfc"
|
|
arch="noarch"
|
|
license="BSD-2-Clause"
|
|
depends="python3 py3-six py3-requests py3-lxml"
|
|
makedepends="py3-gpep517 py3-setuptools py3-wheel"
|
|
subpackages="$pkgname-pyc"
|
|
source="https://files.pythonhosted.org/packages/source/x/xml2rfc/xml2rfc-$pkgver.tar.gz"
|
|
|
|
build() {
|
|
gpep517 build-wheel \
|
|
--wheel-dir .dist \
|
|
--output-fd 3 3>&1 >&2
|
|
}
|
|
|
|
check() {
|
|
python3 test.py
|
|
}
|
|
|
|
package() {
|
|
python3 -m installer -d "$pkgdir" \
|
|
.dist/*.whl
|
|
}
|
|
|
|
sha512sums="
|
|
f56af84b525d20223efa6968f3b39f58553f689c145738f8fcaf699c32ba7dfd5c3225eb43a4b37a58f849a50e5a0a6465ca5341fda1ec0b8c13fdc23e7a02c8 xml2rfc-3.28.0.tar.gz
|
|
"
|