summaryrefslogtreecommitdiff
path: root/python2-wxmplot/PKGBUILD
blob: e1fb40881556c864c0400f6353598c8babb02770 (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
43
# Maintainer: Erich Eckner <arch at eckner dot net>
pkgname=python2-wxmplot
pkgver=0.9.31
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>=2.7'
  'python2<2.8'
  'wxpython'
  'python2-matplotlib'
)
makedepends=(
  'python2-setuptools'
)
checkdepends=()
optdepends=()
provides=()
conflicts=()
replaces=()
backup=()
options=()
source=(
    "${pkgname}-${pkgver}.tar.gz::https://pypi.python.org/packages/47/a8/677f54c0ada4724525f4a15b5a2f2a1b4493e72d2c36401e8b4e39afe935/${pkgname#*-}-${pkgver}.tar.gz"
)
sha512sums=('b768faee92b07afd305527603d52dc5a834aeeca8118a8ebf3f34c1ee05aa55ea344974ae991422206fac06c691385baaaf8a8fbea5b9239a8ed10f9c835382c')

build() {

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

}

package() {

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

}