mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-23 03:05:48 +03:00
33 lines
977 B
Text
33 lines
977 B
Text
# Contributor: Iztok Fister, Jr. <iztok@iztok-jr-fister.eu>
|
|
# Maintainer: Iztok Fister, Jr. <iztok@iztok-jr-fister.eu>
|
|
pkgname=py3-thumbnails-readme
|
|
pkgver=0.3.1
|
|
pkgrel=0
|
|
pkgdesc="Create thumbnails from Git folders"
|
|
url="https://github.com/firefly-cpp/thumbnails-readme"
|
|
arch="noarch"
|
|
license="BSD-3-Clause"
|
|
depends="python3 py3-cairosvg py3-pdf2image py3-pillow"
|
|
makedepends="py3-gpep517 py3-poetry-core"
|
|
checkdepends="py3-pytest"
|
|
source="https://github.com/firefly-cpp/thumbnails-readme/archive/$pkgver/thumbnails-readme-$pkgver.tar.gz"
|
|
builddir="$srcdir/thumbnails-readme-$pkgver"
|
|
|
|
build() {
|
|
gpep517 build-wheel \
|
|
--wheel-dir dist \
|
|
--output-fd 3 3>&1 >&2
|
|
}
|
|
|
|
check() {
|
|
python3 -m pytest
|
|
}
|
|
|
|
package() {
|
|
python3 -m installer -d "$pkgdir" \
|
|
dist/thumbnails_readme-$pkgver-py3-none-any.whl
|
|
}
|
|
|
|
sha512sums="
|
|
0ebf0e85b8635f49efb09dc24176a0f647069ede6bc3c274536f5f3b70e4de4bf74df971b6bf4ff96b8747a4c503d5d39566a32dbf5b68f54888eacf9bcb95cf thumbnails-readme-0.3.1.tar.gz
|
|
"
|