mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-12 18:26:39 +02:00
39 lines
1.2 KiB
Text
39 lines
1.2 KiB
Text
# Contributor: Galen Abell <galen@galenabell.com>
|
|
# Maintainer: Galen Abell <galen@galenabell.com>
|
|
pkgname=py3-cdio
|
|
_pyname=pycdio
|
|
pkgver=2.1.1
|
|
pkgrel=6
|
|
pkgdesc="python interface to libcdio"
|
|
url="https://www.gnu.org/software/libcdio"
|
|
arch="all"
|
|
license="GPL-3.0-only"
|
|
depends="python3"
|
|
makedepends="python3-dev py3-setuptools libcdio-dev swig py3-nose py3-gpep517"
|
|
subpackages="$pkgname-pyc"
|
|
source="https://files.pythonhosted.org/packages/source/${_pyname%${_pyname#?}}/$_pyname/$_pyname-$pkgver.tar.gz
|
|
assertEquals.patch
|
|
"
|
|
builddir="$srcdir/$_pyname-$pkgver"
|
|
|
|
build() {
|
|
gpep517 build-wheel \
|
|
--wheel-dir .dist \
|
|
--output-fd 3 3>&1 >&2
|
|
}
|
|
|
|
check() {
|
|
python3 -m venv --clear --without-pip --system-site-packages .testenv
|
|
gpep517 install-wheel --destdir .testenv --prefix '' .dist/*.whl
|
|
.testenv/bin/python3 -m nose
|
|
}
|
|
|
|
package() {
|
|
gpep517 install-wheel --destdir "$pkgdir" \
|
|
.dist/*.whl
|
|
}
|
|
|
|
sha512sums="
|
|
4c756b1c2f39332add86e01af129ccb608178306be42c9719c163b6bad0ba4de3916ac477c6866450890e094b14a2689a24e7d19bcf13846330555c2bb1feaa7 pycdio-2.1.1.tar.gz
|
|
8e64bbe0df39f42fa026423b113e3d26067d7c8a2169fafbb3e0d8fff1933cfb073ece116b243a39ed6b900ee0dcab5c44b257d9c464ce485f562c33c58beb14 assertEquals.patch
|
|
"
|