1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-24 19:55:26 +03:00
aports/community/py3-simanneal/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
847 B
Text

# Contributor: Iztok Fister, Jr. <iztok@iztok-jr-fister.eu>
# Maintainer: Iztok Fister, Jr. <iztok@iztok-jr-fister.eu>
pkgname=py3-simanneal
_pkgorig=simanneal
pkgver=0.5.0
pkgrel=0
pkgdesc="Python module for Simulated Annealing optimization algorithm"
url="https://github.com/perrygeo/simanneal"
arch="noarch"
license="ISC"
depends="python3"
makedepends="py3-setuptools"
checkdepends="py3-pytest py3-pytest-cov"
source="https://github.com/perrygeo/simanneal/archive/$pkgver/$_pkgorig-$pkgver.tar.gz"
builddir="$srcdir/simanneal-$pkgver"
build() {
python3 setup.py build
}
check() {
python3 -m pytest
}
package() {
python3 setup.py install --skip-build --root="$pkgdir"
}
sha512sums="
da7892ca55974a15f0751202b9d44c1834fca8f24c442644b441c0765103e778331cf71d9369f6dc756e5eba633f59e9ca0fa5ff462096d46d53b5acbcf0fe16 simanneal-0.5.0.tar.gz
"