summaryrefslogtreecommitdiff
path: root/python-wxmplot/PKGBUILD
blob: 672e4e516e5e97f3728255f20fe74f4d6d06257e (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
# Maintainer: Erich Eckner <arch at eckner dot net>
pkgname=python-wxmplot
_pkgname="${pkgname#*-}"
pkgver=0.9.43
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')
makedepends=(
  'python-setuptools')
depends=(

  'python>=3.9'
  'python<3.10')
source=(
    "https://pypi.python.org/packages/03/b0/4c9f32a3b249f3e55b0548999fdff787ce93ee9516a34e0ea8cb6fcb5bae/${_pkgname}-${pkgver}.tar.gz"
)
sha512sums=('03d483f29a44d00006c62fcb311e5ac8a120dd491c0673e1f1f3ffa0f61cc841203e6ab877ba349f3bb4ad3f4a274b21acf53182774fb4cf852e982eb3a09c61')

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

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