summaryrefslogtreecommitdiff
path: root/python-wxmplot/PKGBUILD
blob: 499506364869956667d332753f01c6e3a7344b74 (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
32
33
# Maintainer: Erich Eckner <arch at eckner dot net>
pkgname=python-wxmplot
_pkgname="${pkgname#*-}"
pkgver=0.9.40
pkgrel=2
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.8'
  'python<3.9'
  'python-matplotlib>=2.0'
  'python-numpy>=1.12'
  'python-six>=1.10'
  'python-wxpython>=4.0.3'
)
makedepends=(
  'python-setuptools')
source=(
    "https://pypi.python.org/packages/70/22/21da36326256fc1ce97deafad3b5d8b466d9a73eab7b78cbab542ecb7574/${_pkgname}-${pkgver}.tar.gz"
)
sha512sums=('4edfa801014d6ad7b419e39c97d52ec77c8992b2fc069b2bd81b4fe9c055197bbdf676b273b224e82527a731c89154198ab8e2170df397d14690059b7ea615bf')

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

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