mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-03 07:42:10 +01:00
33 lines
856 B
Plaintext
33 lines
856 B
Plaintext
# Maintainer: Patrycja Rosa <alpine@ptrcnull.me>
|
|
pkgname=xml2rfc
|
|
pkgver=3.18.2
|
|
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="
|
|
e7e0aaf4d1a98a1cb6429399840cabf3a8f38be413c72ee001fe48d14cb431610d1bdd09d32857ef7e5250a1b6786b5d0bb2e1564a8a58a7d7e75afe72b48368 xml2rfc-3.18.2.tar.gz
|
|
"
|