summaryrefslogtreecommitdiff
path: root/python-wxmplot/PKGBUILD
blob: a36d163ee19ad04c9f99ea698b40ada585367710 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Maintainer: Erich Eckner <arch at eckner dot net>
pkgname=python-wxmplot
_pkgname="${pkgname#*-}"
pkgver=0.9.45
pkgrel=30
pkgdesc='A library for plotting in wxPython using matplotlib'
arch=('any')
url='https://pypi.python.org/pypi/wxmplot/0.9.18'
license=('OSI Approved :: MIT License')
depends=(
  'python<3.10'
  'python>=3.9'
  'python-matplotlib>=3.0'
  'python-numpy>=1.12'
  'python-wxpython>=4.0.3')
makedepends=(
  'python-setuptools')
source=(
    "https://pypi.python.org/packages/06/28/d12fdc072c5b09548851d664db3bcad8cf23618d3732f69e7636e3f42cee/${_pkgname}-${pkgver}.tar.gz"
)
sha512sums=('8b20a8693c2d83dd08772814e06994ea0ccc9393d8f0e436b87967fd336e574f628488dfd05cdd1455cdc4a3be579c46679ec02618a7fff29402f6bfd05b5daf')

build() {
  cd "${_pkgname}-${pkgver}"
  python setup.py build
}

package() {
  cd "${_pkgname}-${pkgver}"
  python setup.py install --skip-build --root="${pkgdir}" --prefix=/usr
}