mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-24 11:45:18 +03:00
Otherwise, python3 is not pulled in as a dependency with options=!check and as such the package fails to build on architectures where checks are disabled globally (i.e. the riscv64 builder).
29 lines
810 B
Text
29 lines
810 B
Text
# Contributor: Aiden Grossman <agrossman154@yahoo.com>
|
|
# Maintainer: Aiden Grossman <agrossman154@yahoo.com>
|
|
pkgname=py3-ipython_genutils
|
|
pkgver=0.2.0
|
|
pkgrel=0
|
|
pkgdesc="Vestigial IPython Utilities"
|
|
url="https://github.com/ipython/ipython_genutils"
|
|
arch="noarch"
|
|
license="BSD-3-Clause"
|
|
depends="python3"
|
|
checkdepends="py3-nose"
|
|
source="$pkgname-$pkgver.tar.gz::https://github.com/ipython/ipython_genutils/archive/refs/tags/0.2.0.tar.gz"
|
|
builddir="$srcdir/ipython_genutils-$pkgver"
|
|
|
|
build() {
|
|
python3 setup.py build
|
|
}
|
|
|
|
check() {
|
|
nosetests ipython_genutils
|
|
}
|
|
|
|
package() {
|
|
python3 setup.py install --prefix=/usr --root="$pkgdir"
|
|
}
|
|
|
|
sha512sums="
|
|
b238fce8ba437328b9cd78871cd8a8ab562c513d33db95be74296233114a39eb8a3b3c64fbfb149bc3d42d3eb7762defc03befb9862d6aefbaad389d2838f854 py3-ipython_genutils-0.2.0.tar.gz
|
|
"
|