1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-23 03:05:48 +03:00
aports/community/py3-pyutilib/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

28 lines
895 B
Text

# Contributor: André Klitzing <aklitzing@gmail.com>
# Maintainer: André Klitzing <aklitzing@gmail.com>
pkgname=py3-pyutilib
_pkgname=PyUtilib
pkgver=5.7.2
pkgrel=3
pkgdesc="A collection of Python utilities"
url="https://pypi.org/project/PyUtilib/"
arch="noarch"
license="BSD-3-Clause"
depends="py3-nose py3-six"
makedepends="py3-setuptools"
source="https://files.pythonhosted.org/packages/source/p/pyutilib/$_pkgname-$pkgver.tar.gz"
options="!check" # no upstream tests
builddir="$srcdir/$_pkgname-$pkgver"
replaces=py-pyutilib # Backwards compatibility
provides=py-pyutilib=$pkgver-r$pkgrel # Backwards compatibility
build() {
python3 setup.py build
}
package() {
python3 setup.py install --skip-build --root="$pkgdir"
}
sha512sums="2de68e4bd7bf84e0a0217ee192277967cdcc01207a97ca0c70ec970349afd4790e83b949a21f77d7b68b5999bd6f2235f705730e70f9b96e1d761c57b09dfdb6 PyUtilib-5.7.2.tar.gz"