1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-21 10:15:12 +03:00
aports/community/py3-ipython_genutils/APKBUILD
psykose deb62258ec */*: set --skip-build for python installs
this marginally increases install speed by not checking if it needs a rebuild.
also remove --prefix=/usr as it defaults to /usr already.

might break a build or two, will fix later
2023-01-10 04:19:31 +01:00

31 lines
873 B
Text

# Contributor: Kevin Daudt <kdaudt@alpinelinux.org>
# Maintainer: Kevin Daudt <kdaudt@alpinelinux.org>
pkgname=py3-ipython_genutils
pkgver=0.2.0
pkgrel=7
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/$pkgver.tar.gz"
builddir="$srcdir/${pkgname#py3-}-$pkgver"
replaces="py-ipython_genutils"
provides="py-ipython_genutils=$pkgver-r$pkgrel"
build() {
python3 setup.py build
}
check() {
nosetests ipython_genutils
}
package() {
python3 setup.py install --skip-build --root="$pkgdir"
}
sha512sums="
b238fce8ba437328b9cd78871cd8a8ab562c513d33db95be74296233114a39eb8a3b3c64fbfb149bc3d42d3eb7762defc03befb9862d6aefbaad389d2838f854 py3-ipython_genutils-0.2.0.tar.gz
"