mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-06 13:57:14 +02:00
testing/py3-fpdf: build with gpep517, disable check
This commit is contained in:
parent
9d568a9104
commit
9ddeaf4810
@ -6,21 +6,23 @@ pkgdesc="Simple PDF generation for Python"
|
|||||||
url="https://pyfpdf.readthedocs.io/en/latest/"
|
url="https://pyfpdf.readthedocs.io/en/latest/"
|
||||||
arch="noarch"
|
arch="noarch"
|
||||||
license="LGPL-3.0-or-later"
|
license="LGPL-3.0-or-later"
|
||||||
depends="python3"
|
makedepends="py3-setuptools py3-gpep517"
|
||||||
makedepends="py3-setuptools"
|
|
||||||
subpackages="$pkgname-pyc"
|
subpackages="$pkgname-pyc"
|
||||||
source="https://files.pythonhosted.org/packages/source/f/fpdf/fpdf-$pkgver.tar.gz"
|
source="https://files.pythonhosted.org/packages/source/f/fpdf/fpdf-$pkgver.tar.gz"
|
||||||
builddir="$srcdir/fpdf-$pkgver"
|
builddir="$srcdir/fpdf-$pkgver"
|
||||||
|
options="!check" # no tests provided
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
python3 setup.py build
|
gpep517 build-wheel \
|
||||||
}
|
--wheel-dir .dist \
|
||||||
|
--output-fd 3 3>&1 >&2
|
||||||
check() {
|
|
||||||
python3 setup.py check
|
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
python3 setup.py install --skip-build --root="$pkgdir"
|
gpep517 install-wheel --destdir "$pkgdir" \
|
||||||
|
.dist/*.whl
|
||||||
}
|
}
|
||||||
sha512sums="3a4b4f363f36f821b5626b656b0ad199379aca171c7dd2a019e94f3bc39570b5624111d9fb3f8e0a7662e8f31184158e67263a475101378e84c200ebbbbcdd63 fpdf-1.7.2.tar.gz"
|
|
||||||
|
sha512sums="
|
||||||
|
3a4b4f363f36f821b5626b656b0ad199379aca171c7dd2a019e94f3bc39570b5624111d9fb3f8e0a7662e8f31184158e67263a475101378e84c200ebbbbcdd63 fpdf-1.7.2.tar.gz
|
||||||
|
"
|
||||||
|
Loading…
Reference in New Issue
Block a user