mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-24 03:35:38 +03:00
34 lines
1 KiB
Text
34 lines
1 KiB
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.0
|
|
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() {
|
|
# do not test annoying test
|
|
python3 -m pytest -k 'not test_version'
|
|
}
|
|
|
|
package() {
|
|
python3 -m installer -d "$pkgdir" \
|
|
dist/thumbnails_readme-$pkgver-py3-none-any.whl
|
|
}
|
|
|
|
sha512sums="
|
|
88fc2eeec64e7f6cc377dbc103b1b2fd6a0f9090e326b859de004b860ccd386a8f3b0f17c49159321fb9ee51c1f2bc756f8f4a1dd646b3e9a39777942dafe813 thumbnails-readme-0.3.0.tar.gz
|
|
"
|