mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-12 18:26:39 +02:00
32 lines
1,020 B
Text
32 lines
1,020 B
Text
# Contributor: Haelwenn (lanodan) Monnier <contact+alpine@hacktivis.me>
|
|
# Maintainer: Haelwenn (lanodan) Monnier <contact+alpine@hacktivis.me>
|
|
pkgname=py3-pygelbooru
|
|
_pkgreal=pygelbooru
|
|
pkgver=0.5.0
|
|
pkgrel=4
|
|
pkgdesc="unofficial and lightweight asynchronous library for Gelbooru compatible API"
|
|
url="https://github.com/MakotoAme/pygelbooru"
|
|
arch="noarch"
|
|
license="GPL-3"
|
|
depends="python3 py3-aiohttp py3-furl py3-xmltodict"
|
|
makedepends="py3-setuptools py3-gpep517"
|
|
checkdepends="py3-pytest"
|
|
subpackages="$pkgname-pyc"
|
|
source="https://files.pythonhosted.org/packages/source/${_pkgreal:0:1}/$_pkgreal/$_pkgreal-$pkgver.tar.gz"
|
|
builddir="$srcdir/$_pkgreal-$pkgver"
|
|
options="!check" # no tests ran
|
|
|
|
build() {
|
|
gpep517 build-wheel \
|
|
--wheel-dir .dist \
|
|
--output-fd 3 3>&1 >&2
|
|
}
|
|
|
|
package() {
|
|
gpep517 install-wheel --destdir "$pkgdir" \
|
|
.dist/*.whl
|
|
}
|
|
|
|
sha512sums="
|
|
4301aa8c07bac9d70adbe13a8283869c48944cbaadeb5f28b6649d0d349861a09f21b057d26815e1a826f085ac8d54d135be466d543856ed00fc47d38734e204 pygelbooru-0.5.0.tar.gz
|
|
"
|