mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
add aur/python-matplotx
Needed dep for aur/stressberry
This commit is contained in:
parent
dab84fbe35
commit
e249cc0e11
1 changed files with 25 additions and 0 deletions
25
aur/python-matplotx/PKGBUILD
Normal file
25
aur/python-matplotx/PKGBUILD
Normal file
|
@ -0,0 +1,25 @@
|
|||
# Maintainer: graysky <graysky AT archlinux DOT us>
|
||||
# Contributer: Carlos Aznarán <caznaranl@uni.pe>
|
||||
|
||||
pkgname=python-matplotx
|
||||
pkgdesc="Extensions for Matplotlib"
|
||||
pkgver=0.2.3
|
||||
pkgrel=1
|
||||
arch=(any)
|
||||
license=(MIT)
|
||||
depends=(python-networkx)
|
||||
makedepends=(python-setuptools)
|
||||
source=("${pkgname/python-}-$pkgver.tar.gz::https://github.com/nschloe/matplotx/archive/v${pkgver}.tar.gz")
|
||||
sha512sums=('e4d43fea74ca1a9e27d477c641f2b7310d6acafdff7f57c9a5feeff4f8a6b78e9d1a537f1f9c0650b99347ed5bc4bad4d952c3b62f6f8d89bb0e597f16c572ed')
|
||||
|
||||
build() {
|
||||
cd "${pkgname/python-}-${pkgver}"
|
||||
python -c "from setuptools import setup; setup();" build
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "${pkgname/python-}-${pkgver}"
|
||||
export PYTHONHASHSEED=0
|
||||
PYTHONPYCACHEPREFIX="${PWD}/.cache/cpython/" python -c "from setuptools import setup; setup();" install --prefix=/usr --root="${pkgdir}" --optimize=1 --skip-build
|
||||
install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
|
||||
}
|
Loading…
Reference in a new issue