36 lines
1.1 KiB
Text
36 lines
1.1 KiB
Text
# Contributor: Antoine Martin (ayakael) <dev@ayakael.net>
|
|
# Maintainer: Antoine Martin (ayakael) <dev@ayakael.net>
|
|
pkgname=py3-pyrdfa3
|
|
#_pkgreal is used by apkbuild-pypi to find modules at PyPI
|
|
_pkgreal=pyRdfa3
|
|
pkgver=3.5.3
|
|
pkgrel=0
|
|
pkgdesc="pyRdfa Libray"
|
|
url="https://pypi.python.org/project/pyrdfa3"
|
|
license="W3C-20150513"
|
|
arch="noarch"
|
|
depends="py3-rdflib py3-html5lib py3-isodate"
|
|
checkdepends="python3-dev"
|
|
makedepends="py3-setuptools py3-gpep517 py3-wheel"
|
|
source="
|
|
$pkgname-$pkgver.tar.gz::https://pypi.io/packages/source/p/pyRdfa3/pyRdfa3-$pkgver.tar.gz
|
|
fix-build.patch
|
|
"
|
|
builddir="$srcdir/$_pkgreal-$pkgver"
|
|
subpackages="$pkgname-pyc"
|
|
|
|
build() {
|
|
gpep517 build-wheel \
|
|
--wheel-dir .dist \
|
|
--output-fd 3 3>&1 >&2
|
|
}
|
|
|
|
package() {
|
|
python3 -m installer -d "$pkgdir" \
|
|
.dist/*.whl
|
|
}
|
|
|
|
sha512sums="
|
|
98e931a1af7edcfe80f35f3a6b50b0afa8782a3bdbbee6bb609f7e474099273871c9927fcdb3a9c59c8feff5756ddd6bfac3a900bc536f22ce247c7900769b01 py3-pyrdfa3-3.5.3.tar.gz
|
|
62d5c95c69840884e8bf0b8c0d0c30226f96b5196285317b84a1277d4fcdb79ada4a2f7c7ce3b4bcaf8dbeeb0438b580ae08b2798d70d3f46d76e135890d7a0f fix-build.patch
|
|
"
|