mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-24 03:35:38 +03:00
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
34 lines
888 B
Text
34 lines
888 B
Text
# Contributor: Iztok Fister, Jr. <iztok@iztok-jr-fister.eu>
|
|
# Maintainer: Iztok Fister, Jr. <iztok@iztok-jr-fister.eu>
|
|
pkgname=py3-ternary
|
|
_pkgorig=python-ternary
|
|
pkgver=1.0.8
|
|
pkgrel=0
|
|
pkgdesc="Make ternary plots in python with matplotlib"
|
|
url="https://github.com/marcharper/python-ternary"
|
|
arch="noarch"
|
|
license="MIT"
|
|
depends="
|
|
python3
|
|
py3-matplotlib
|
|
"
|
|
makedepends="py3-setuptools"
|
|
checkdepends="py3-pytest"
|
|
source="$pkgname-$pkgver.tar.gz::https://files.pythonhosted.org/packages/source/p/python-ternary/python-ternary-$pkgver.tar.gz"
|
|
builddir="$srcdir/$_pkgorig-$pkgver"
|
|
|
|
build() {
|
|
python3 setup.py build
|
|
}
|
|
|
|
check() {
|
|
python3 -m pytest
|
|
}
|
|
|
|
package() {
|
|
python3 setup.py install --skip-build --root="$pkgdir"
|
|
}
|
|
|
|
sha512sums="
|
|
11f2376ac41c264ef1441a0a6536131f02ea295abbeadcda6f33d784beff31ac3a3f1b3fbba9082e1d25e0f07c4de05fa68caeb60b6a11781af3c02cd86d78b0 py3-ternary-1.0.8.tar.gz
|
|
"
|