mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-23 19:25:25 +03:00
36 lines
1 KiB
Text
36 lines
1 KiB
Text
# Contributor: Michał Polański <michal@polanski.me>
|
|
# Maintainer: Michał Polański <michal@polanski.me>
|
|
pkgname=py3-miniflux
|
|
pkgver=0.0.15
|
|
pkgrel=1
|
|
pkgdesc="Python client for Miniflux API"
|
|
url="https://miniflux.app/"
|
|
license="MIT"
|
|
arch="noarch"
|
|
depends="python3 py3-requests"
|
|
makedepends="py3-gpep517 py3-setuptools py3-wheel"
|
|
checkdepends="py3-pytest"
|
|
source="https://github.com/miniflux/python-client/archive/$pkgver/py3-miniflux-$pkgver.tar.gz
|
|
no-universal.patch
|
|
"
|
|
builddir="$srcdir/python-client-$pkgver"
|
|
|
|
build() {
|
|
gpep517 build-wheel \
|
|
--wheel-dir dist \
|
|
--output-fd 3 3>&1 >&2
|
|
}
|
|
|
|
check() {
|
|
pytest
|
|
}
|
|
|
|
package() {
|
|
python3 -m installer -d "$pkgdir" \
|
|
dist/miniflux-$pkgver-py3-none-any.whl
|
|
}
|
|
|
|
sha512sums="
|
|
37ff4fa8469467aeaa4911d4a06d9c0d9a480f0244d96122055235088d56f60779f105984ae215f22015a6a98869850b94b7268ed75f6cb43c1d11f11ef074f7 py3-miniflux-0.0.15.tar.gz
|
|
c2cae31d53dcdf942d8fbda2128ecb5c5938f5522b82c3af31f5ab8ed05889c66a6e006bdf77c01aacd799e079e87e57432961e3df472f4084de42d611b26f92 no-universal.patch
|
|
"
|