mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-12 17:16:44 +02:00
this is only a partial rebuild, including stuff that i built on my personal machine with python 3.12.2; might fail with 3.12.3
29 lines
773 B
Text
29 lines
773 B
Text
# Contributor: Erwan Rouchet <lucidiot@brainshit.fr>
|
|
# Maintainer: Erwan Rouchet <lucidiot@brainshit.fr>
|
|
pkgname=epr
|
|
pkgver=2.4.15
|
|
pkgrel=1
|
|
pkgdesc="CLI epub reader"
|
|
url="https://github.com/wustho/epr"
|
|
arch="noarch"
|
|
license="MIT"
|
|
depends="python3"
|
|
makedepends="py3-gpep517 py3-installer py3-poetry-core"
|
|
subpackages="$pkgname-pyc"
|
|
source="$pkgname-$pkgver.tar.gz::https://github.com/wustho/epr/archive/refs/tags/v$pkgver.tar.gz"
|
|
options="!check" # no tests
|
|
|
|
build() {
|
|
gpep517 build-wheel \
|
|
--wheel-dir .dist \
|
|
--output-fd 3 3>&1 >&2
|
|
}
|
|
|
|
package() {
|
|
python3 -m installer -d "$pkgdir" \
|
|
.dist/epr*.whl
|
|
}
|
|
|
|
sha512sums="
|
|
c1642191889ef3aebcc3b516281387a28edb39f6898bde68f9717b9eccf4c72bf567714a65b56d67f126139b04c8fc1921f0e69bf35effb85d8a3d7e1fd71fdf epr-2.4.15.tar.gz
|
|
"
|