summaryrefslogtreecommitdiff
path: root/python2-wxmplot/PKGBUILD
blob: 0d40140c14747b187974c68f257157658b21a14b (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
34
35
36
37
38
39
40
41
42
# Maintainer: Erich Eckner <arch at eckner dot net>
pkgname=python2-wxmplot
pkgver=0.9.18
pkgrel=1
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')
groups=()
depends=(
  'python2'
  'wxpython'
  'python2-matplotlib'
)
makedepends=(
  'python2-setuptools'
)
checkdepends=()
optdepends=()
provides=()
conflicts=()
replaces=()
backup=()
options=()
source=(
    "${pkgname}-${pkgver}.tar.gz::https://pypi.python.org/packages/66/0a/ced8cb55f294ee4ac22ace0b4534f4110a2d088557beb28fc3693166b9d6/${pkgname#*-}-${pkgver}.tar.gz"
)
sha512sums=('bcbcf3e5434e069ef70e3f8db565c0f7a5e006cd35d016a89b81216fc7e92c9ee6a4b8ae5c80f013ab95f9bc4e93d8620899a901447aa27c01eb5453d4b6659c')

build() {

    cd ${pkgname#*-}-${pkgver}
    python2 setup.py build

}

package() {

    cd ${pkgname#*-}-${pkgver}
    python2 setup.py install --skip-build --root="${pkgdir}" --prefix=/usr

}