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

37 lines
1,021 B
Text

# Contributor: Isaac Dunham <ibid.ag@gmail.com>
# Maintainer:
pkgname=py3-cycler
_pkgname=cycler
pkgver=0.11.0
pkgrel=1
pkgdesc="Composable style cycles in Python"
url="https://matplotlib.org/cycler/"
arch="noarch"
license="BSD-3-Clause"
depends="python3"
makedepends="py3-setuptools"
checkdepends="py3-pytest"
source="https://files.pythonhosted.org/packages/source/C/Cycler/$_pkgname-$pkgver.tar.gz
cycler_version.patch
"
builddir="$srcdir/$_pkgname-$pkgver"
replaces="py-cycler" # Backwards compatibility
provides="py-cycler=$pkgver-r$pkgrel" # Backwards compatibility
build() {
python3 setup.py build
}
check() {
pytest
}
package() {
python3 setup.py install --skip-build --root="$pkgdir"
}
sha512sums="
ceb7e27f2a5c7984645709824a308714c4a08ba3c7540e4fcda10cffbdfb23d0c1adda8a5216c285b8fcc3491712239254d06713af91145244cb5fa78248cf89 cycler-0.11.0.tar.gz
7b6a88ecccbda3487ce56665f1f0bc2e780f1d276f76dfac1cfd1d37fed37182474099efa36359a5f2759b189dc20aec68854bced2756e6e756fe921a9e07669 cycler_version.patch
"